Skip to content

Support for manual pivots #692

@chrhansk

Description

@chrhansk

As @jajhall noticed I am currently experimenting with solving NPLs using an SLP method.

Due to the choice of linear objective, I often see that optimal bases are not unique. However, while the bases are equivalent for HiGHS, this is not true for my code. Specifically, I would rather include linear constraints in the (row) basis than variable bounds. In a more general sense, I would like to perform some post-processing of the basis myself. Of course I do not want to implement a simplex-like algorithm in order to perform these steps myself.

I noticed that the C API of HiGHS already has the functions Highs_getBasisSolve and Highs_getBasisTransposeSolve, which allow some more fine-grained access to the underlying basis matrix. Would it be possible for you to add a function to manually perform a pivot step while updating the factorization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions