@@ -540,7 +540,7 @@ struct HighsOptionsStruct {
540540 ipm_optimality_tolerance(0.0 ),
541541 ipm_iteration_limit(0 ),
542542 hipo_system(" " ),
543- pdlp_features_off(0 ),
543+ pdlp_features_off(0 ),
544544 pdlp_iteration_limit(0 ),
545545 pdlp_scaling_mode(0 ),
546546 pdlp_ruiz_iterations(0 ),
@@ -711,8 +711,9 @@ class HighsOptions : public HighsOptionsStruct {
711711#ifdef HIPO
712712 " , \" hipo\" "
713713#endif
714- " or \" pdlp\" /\" cupdlp\" /\" hipdlp\" . If "
715- " \" simplex\" /\" ipm\" /\" pdlp\" /\" cupdlp\" /\" hipdlp\" is chosen then, for a MIP (QP) the "
714+ " or \" pdlp\" /\" cupdlp\" /\" hipdlp\" . If "
715+ " \" simplex\" /\" ipm\" /\" pdlp\" /\" cupdlp\" /\" hipdlp\" is chosen then, "
716+ " for a MIP (QP) the "
716717 " integrality "
717718 " constraint (quadratic term) will be ignored" ,
718719 advanced, &solver, kHighsChooseString );
@@ -1281,36 +1282,41 @@ class HighsOptions : public HighsOptionsStruct {
12811282 &pdlp_iteration_limit, 0 , kHighsIInf , kHighsIInf );
12821283 records.push_back (record_int);
12831284
1284- record_int = new OptionRecordInt (" pdlp_scaling_mode" ,
1285- " Scaling mode for PDLP solver (default = "
1286- " 5): 1 => Ruiz; 2 => L2; 4 => PC" ,
1287- advanced, &pdlp_scaling_mode,
1288- kPdlpScalingMin , kPdlpScalingRuiz +kPdlpScalingPC , kPdlpScalingMax );
1285+ record_int =
1286+ new OptionRecordInt (" pdlp_scaling_mode" ,
1287+ " Scaling mode for PDLP solver (default = "
1288+ " 5): 1 => Ruiz; 2 => L2; 4 => PC" ,
1289+ advanced, &pdlp_scaling_mode, kPdlpScalingMin ,
1290+ kPdlpScalingRuiz + kPdlpScalingPC , kPdlpScalingMax );
12891291 records.push_back (record_int);
12901292
1291- record_int = new OptionRecordInt (" pdlp_ruiz_iterations" ,
1292- " Number of Ruiz scaling iteraitons for PDLP solver" ,
1293- advanced, &pdlp_ruiz_iterations, 0 , 10 , kHighsIInf );
1293+ record_int =
1294+ new OptionRecordInt (" pdlp_ruiz_iterations" ,
1295+ " Number of Ruiz scaling iteraitons for PDLP solver" ,
1296+ advanced, &pdlp_ruiz_iterations, 0 , 10 , kHighsIInf );
12941297 records.push_back (record_int);
12951298
1296- record_int = new OptionRecordInt (" pdlp_restart_strategy" ,
1297- " Restart strategy for PDLP solver: 0 => off; "
1298- " 1 => fixed; 2 => adaptive" ,
1299- advanced, &pdlp_restart_strategy,
1300- kPdlpRestartStrategyMin , kPdlpRestartStrategyOff , kPdlpRestartStrategyMax );
1299+ record_int = new OptionRecordInt (
1300+ " pdlp_restart_strategy" ,
1301+ " Restart strategy for PDLP solver: 0 => off; "
1302+ " 1 => fixed; 2 => adaptive" ,
1303+ advanced, &pdlp_restart_strategy, kPdlpRestartStrategyMin ,
1304+ kPdlpRestartStrategyOff , kPdlpRestartStrategyMax );
13011305 records.push_back (record_int);
13021306
1303- record_int = new OptionRecordInt (" pdlp_cupdlpc_restart_method" ,
1304- " Restart mode for cuPDLP-C solver: 0 => none; "
1305- " 1 => GPU (default); 2 => CPU " ,
1306- advanced, &pdlp_cupdlpc_restart_method, 0 , 1 , 2 );
1307+ record_int =
1308+ new OptionRecordInt (" pdlp_cupdlpc_restart_method" ,
1309+ " Restart mode for cuPDLP-C solver: 0 => none; "
1310+ " 1 => GPU (default); 2 => CPU " ,
1311+ advanced, &pdlp_cupdlpc_restart_method, 0 , 1 , 2 );
13071312 records.push_back (record_int);
13081313
1309- record_int = new OptionRecordInt (" pdlp_step_size_strategy" ,
1310- " Step size strategy for PDLP solver: 0 => fixed; "
1311- " 1 => adaptive; 2 => Malitsky-Pock" ,
1312- advanced, &pdlp_step_size_strategy,
1313- kPdlpStepSizeStrategyMin , kPdlpStepSizeStrategyFixed , kPdlpRestartStrategyMax );
1314+ record_int = new OptionRecordInt (
1315+ " pdlp_step_size_strategy" ,
1316+ " Step size strategy for PDLP solver: 0 => fixed; "
1317+ " 1 => adaptive; 2 => Malitsky-Pock" ,
1318+ advanced, &pdlp_step_size_strategy, kPdlpStepSizeStrategyMin ,
1319+ kPdlpStepSizeStrategyFixed , kPdlpRestartStrategyMax );
13141320 records.push_back (record_int);
13151321
13161322 record_double = new OptionRecordDouble (
0 commit comments