File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -280,10 +280,9 @@ def SDM(self, model_name):
280
280
- scen_mip ._mpisppy_model .xbars [ndn_i ]._value ))
281
281
282
282
cutoff = pyo .value (qp ._mpisppy_model .mip_obj_in_qp ) + pyo .value (qp .recourse_cost )
283
- #if self.options["fwph_include_cutoff"]:
284
- if True :
285
- # TODO: add lookup table for absolute cutoff option
286
- self .options ["iterk_solver_options" ]["MIPABSCUTOFF" ] = cutoff
283
+ # TODO: add lookup table for absolute cutoff option
284
+ # if self.options.get("fwph_include_cutoff", False):
285
+ # self.options["iterk_solver_options"]["MIPABSCUTOFF"] = cutoff
287
286
# tbmipsolve = time.time()
288
287
# Algorithm 2 line 5
289
288
self .solve_one (
@@ -294,8 +293,9 @@ def SDM(self, model_name):
294
293
tee = teeme ,
295
294
verbose = verbose ,
296
295
)
296
+ # TODO: handle case when there's no solution under the cutoff gracefully
297
297
# TODO: fixme for maxmimization / larger objectives
298
- self .options ["iterk_solver_options" ]["MIPABSCUTOFF" ] = 1e40
298
+ # self.options["iterk_solver_options"]["MIPABSCUTOFF"] = 1e40
299
299
# tmipsolve = time.time() - tbmipsolve
300
300
301
301
# Algorithm 2 lines 6--8
You can’t perform that action at this time.
0 commit comments