[Ipopt] How to "explode" a model with variable on multiple dimensions..

Hans Pirnay hans.pirnay at rwth-aachen.de
Wed Jun 27 03:20:37 EDT 2012


Hi Antonello,

'exploding' all your variables into one single x-array is your only
option if you want to use the C++ interface. In fact, you need to do
much more than that - you need to specify the first and second order
derivatives of your model equations, which is even more error-prone.
Therefore, implementing a nonlinear model by hand is a very bad
idea...

Can you give us the reason why you need to port your model to C++?

Hans


More information about the Ipopt mailing list