Skip to content

Commit

Permalink
Removed kPdlpPrimalWeightUpdateOff from PdlpFeaturesOff
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Jan 28, 2025
1 parent 5132861 commit 90c38a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/lp_data/HConst.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,8 @@ enum PdlpFeaturesOff {
kPdlpScalingOff = 1,
kPdlpRestartOff = 2,
kPdlpAdaptiveStepSizeOff = 4,
kPdlpPrimalWeightUpdateOff = 8,
kPdlpAllFeaturesOff = kPdlpScalingOff + kPdlpRestartOff +
kPdlpAdaptiveStepSizeOff + kPdlpPrimalWeightUpdateOff
kPdlpAllFeaturesOff =
kPdlpScalingOff + kPdlpRestartOff + kPdlpAdaptiveStepSizeOff
};

#endif /* LP_DATA_HCONST_H_ */
2 changes: 1 addition & 1 deletion src/lp_data/HighsOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ class HighsOptions : public HighsOptionsStruct {
record_int = new OptionRecordInt(
"pdlp_features_off",
"Mask for switching PDLP features off: 1 => Scaling; 2 => Restart; 4 "
"=> AdaptiveStepSize; 8 => PrimalWeightUpdate",
"=> AdaptiveStepSize",
advanced, &pdlp_features_off, kPdlpAllFeaturesOn, kPdlpAllFeaturesOn,
kPdlpAllFeaturesOff);
records.push_back(record_int);
Expand Down

0 comments on commit 90c38a0

Please sign in to comment.