Base class of iteration callbacks for Opti. More...
#include <optistack.hpp>
Subclass and override call(i), then register with Opti::callback_class. In Python and MATLAB, Opti::callback(fh) does this for a plain callable.
Extra doc: https://github.com/casadi/casadi/wiki/L_2my
Definition at line 2764 of file optistack.hpp.
Public Member Functions | |
| OptiCallback () | |
| OptiCallback (const OptiCallback &obj) | |
| virtual void | call (casadi_int i) |
| Called after every solver iteration with the iteration number. More... | |
| virtual | ~OptiCallback () |
|
inline |
Definition at line 2766 of file optistack.hpp.
|
inline |
Definition at line 2768 of file optistack.hpp.
|
inlinevirtual |
Definition at line 2775 of file optistack.hpp.
|
inlinevirtual |
Definition at line 2772 of file optistack.hpp.