Skip to content

Commit e338d29

Browse files
Switch off DR polishing
1 parent a9d673d commit e338d29

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Diff for: pyomo/contrib/pyros/pyros_algorithm_methods.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,12 @@ def ROSolver_iterative_solve(model_data):
190190
)
191191

192192
polishing_successful = True
193-
polish_master_solution = (
194-
config.decision_rule_order != 0
195-
and nominal_master_blk.first_stage.decision_rule_vars
196-
and k != 0
197-
)
193+
polish_master_solution = False
194+
# polish_master_solution = (
195+
# config.decision_rule_order != 0
196+
# and nominal_master_blk.first_stage.decision_rule_vars
197+
# and k != 0
198+
# )
198199
if polish_master_solution:
199200
_, polishing_successful = master_data.solve_dr_polishing()
200201

0 commit comments

Comments
 (0)