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
This is because then the termination condition is already validated at first step.
It's not really a big problem since you just need to offset the cost by a constant but it took me a while to figure out where the problem was coming from.
Maybe the initial value for f_info should be set to infinity, or maybe this should be mentioned in the doc ?
The text was updated successfully, but these errors were encountered:
Hi,
I'm not sure if this is the desired behavior, but BFGS directly stops if
f(y0) == 0
. As an example :This is because then the termination condition is already validated at first step.
It's not really a big problem since you just need to offset the cost by a constant but it took me a while to figure out where the problem was coming from.
Maybe the initial value for
f_info
should be set to infinity, or maybe this should be mentioned in the doc ?The text was updated successfully, but these errors were encountered: