Skip to content

Commit cc645b6

Browse files
committed
Changed use of equilibration ibn simplex scaling to geomean
1 parent 36ed92a commit cc645b6

File tree

4 files changed

+122
-130
lines changed

4 files changed

+122
-130
lines changed

highs/lp_data/HConst.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ enum SimplexScaleStrategy {
5454
kSimplexScaleStrategyCost = kSimplexScaleStrategyMin, // -1
5555
kSimplexScaleStrategyOff, // 0
5656
kSimplexScaleStrategyChoose, // 1
57-
kSimplexScaleStrategyEquilibration, // 2
58-
kSimplexScaleStrategyForcedEquilibration, // 3
57+
kSimplexScaleStrategyGeomean, // 2
58+
kSimplexScaleStrategyForcedGeomean, // 3
5959
kSimplexScaleStrategyMaxValue, // 4
6060
kSimplexScaleStrategyMaxValueMatrixAndCost, // 5
6161
kSimplexScaleStrategyMax = kSimplexScaleStrategyMaxValueMatrixAndCost

highs/lp_data/HighsOptions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,11 +851,11 @@ class HighsOptions : public HighsOptionsStruct {
851851

852852
record_int = new OptionRecordInt(
853853
"simplex_scale_strategy",
854-
"Simplex scaling strategy: off / choose / equilibration (default) / "
854+
"Simplex scaling strategy: off / choose / geometric mean (default) / "
855855
"forced "
856-
"equilibration / max value (0/1/2/3/4)",
856+
"geometric mean / max value / max value with cost scaling(0/1/2/3/4/5)",
857857
advanced, &simplex_scale_strategy, kSimplexScaleStrategyMin,
858-
kSimplexScaleStrategyEquilibration, kSimplexScaleStrategyMax);
858+
kSimplexScaleStrategyGeomean, kSimplexScaleStrategyMax);
859859
records.push_back(record_int);
860860

861861
record_int = new OptionRecordInt(

0 commit comments

Comments
 (0)