Highs_clearModel

Function Highs_clearModel 

Source
pub unsafe extern "C" fn Highs_clearModel(
    highs: *mut c_void,
) -> HighsInt
Expand description

Remove all variables and constraints from the model highs, but do not invalidate the pointer highs. Future calls (for example, adding new variables and constraints) are allowed.

@param highs A pointer to the Highs instance.

@returns A kHighsStatus constant indicating whether the call succeeded.