Function 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,
) -> HighsInt
Expand description

Get the primal and dual solution from an optimized model.

@param highs A pointer to the Highs instance. @param col_value An array of length [num_col], to be filled with primal column values. @param col_dual An array of length [num_col], to be filled with dual column values. @param row_value An array of length [num_row], to be filled with primal row values. @param row_dual An array of length [num_row], to be filled with dual row values.

@returns A kHighsStatus constant indicating whether the call succeeded.