You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mpisppy/opt/fwph.py
+9-6
Original file line number
Diff line number
Diff line change
@@ -107,8 +107,8 @@ def fw_prep(self):
107
107
self._MIP_nonants= {}
108
108
109
109
ifself.FW_options["FW_iter_limit"] ==1:
110
-
success=self._generate_starting_point()
111
-
ifnotsuccess:
110
+
number_points=self._generate_starting_point()
111
+
ifnumber_points==0:
112
112
global_toc(f"{self.__class__.__name__}: Warning: FWPH failed to find an initial feasible solution. Increasing FW_iter_limit to 2 to ensure convergence")
0 commit comments