-
Notifications
You must be signed in to change notification settings - Fork 19
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
MWE not working #24
Comments
Meet the same problem, have you fixed that? |
Nope, i switched to another package, which works really well on my problem. It is called evosax if you want to try it out. |
Did you try "pip install fcmaes --upgrade" ? I checked under Windows 10 and Linux Mint 21.3 using miniforge https://github.com/conda-forge/miniforge with python 10 I get: 2024-11-12 14:20:26.878 | DEBUG | fcmaes.retry:dump:400 - 0.07 14771 1 1034 6.584272 0.00 0.00 [] [-1.9525107036864022, -0.03372250053045583, -0.055189729344992514, -0.1215086779748337, -0.22202042973813602, -0.39903601766528296, -0.6439347055511802, -0.862776492275128, -0.9657059723528973, -0.9817403814273438] |
By the way, you can get rid of the debug messages using something like
Regarding evosax: Really interesting. Uses Jax which even can utilize GPUs. Beautiful plotting. fcmaes is more focussed on fast parallelisation of the execution of the objective function. If you can utilize JAX for your specific problem (your objective function) evosax is probably the better choice. |
Helo, i am trying to run your optimization on a very simple Rosenbrock function problem, but it fails.Can you tell me what is wrong with my code?
Returns:
'NoneType' object is not subscriptable
2024-07-31 14:14:28.382 | DEBUG | fcmaes.retry:dump:388 - 0.07 0 1 0 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000 0.00 0.00 [] [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
success: True
fun: 1.7976931348623157e+308
x: [ 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00
0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00]
nfev: 0
[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
1.7976931348623157e+308
The text was updated successfully, but these errors were encountered: