Skip to content

Commit

Permalink
Fix nlp test
Browse files Browse the repository at this point in the history
  • Loading branch information
metab0t committed Jun 9, 2024
1 parent 8e24935 commit e0459dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import pyoptinterface as poi
from pyoptinterface import ipopt

if not ipopt.is_library_loaded():
exit(1)


def test_ipopt():
if not ipopt.is_library_loaded():
pytest.skip("Ipopt library is not loaded")

model = ipopt.Model()

x = model.add_variable(lb=0.1, ub=10.0, start=0.8)
Expand Down

0 comments on commit e0459dd

Please sign in to comment.