Function highs_sys::Highs_setBasis
source · pub unsafe extern "C" fn Highs_setBasis(
highs: *mut c_void,
col_status: *const HighsInt,
row_status: *const HighsInt
) -> HighsInt
Expand description
Set a basic feasible solution by passing the column and row basis statuses to the model.
@param highs A pointer to the Highs instance.
@param col_status an array of length [num_col] with the column basis status
in the form of kHighsBasisStatus
constants
@param row_status an array of length [num_row] with the row basis status
in the form of kHighsBasisStatus
constants
@returns A kHighsStatus
constant indicating whether the call succeeded.