bbopt / nomad

NOMAD - A blackbox optimization software
https://nomad-4-user-guide.readthedocs.io/
GNU Lesser General Public License v3.0
114 stars 24 forks source link

Is there a way to terminate the costly blackbox evaluation in advance? #77

Closed windless1015 closed 2 years ago

windless1015 commented 2 years ago

Hi, I am using the NOMAD3.9.1 to evaluate a blackbox task. It will drop to obvious local optimum somethings. I notice that the outputs are nearly same or even get very small differences at the end of the evaluation. In some conditions, it will last for hundres of iterations. More compuating resources and time have been put into the final result, but the result has satisfied the requirements. So, my question is how can I alter some arguments or is there a mechanism to terminate the evaluaion in NOMAD to solve this problem? I know user can use CTRL-C to terminate the algorithm mamually. Thank you very much.

ctribes commented 2 years ago

Please note that this Git is for Nomad 4. Nomad 4 is a completely new version of Nomad. To have support about Nomad 3, please send email to nomad@gerad.ca.

Here are a few things that can be done in Nomad 3 to prevent unnecessary blackbox evaluations. 1- Premature stop of the optimization with CTRL-C or kill the Nomad process. 2- Kill costly blackbox evaluations manually. Nomad will tag these evaluations as "failed" and will continue. 3- Specify parameters to have a better control of stopping (check on the user guide for details):

Some parameters can also help for exploring the design space and get out of local optimum:

windless1015 commented 2 years ago

Thank you very much. Appreciate your reply. Have a good one.