Function highs_sys::Highs_getSolution
source · [−]pub unsafe extern "C" fn Highs_getSolution(
highs: *const c_void,
col_value: *mut f64,
col_dual: *mut f64,
row_value: *mut f64,
row_dual: *mut f64
) -> HighsIntExpand description
Get the primal and dual solution from an optimized model.
@param highs a pointer to the Highs instance @param col_value array of length [num_col], filled with primal column values @param col_dual array of length [num_col], filled with dual column values @param row_value array of length [num_row], filled with primal row values @param row_dual array of length [num_row], filled with dual row values
@returns a kHighsStatus constant indicating whether the call succeeded