Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scipy.optimize.fmin_slsqp on f7 #2301

Open
nikohansen opened this issue Jun 12, 2024 · 2 comments
Open

scipy.optimize.fmin_slsqp on f7 #2301

nikohansen opened this issue Jun 12, 2024 · 2 comments

Comments

@nikohansen
Copy link
Contributor

nikohansen commented Jun 12, 2024

scipy.optimize.fmin_slsqp is one of the solvers in the upcoming example_experiment_complete.py script. Run with a budget multiplier of 40, we see 38 sweeps over the bbob suite, 34 of them done only on the Step Ellipsoid f7, the last three of them only in 40D (the algorithm terminates, if I am not mistaken, always after one iteration with $D+1$ evaluations and we do 2 additional evaluations, hence the budget 40 x D is exhausted after 38 sweeps).

It would be nice to tweak the solver options such that the behavior becomes more reasonable also on f7.

The above repetitions "mess up" some of the median runtime crosses, that is, the example is good test when fixing #2287.

@olafmersmann
Copy link
Contributor

I think fmin_slsqp fails on $f7$ because the (approximated) gradient is zero almost everywhere which means it terminates immediately. Not sure you can fix that by changing some parameter.

@nikohansen
Copy link
Contributor Author

Agreed, the chances are not too great, but I still would want to have look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants