Function highs_sys::Highs_crossover
source · pub unsafe extern "C" fn Highs_crossover(
highs: *mut c_void,
num_col: c_int,
num_row: c_int,
col_value: *const f64,
col_dual: *const f64,
row_dual: *const f64
) -> HighsInt
Expand description
Set a primal (and possibly dual) solution as a starting point, then run crossover to compute a basic feasible solution.
@param highs A pointer to the Highs instance.
@param num_col The number of variables.
@param num_row The number of rows.
@param col_value An array of length [num_col] with optimal primal solution
for each column.
@param col_dual An array of length [num_col] with optimal dual solution for
each column. May be NULL
, in which case no dual solution
is passed.
@param row_dual An array of length [num_row] with optimal dual solution for
each row. . May be NULL
, in which case no dual solution
is passed.
@returns A kHighsStatus
constant indicating whether the call succeeded.