Functor called at the end of each iteration. More...
Public Member Functions
|Default constructor. |
|Virtual destructor. |
|virtual bool||operator() (Ipopt::AlgorithmMode, int, double, double, double, double, double, double, double, double, int, const Ipopt::IpoptData *, Ipopt::IpoptCalculatedQuantities *)|
|Callback to be called. |
Functor called at the end of each iteration.
By inheriting this type and implementing the operator () method, then setting it as the userIntermediateCallback of your solver, one can define a custom behavior to be executed at the end of each iteration.
See http://en.wikipedia.org/wiki/Function_object#In_C_and_C.2B.2B for more information about functors.
Functor parameters match original Ipopt parameters, see Ipopt documentation to read explanation regarding their mathematical meaning.
Callback to be called.
You can implement this function yourself. Default version returns true.