Skip to main content

Highs_addVar

Function Highs_addVar 

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

Add a new variable to the model.

@param highs A pointer to the Highs instance. @param lower The lower bound of the column. @param upper The upper bound of the column.

@returns A kHighsStatus constant indicating whether the call succeeded.