Function highs_sys::Highs_getColsByMask
source · pub unsafe extern "C" fn Highs_getColsByMask(
highs: *const c_void,
mask: *const HighsInt,
num_col: *mut HighsInt,
costs: *mut f64,
lower: *mut f64,
upper: *mut f64,
num_nz: *mut HighsInt,
matrix_start: *mut HighsInt,
matrix_index: *mut HighsInt,
matrix_value: *mut f64
) -> HighsInt
Expand description
Get data associated with multiple columns given by a mask.
This function is identical to Highs_getColsByRange
, except for how the
columns are specified.
@param mask An array of length [num_col] containing a 1
to get the column
and 0
otherwise.
@returns A kHighsStatus
constant indicating whether the call succeeded.