![]() |
OR-Tools
8.2
|
Definition at line 78 of file matrix_scaler.h.
Public Member Functions | |
SparseMatrixScaler () | |
void | Init (SparseMatrix *matrix) |
void | Clear () |
Fractional | ColScalingFactor (ColIndex col) const |
Fractional | RowScalingFactor (RowIndex row) const |
Fractional | ColUnscalingFactor (ColIndex col) const |
Fractional | RowUnscalingFactor (RowIndex row) const |
const DenseRow & | col_scale () const |
void | Scale (GlopParameters::ScalingAlgorithm method) |
Status | LPScale () |
void | Unscale () |
void | ScaleRowVector (bool up, DenseRow *row_vector) const |
void | ScaleColumnVector (bool up, DenseColumn *column_vector) const |
Fractional | VarianceOfAbsoluteValueOfNonZeros () const |
RowIndex | ScaleRowsGeometrically () |
ColIndex | ScaleColumnsGeometrically () |
RowIndex | EquilibrateRows () |
ColIndex | EquilibrateColumns () |
Definition at line 31 of file matrix_scaler.cc.
void Clear | ( | ) |
Definition at line 41 of file matrix_scaler.cc.
|
inline |
Definition at line 107 of file matrix_scaler.h.
Fractional ColScalingFactor | ( | ColIndex | col | ) | const |
Definition at line 61 of file matrix_scaler.cc.
Fractional ColUnscalingFactor | ( | ColIndex | col | ) | const |
Definition at line 52 of file matrix_scaler.cc.
ColIndex EquilibrateColumns | ( | ) |
Definition at line 290 of file matrix_scaler.cc.
RowIndex EquilibrateRows | ( | ) |
Definition at line 268 of file matrix_scaler.cc.
void Init | ( | SparseMatrix * | matrix | ) |
Definition at line 34 of file matrix_scaler.cc.
Status LPScale | ( | ) |
Definition at line 358 of file matrix_scaler.cc.
Fractional RowScalingFactor | ( | RowIndex | row | ) | const |
Definition at line 57 of file matrix_scaler.cc.
Fractional RowUnscalingFactor | ( | RowIndex | row | ) | const |
Definition at line 47 of file matrix_scaler.cc.
void Scale | ( | GlopParameters::ScalingAlgorithm | method | ) |
Definition at line 90 of file matrix_scaler.cc.
ColIndex ScaleColumnsGeometrically | ( | ) |
Definition at line 240 of file matrix_scaler.cc.
void ScaleColumnVector | ( | bool | up, |
DenseColumn * | column_vector | ||
) | const |
Definition at line 176 of file matrix_scaler.cc.
RowIndex ScaleRowsGeometrically | ( | ) |
Definition at line 212 of file matrix_scaler.cc.
void ScaleRowVector | ( | bool | up, |
DenseRow * | row_vector | ||
) | const |
Definition at line 171 of file matrix_scaler.cc.
void Unscale | ( | ) |
Definition at line 342 of file matrix_scaler.cc.
Fractional VarianceOfAbsoluteValueOfNonZeros | ( | ) | const |
Definition at line 182 of file matrix_scaler.cc.