17#ifndef OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_
18#define OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_
20#include "ortools/glop/parameters.pb.h"
41void Scale(LinearProgram* lp, SparseMatrixScaler* scaler,
42 GlopParameters::ScalingAlgorithm scaling_method);
46void Scale(LinearProgram* lp, SparseMatrixScaler* scaler);
86 return objective_scaling_factor_;
void Scale(LinearProgram *lp)
Fractional VariableScalingFactor(ColIndex col) const
Fractional UnscaleVariableValue(ColIndex col, Fractional value) const
Fractional UnscaleReducedCost(ColIndex col, Fractional value) const
void UnscaleUnitRowLeftSolve(ColIndex basis_col, ScatteredRow *left_inverse) const
void UnscaleColumnRightSolve(const RowToColMapping &basis, ColIndex col, ScatteredColumn *right_inverse) const
Fractional UnscaleDualValue(RowIndex row, Fractional value) const
Fractional UnscaleConstraintActivity(RowIndex row, Fractional value) const
Fractional BoundsScalingFactor() const
Fractional ObjectiveScalingFactor() const
StrictITIVector< ColIndex, Fractional > DenseRow
void ComputeSlackVariablesValues(const LinearProgram &linear_program, DenseRow *values)
void Scale(LinearProgram *lp, SparseMatrixScaler *scaler)
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...