Skip to content

Commit

Permalink
correct arguments of optimizers
Browse files Browse the repository at this point in the history
  • Loading branch information
flo-schu committed Jan 31, 2024
1 parent daa6653 commit 62ce922
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_optimizer_behavior.py
Expand Up @@ -58,22 +58,21 @@ def skip_if_combination_excluded(optimizer, problem):


class TrustConstr(TrustConstr):
f_tol = FTOL
x_tol = XTOL
ftol = FTOL
xtol = XTOL
gtol = GTOL


class SLSQP(SLSQP):
f_tol = FTOL
x_tol = XTOL
ftol = FTOL


class U_NSGA3(U_NSGA3):
ftol = FTOL
xtol = XTOL
cvtol = GTOL
pop_size = 100
n_max_gen = 20 # before used 100 generations --> this did not improve the fit
n_max_gen = 10 # before used 100 generations --> this did not improve the fit


class GPEI(GPEI):
Expand Down

0 comments on commit 62ce922

Please sign in to comment.