Function highs_sys::Highs_scaleCol
source · [−]pub unsafe extern "C" fn Highs_scaleCol(
highs: *mut c_void,
col: HighsInt,
scaleval: f64
) -> HighsIntExpand description
Scale a column by a constant.
Scaling a column modifies the elements in the constraint matrix, the variable bounds, and the objective coefficient.
If scaleval < 0, the variable bounds flipped.
@param highs a pointer to the Highs instance @param col the index of the column to scale @param scaleval the value by which to scale the column
@returns a kHighsStatus constant indicating whether the call succeeded