Skip to content

Commit

Permalink
Merge pull request #3322 from jsiirola/disable-octeract
Browse files Browse the repository at this point in the history
Disable interface/testing for NEOS/octeract
  • Loading branch information
jsiirola committed Jul 16, 2024
2 parents 9fd504a + e7a3711 commit 3c36377
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyomo/neos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'minos': 'SLC NLP solver',
'minto': 'MILP solver',
'mosek': 'Interior point NLP solver',
'octeract': 'Deterministic global MINLP solver',
#'octeract': 'Deterministic global MINLP solver',
'ooqp': 'Convex QP solver',
'path': 'Nonlinear MCP solver',
'snopt': 'SQP NLP solver',
Expand Down
10 changes: 8 additions & 2 deletions pyomo/neos/tests/test_neos.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def test_doc(self):
doc = pyomo.neos.doc
dockeys = set(doc.keys())

# Octeract interface is disabled, see #3321
amplsolvers.remove('octeract')

self.assertEqual(amplsolvers, dockeys)

# gamssolvers = set(v[0].lower() for v in tmp if v[1]=='GAMS')
Expand Down Expand Up @@ -149,8 +152,11 @@ def test_minto(self):
def test_mosek(self):
self._run('mosek')

def test_octeract(self):
self._run('octeract')
# [16 Jul 24] Octeract is erroring. We will disable the interface
# (and testing) until we have time to resolve #3321
#
# def test_octeract(self):
# self._run('octeract')

def test_ooqp(self):
if self.sense == pyo.maximize:
Expand Down

0 comments on commit 3c36377

Please sign in to comment.