Function highs_sys::Highs_getBasis

source ·
pub unsafe extern "C" fn Highs_getBasis(
    highs: *const c_void,
    col_status: *mut HighsInt,
    row_status: *mut HighsInt
) -> HighsInt
Expand description

Given a linear program with a basic feasible solution, get the column and row basis statuses.

@param highs A pointer to the Highs instance. @param col_status An array of length [num_col], to be filled with the column basis statuses in the form of a kHighsBasisStatus constant. @param row_status An array of length [num_row], to be filled with the row basis statuses in the form of a kHighsBasisStatus constant.

@returns A kHighsStatus constant indicating whether the call succeeded.