You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run the code as shown here. Even though I tried different seed values, best_parameters is always {'x1': -10.0, 'x2': -10.0}.
I am using Python 3.11.7 on linux. pip list gives
Hello there! {'x1': -10.0, 'x2': -10.0} is the maximum in the search space. Is it possible that you're using minimize=False (or omitting minimize=True since False is the default)? When I run the example code I get {'x1': 1.0707105062836604, 'x2': 3.0290502263874703}.
Sorry for the late reply. I have given up hope when no reply from you arrived, then started investigating the code myself. In 0.3.7 when objective_name=None (as given in the Get Started code), regardless of the value of minimize, _get_default_objectives in instantiation.py returns "maximize", hence the optimize function always maximizes. Is this an expected behaviou or a PR needed? I can PR if you want.
I run the code as shown here. Even though I tried different seed values,
best_parameters
is always{'x1': -10.0, 'x2': -10.0}
.I am using Python 3.11.7 on linux.
pip list
givesThe text was updated successfully, but these errors were encountered: