Function highs_sys::Highs_setSolution
source · pub unsafe extern "C" fn Highs_setSolution(
highs: *mut c_void,
col_value: *const f64,
row_value: *const f64,
col_dual: *const f64,
row_dual: *const f64
) -> HighsInt
Expand description
Set a solution by passing the column and row primal and dual solution values.
For any values that are unavailable, pass NULL.
@param highs A pointer to the Highs instance. @param col_value An array of length [num_col] with the column solution values. @param row_value An array of length [num_row] with the row solution values. @param col_dual An array of length [num_col] with the column dual values. @param row_dual An array of length [num_row] with the row dual values.
@returns A kHighsStatus
constant indicating whether the call succeeded.