-
Notifications
You must be signed in to change notification settings - Fork 0
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
ask-tell interface #9
Comments
If I'm just using the |
Sorry to reach out to you via this issue in multiple comments. I'm facing problems to get the CMA to work even with a very simple setup. My function to minimize looks like Also setting the constraints with |
To handle keyword-arguments I usually use anonymous closures, e.g. I would pass the function If you have just box constraints, you could use the Regarding ask-tell interface, I would have to think a bit more, but I don't have the time this week. I'll come back to it asap. |
Thank you for the fast reply! Switching to Setting lower and upper now also works. My mistake was that I wanted to set one lower/upper boundary for all values via And thanks for looking into an ask-tell interface. There's no need to rush from our side :) Maybe we can also adapt our code or use a workaround with stopping the optimizer like you explained in #6 |
Hello,
we are currently using the python-cma and are thinking about switching to julia. In Python, we use especially the functions
es.stop()
,es.ask()
,es.tell()
to controll the optimization as well ases.disp()
,es.logger.add()
,es.best.f
,es.best.x
,es.best.x.tolist
,es.result_pretty()
.Is there a way to use stop, ask and tell in your package in a similar way and can you expand the documentation a bit on how logging is done?
Thanks in advance
Patrick
The text was updated successfully, but these errors were encountered: