Function Highs_postsolve

Source
pub unsafe extern "C" fn Highs_postsolve(
    highs: *mut c_void,
    col_value: *const f64,
    col_dual: *const f64,
    row_dual: *const f64,
) -> HighsInt
Expand description

Postsolve a model using a primal (and possibly dual) solution.

@param highs A pointer to the Highs instance. @param col_value An array of length [num_col] with the column solution values. @param col_dual An array of length [num_col] with the column dual values, or a null pointer if not known. @param row_dual An array of length [num_row] with the row dual values, or a null pointer if not known.

@returns A kHighsStatus constant indicating whether the call succeeded.