Closed Mv77 closed 1 month ago
Thanks a lot for the thorough bug description! I'll have a look as soon as possible!
Hey!
I've opened a PR (#544) to fix the problem. If it's urgent, you can work with that branch. We cannot merge that PR yet because we must wait for an upstream fix from DFO-LS, as there are problems with their new version. As long as you stay below DFO-LS<=1.5.0, there should be no problem. I believe that they will push a fix relatively quickly though.
Bug description
Hi! I noticed that if you start an OLS minimization problem from an initial point that is the optimum (so that no iterations happen),
minimize
crashes with (at least) DFOLS. The issue arises in the processing of results, when trying to figure out the number of iterations the problem ran for.To Reproduce
Here is a minimal example:
Expected behavior
Would have expected to still get a result object, even if no iterations occurred.
Screenshots/Error messages
The error is
System
Thanks as always!