From c2b78b82e6ed3ecaa834757129e2c9b73090a6ae Mon Sep 17 00:00:00 2001 From: Janos Gabler Date: Thu, 28 Dec 2023 13:05:52 +0100 Subject: [PATCH] Pin cyipopt in dev environment. --- environment.yml | 2 +- src/estimagic/optimization/tranquilo.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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__ = []