Function highs_sys::Highs_changeColsCostBySet
source · pub unsafe extern "C" fn Highs_changeColsCostBySet(
highs: *mut c_void,
num_set_entries: HighsInt,
set: *const HighsInt,
cost: *const f64
) -> HighsInt
Expand description
Change the cost of multiple columns given by an array of indices.
@param highs A pointer to the Highs instance. @param num_set_entries The number of columns to change. @param set An array of size [num_set_entries] with the indices of the columns to change. @param cost An array of length [num_set_entries] with the new costs of the columns.
@returns A kHighsStatus
constant indicating whether the call succeeded.