-
Notifications
You must be signed in to change notification settings - Fork 5
Improvements to stats stopping criteria verification #77
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
Comments
Ok, so if I follow your idea:
|
I am not sure yet. Maybe something like Stopping with no internal computations would make sense? The second, yes, I think a |
I'm not a big fan of that because it hard-codes stopping criteria. We developed the callback mechanism to provide much more freedom in that respect. |
It doesn't prevent using other stopping criteria nor the callback. Also, these are the criteria that we want in our solvers (already being used). Why is it hardcoded? |
The way that it
set_status!
andget_status
work right now is too verbose.You have to pass
max_eval
,max_iter
andmax_time
every time. Probably these should be stored as part of the stats, or as a separate object - this would have to be internal to stats to avoid allocation.The
done = stats.status != :unknown
is prone to error. A function check onstats
would be better.The text was updated successfully, but these errors were encountered: