mechmotum / cyipopt

Cython interface for the interior point optimzer IPOPT
Eclipse Public License 2.0
229 stars 54 forks source link

Warm-starting dual variables #151

Closed EpicDuckPotato closed 1 week ago

EpicDuckPotato commented 2 years ago

Is there a way to supply an initial guess for the dual variables?

EpicDuckPotato commented 2 years ago

Looking at the source code, I found out there are keyword arguments for this (lagrange, zl, and zu for the solve function): https://github.com/mechmotum/cyipopt/blob/master/cyipopt/cython/ipopt_wrapper.pyx. Would be helpful if those were in the documentation.

moorepants commented 2 years ago

It does look like a description of the three kwargs is missing here:

https://github.com/mechmotum/cyipopt/blob/master/cyipopt/cython/ipopt_wrapper.pyx#L574

moorepants commented 1 week ago

Closing in favor of #266 which details the specific issue more thoroughly.