edwardbair / SpiPy

2 stars 1 forks source link

scipy minimize sucks compared to fmincon #1

Closed edwardbair closed 2 years ago

edwardbair commented 2 years ago

I'm sure these results could be cleaned up, but I've spent two days on it and the fits are not good. See the specifics starting at:

https://github.com/edwardbair/SpiPy/blob/e63c4782b2f732952c22ce3c931c8b5488daa56e/spires_core.py#L15

Screen Shot 2022-04-26 at 2 30 10 PM Screen Shot 2022-04-26 at 2 30 05 PM

edwardbair commented 2 years ago

Spent all afternoon on this. Still getting poor fits using COBYLA. The PYOMO package is supposed to offer better fitting tools.

edwardbair commented 2 years ago

Solved! 3/4 solutions are exact matches. And I think the 4th solution has many answers, the error stats are the same Screen Shot 2022-05-01 at 11 45 25 AM Screen Shot 2022-05-01 at 11 45 19 AM .