Highs_scaleCol

Function Highs_scaleCol 

Source
pub unsafe extern "C" fn Highs_scaleCol(
    highs: *mut c_void,
    col: HighsInt,
    scaleval: f64,
) -> HighsInt
Expand description

Scale a column by a constant.

Scaling a column modifies the elements in the constraint matrix, the variable bounds, and the objective coefficient.

@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. If scaleval < 0, the variable bounds flipped.

@returns A kHighsStatus constant indicating whether the call succeeded.