 |
OR-Tools
8.0
|
Go to the documentation of this file.
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,
42 GlopParameters::ScalingAlgorithm scaling_method);
46 void Scale(LinearProgram* lp, SparseMatrixScaler* scaler);
85 return objective_scaling_factor_;
97 #endif // OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_
Fractional ObjectiveScalingFactor() const
StrictITIVector< ColIndex, Fractional > DenseRow
Fractional BoundsScalingFactor() const
void Scale(LinearProgram *lp, SparseMatrixScaler *scaler)
void UnscaleUnitRowLeftSolve(ColIndex basis_col, ScatteredRow *left_inverse) const
void Scale(LinearProgram *lp)
Fractional UnscaleConstraintActivity(RowIndex row, Fractional value) const
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
Fractional UnscaleDualValue(RowIndex row, Fractional value) const
void ComputeSlackVariablesValues(const LinearProgram &linear_program, DenseRow *values)
void UnscaleColumnRightSolve(const RowToColMapping &basis, ColIndex col, ScatteredColumn *right_inverse) const
Fractional UnscaleReducedCost(ColIndex col, Fractional value) const
Fractional UnscaleVariableValue(ColIndex col, Fractional value) const
Fractional VariableScalingFactor(ColIndex col) const