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