Function highs_sys::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.