Function highs_sys::Highs_changeColCost
source · pub unsafe extern "C" fn Highs_changeColCost(
highs: *mut c_void,
col: HighsInt,
cost: f64
) -> HighsInt
Expand description
Change the objective coefficient of a column.
@param highs A pointer to the Highs instance. @param col The index of the column fo change. @param cost The new objective coefficient.
@returns A kHighsStatus
constant indicating whether the call succeeded.