pub unsafe extern "C" fn Highs_getBasicVariables(
    highs: *const c_void,
    basic_variables: *mut HighsInt
) -> HighsInt
Expand 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_getBasisInverseRow
  • Highs_getBasisInverseCol
  • Highs_getBasisSolve
  • Highs_getBasisTransposeSolve
  • Highs_getReducedRow
  • Highs_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