Function highs_sys::Highs_changeObjectiveSense
source · pub unsafe extern "C" fn Highs_changeObjectiveSense(
highs: *mut c_void,
sense: HighsInt
) -> HighsInt
Expand description
Change the objective sense of the model.
@param highs A pointer to the Highs instance.
@param sense The new optimization sense in the form of a kHighsObjSense
constant.
@returns A kHighsStatus
constant indicating whether the call succeeded.