diff --git a/environment.yml b/environment.yml index f326dc071..4506cb1dd 100644 --- a/environment.yml +++ b/environment.yml @@ -5,7 +5,7 @@ channels: - nodefaults dependencies: - python=3.10 # dev - - cyipopt # dev + - cyipopt<=1.2.0 # dev - jupyterlab # dev, docs - nb_black # dev, docs - nlopt # dev, tests diff --git a/src/estimagic/optimization/tranquilo.py b/src/estimagic/optimization/tranquilo.py index 4c989fb66..6574d936c 100644 --- a/src/estimagic/optimization/tranquilo.py +++ b/src/estimagic/optimization/tranquilo.py @@ -6,7 +6,7 @@ from functools import partial from estimagic.decorators import mark_minimizer - tranquilo_scalar = mark_minimizer( + tranquilo = mark_minimizer( func=partial(_tranquilo, functype="scalar"), name="tranquilo", primary_criterion_entry="value", @@ -24,6 +24,6 @@ is_global=False, ) - __all__ = ["tranquilo_scalar", "tranquilo_ls"] + __all__ = ["tranquilo", "tranquilo_ls"] else: __all__ = []