@@ -85,7 +85,6 @@ be used with other Pyomo tools / capabilities.
85
85
:skipif: not ipopt_available
86
86
:hide:
87
87
88
- ...
89
88
2 Var Declarations
90
89
...
91
90
3 Declarations: x y obj
@@ -117,7 +116,6 @@ future methods of specifying solver options are supported:
117
116
:skipif: not ipopt_available
118
117
:hide:
119
118
120
- ...
121
119
2 Var Declarations
122
120
...
123
121
3 Declarations: x y obj
@@ -154,7 +152,7 @@ Here we use the new interface by importing it directly:
154
152
:skipif: not ipopt_available
155
153
:hide:
156
154
157
- solution_loader : ...
155
+ termination_condition : ...
158
156
...
159
157
3 Declarations: x y obj
160
158
@@ -190,7 +188,7 @@ Here we use the new interface by retrieving it from the new ``SolverFactory``:
190
188
:skipif: not ipopt_available
191
189
:hide:
192
190
193
- solution_loader : ...
191
+ termination_condition : ...
194
192
...
195
193
3 Declarations: x y obj
196
194
@@ -227,7 +225,7 @@ replace the existing (legacy) SolverFactory and utilities with the new
227
225
:skipif: not ipopt_available
228
226
:hide:
229
227
230
- solution_loader : ...
228
+ termination_condition : ...
231
229
...
232
230
3 Declarations: x y obj
233
231
@@ -313,6 +311,37 @@ which can be manipulated similar to a standard ``dict`` in Python.
313
311
:members:
314
312
:undoc-members:
315
313
314
+ The new interface has condensed :py:class: `~pyomo.opt.results.solver.SolverStatus `,
315
+ :py:class: `~pyomo.opt.results.solver.TerminationCondition `,
316
+ and :py:class: `~pyomo.opt.results.solution.SolutionStatus ` into
317
+ :py:class: `~pyomo.contrib.solver.common.results.TerminationCondition `
318
+ and :py:class: `~pyomo.contrib.solver.common.results.SolutionStatus ` to
319
+ reduce complexity. As a result, several legacy
320
+ :py:class: `~pyomo.opt.results.solver.SolutionStatus ` values are
321
+ no longer achievable. These are detailed in the table below.
322
+
323
+ .. list-table :: Mapping from unachievable :py:class:`~pyomo.opt.results.solver.SolutionStatus`
324
+ to future statuses
325
+ :header-rows: 1
326
+
327
+ * - Legacy :py:class: `~pyomo.opt.results.solver.SolutionStatus `
328
+ - :py:class: `~pyomo.contrib.solver.common.results.TerminationCondition `
329
+ - :py:class: `~pyomo.contrib.solver.common.results.SolutionStatus `
330
+ * - other
331
+ - unknown
332
+ - noSolution
333
+ * - unsure
334
+ - unknown
335
+ - noSolution
336
+ * - locallyOptimal
337
+ - convergenceCriteriaSatisfied
338
+ - optimal
339
+ * - globallyOptimal
340
+ - convergenceCriteriaSatisfied
341
+ - optimal
342
+ * - bestSoFar
343
+ - convergenceCriteriaSatisfied
344
+ - feasible
316
345
317
346
Termination Conditions
318
347
^^^^^^^^^^^^^^^^^^^^^^
0 commit comments