Function highs_sys::Highs_changeColsBoundsByRange
source · pub unsafe extern "C" fn Highs_changeColsBoundsByRange(
highs: *mut c_void,
from_col: HighsInt,
to_col: HighsInt,
lower: *const f64,
upper: *const f64
) -> HighsInt
Expand description
Change the variable bounds of multiple adjacent columns.
@param highs A pointer to the Highs instance. @param from_col The index of the first column whose bound changes. @param to_col The index of the last column whose bound changes. @param lower An array of length [to_col - from_col + 1] with the new lower bounds. @param upper An array of length [to_col - from_col + 1] with the new upper bounds.
@returns A kHighsStatus
constant indicating whether the call succeeded.