17 #ifndef OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_ 18 #define OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_ 41 void Scale(LinearProgram* lp, SparseMatrixScaler* scaler,
46 void Scale(LinearProgram* lp, SparseMatrixScaler* scaler);
92 return objective_scaling_factor_;
104 #endif // OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_
Fractional ScaleDualValue(RowIndex row, Fractional value) const
Fractional ObjectiveScalingFactor() const
Fractional UnscaleDualValue(RowIndex row, Fractional value) const
void Scale(LinearProgram *lp, SparseMatrixScaler *scaler)
void UnscaleColumnRightSolve(const RowToColMapping &basis, ColIndex col, ScatteredColumn *right_inverse) const
void ComputeSlackVariablesValues(const LinearProgram &linear_program, DenseRow *values)
Fractional VariableScalingFactor(ColIndex col) const
Fractional UnscaleVariableValue(ColIndex col, Fractional value) const
Fractional ScaleVariableValue(ColIndex col, Fractional value) const
void UnscaleUnitRowLeftSolve(ColIndex basis_col, ScatteredRow *left_inverse) const
Fractional UnscaleConstraintActivity(RowIndex row, Fractional value) const
Collection of objects used to extend the Constraint Solver library.
Fractional UnscaleReducedCost(ColIndex col, Fractional value) const
GlopParameters_ScalingAlgorithm ScalingAlgorithm
Fractional ScaleConstraintActivity(RowIndex row, Fractional value) const
Fractional ScaleReducedCost(ColIndex col, Fractional value) const
StrictITIVector< ColIndex, Fractional > DenseRow
Fractional BoundsScalingFactor() const
void Scale(LinearProgram *lp)