Skip to content

Commit

Permalink
finish wrapping tranquilo, fides and nag optimizers
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrosian committed Aug 21, 2024
1 parent cce012c commit 7278a6d
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 99 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ module = [
"petsc4py",
"tranquilo",
"tranquilo.tranquilo",
"tranquilo.options",
"tranquilo.process_arguments",
"dfols",
"pybobyqa",
"pygmo",
Expand Down
1 change: 1 addition & 0 deletions src/estimagic/batch_evaluators.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from optimagic.batch_evaluators import * # noqa: F403
5 changes: 2 additions & 3 deletions src/optimagic/optimizers/fides.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
NonNegativeFloat,
PositiveFloat,
PositiveInt,
PyTree,
)

if IS_FIDES_INSTALLED:
Expand Down Expand Up @@ -116,8 +115,8 @@ def _solve_internal_problem(
def fides_internal(
fun_and_jac: Callable[[NDArray[np.float64]], NDArray[np.float64]],
x: NDArray[np.float64],
lower_bounds: PyTree | None,
upper_bounds: PyTree | None,
lower_bounds: NDArray[np.float64] | None,
upper_bounds: NDArray[np.float64] | None,
hessian_update_strategy: Literal[
"bfgs",
"bb",
Expand Down
Loading

0 comments on commit 7278a6d

Please sign in to comment.