Function highs_sys::Highs_changeColsCostByMask
source · pub unsafe extern "C" fn Highs_changeColsCostByMask(
highs: *mut c_void,
mask: *const HighsInt,
cost: *const f64
) -> HighsInt
Expand description
Change the cost of multiple columns given by a mask.
@param highs A pointer to the Highs instance. @param mask An array of length [num_col] with 1 if the column cost should be changed and 0 otherwise. @param cost An array of length [num_col] with the new costs.
@returns A kHighsStatus
constant indicating whether the call succeeded.