Function highs_sys::Highs_getBasicVariables
source · [−]pub unsafe extern "C" fn Highs_getBasicVariables(
highs: *const c_void,
basic_variables: *mut HighsInt
) -> HighsIntExpand description
Get the indices of the rows and columns that make up the basis matrix of a basic feasible solution.
Non-negative entries are indices of columns, and negative entries are
-row_index - 1. For example, {1, -1} would be the second column and first
row.
The order of these rows and columns is important for calls to the functions:
Highs_getBasisInverseRowHighs_getBasisInverseColHighs_getBasisSolveHighs_getBasisTransposeSolveHighs_getReducedRowHighs_getReducedColumn
@param highs a pointer to the Highs instance @param basic_variables array of size [num_rows], filled with the indices of the basic variables
@returns a kHighsStatus constant indicating whether the call succeeded