Function highs_sys::Highs_addVars
source · pub unsafe extern "C" fn Highs_addVars(
highs: *mut c_void,
num_new_var: HighsInt,
lower: *const f64,
upper: *const f64
) -> HighsInt
Expand description
Add multiple variables to the model.
@param highs A pointer to the Highs instance. @param num_new_var The number of new variables to add. @param lower An array of size [num_new_var] with lower bounds. @param upper An array of size [num_new_var] with upper bounds.
@returns A kHighsStatus
constant indicating whether the call succeeded.