Skip to content

Commit 39f26e6

Browse files
authored
Merge branch 'Pyomo:main' into adding_eigen_values
2 parents 708a21d + 1f46931 commit 39f26e6

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

pyomo/core/expr/relational_expr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,13 +439,13 @@ def no(*args):
439439
elif getattr(a, 'is_component_type', no)() and a.is_indexed():
440440
msg = (
441441
f"Argument for {op_type} is an indexed numeric "
442-
"value specified without an index:\n\t{a.name}\nIs this "
442+
f"value specified without an index:\n\t{a.name}\nIs this "
443443
"value defined over an index that you did not specify?"
444444
)
445445
elif getattr(b, 'is_component_type', no)() and b.is_indexed():
446446
msg = (
447447
f"Argument for {op_type} is an indexed numeric "
448-
"value specified without an index:\n\t{b.name}\nIs this "
448+
f"value specified without an index:\n\t{b.name}\nIs this "
449449
"value defined over an index that you did not specify?"
450450
)
451451
else:

pyomo/neos/__init__.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,27 @@
1414

1515
# Static documentation for NEOS solvers
1616
doc = {
17-
'bonmin': 'Heuristic MINLP solver',
17+
'baron': 'Deterministic global MINLP solver',
18+
'bonmin': 'Deterministic local MINLP solver',
1819
'cbc': 'MILP solver',
1920
'conopt': 'Feasible path NLP solver',
2021
'couenne': 'Deterministic global MINLP solver',
2122
'cplex': 'MILP solver',
22-
'filmint': 'Heuristic MINLP solver',
23+
'filmint': 'Deterministic local MINLP solver',
2324
'filter': 'SQP NLP solver',
2425
'ipopt': 'Interior point NLP solver',
25-
'knitro': 'Convex MINLP solver',
26+
'knitro': 'Convex NLP/MINLP solver',
2627
'l-bfgs-b': 'Bound-constrained NLP solver',
2728
'lancelot': 'Augmented Lagrangian NLP solver',
29+
'lgo': 'Lipschitz-Continuous Global Optimizer',
2830
'loqo': 'Interior point NLP solver',
29-
'minlp': 'Heuristic MINLP solver',
30-
'minos': 'SLC NLP solver',
31+
'minlp': 'Deterministic local MINLP solver',
32+
'minos': 'NLP solver',
3133
'minto': 'MILP solver',
3234
'mosek': 'Interior point NLP solver',
33-
#'octeract': 'Deterministic global MINLP solver',
35+
'octeract': 'Deterministic global MINLP solver',
3436
'ooqp': 'Convex QP solver',
3537
'path': 'Nonlinear MCP solver',
36-
'snopt': 'SQP NLP solver',
3738
'raposa': 'A Global Solver for Polynomial Programming Problems',
38-
'lgo': 'Lipschitz-Continuous Global Optimizer',
39+
'snopt': 'SQP NLP solver',
3940
}

pyomo/neos/tests/test_neos.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def test_check_all_ampl_solvers(self):
108108

109109

110110
class RunAllNEOSSolvers(object):
111+
def test_baron(self):
112+
self._run('baron')
113+
111114
def test_bonmin(self):
112115
self._run('bonmin')
113116

@@ -160,9 +163,10 @@ def test_mosek(self):
160163
# [16 Jul 24]: Octeract is erroring. We will disable the interface
161164
# (and testing) until we have time to resolve #3321
162165
# [20 Sep 24]: and appears to have been removed from NEOS
163-
#
164-
# def test_octeract(self):
165-
# self._run('octeract')
166+
# [24 Apr 25]: it appears to be there but causes timeouts
167+
def test_octeract(self):
168+
pass
169+
# self._run('octeract')
166170

167171
def test_ooqp(self):
168172
if self.sense == pyo.maximize:
@@ -174,8 +178,7 @@ def test_ooqp(self):
174178
self._run('ooqp')
175179

176180
def test_path(self):
177-
# The simple tests aren't complementarity
178-
# problems
181+
# The simple tests aren't complementarity problems
179182
self.skipTest("The simple NEOS test is not a complementarity problem")
180183

181184
def test_snopt(self):

0 commit comments

Comments
 (0)