I've got a complicated expression for my constraint function $g(x)$, too complicated to let Mathematica compute the derivatives symbolically. By forcing only numeric inputs, IPOPT does (it appears) an approximation of the derivatives. But I can come up with a direct, simple expression for those derivatives in a callable function. Is there a simple not-documented option to provide my own callable function? I know there is using IPOPT directly.
Asked
Active
Viewed 158 times
1
FindMinimumdoes have a"Gradient"option that should allow you to specify your function, and"Method"->"InteriorPoint"appears to use IPOPTLink – Joshua Schrier Oct 27 '21 at 15:45