#include <conopt_interface.hpp>
Definition at line 139 of file conopt_interface.hpp.

Public Member Functions | |
| ConoptInterface (const std::string &name, const Function &nlp) | |
| ~ConoptInterface () override | |
| const char * | plugin_name () const override |
| std::string | class_name () const override |
| const Options & | get_options () const override |
| void | init (const Dict &opts) override |
| void * | alloc_mem () const override |
| int | init_mem (void *mem) const override |
| void | free_mem (void *mem) const override |
| void | set_work (void *mem, const double **&arg, double **&res, casadi_int *&iw, double *&w) const override |
| int | solve (void *mem) const override |
| Dict | get_stats (void *mem) const override |
| void | ensure_row_capacity (ConoptMemory *m, casadi_int remaining_rows) const |
| void | serialize_body (SerializingStream &s) const override |
Static Public Member Functions | |
| static Nlpsol * | creator (const std::string &name, const Function &nlp) |
| static ProtoFunction * | deserialize (DeserializingStream &s) |
| static int COI_CALLCONV | cb_read_matrix (double LOWER[], double CURR[], double UPPER[], int VSTA[], int TYPEX[], double RHS[], int ESTA[], int COLSTA[], int ROWNO[], double VALUE[], int NLFLAG[], int NUMVAR, int NUMCON, int NUMNZ, void *USRMEM) |
| static int COI_CALLCONV | cb_fdevalini (const double X[], const int ROWLIST[], int MODE, int LISTSIZE, int NUMTHREAD, int IGNERR, int *ERRCNT, int NUMVAR, void *USRMEM) |
| static int COI_CALLCONV | cb_fd_eval (const double X[], double *G, double JAC[], int ROWNO, const int JACNUM[], int MODE, int IGNERR, int *ERRCNT, int NUMVAR, int NUMJAC, int THREAD, void *USRMEM) |
| static int COI_CALLCONV | cb_fdevalend (int IGNERR, int *ERRCNT, void *USRMEM) |
| static int COI_CALLCONV | cb_status (int MODSTA, int SOLSTA, int ITER, double OBJVAL, void *USRMEM) |
| static int COI_CALLCONV | cb_solution (const double XVAL[], const double XMAR[], const int XBAS[], const int XSTA[], const double YVAL[], const double YMAR[], const int YBAS[], const int YSTA[], int NUMVAR, int NUMCON, void *USRMEM) |
| static int COI_CALLCONV | cb_message (int SMSG, int DMSG, int NMSG, char *MSGV[], void *USRMEM) |
| static int COI_CALLCONV | cb_errmsg (int ROWNO, int COLNO, int POSNO, const char *MSG, void *USRMEM) |
| static int COI_CALLCONV | cb_option (int NCALL, double *RVAL, int *IVAL, int *LVAL, char *NAME, void *USRMEM) |
| static int COI_CALLCONV | cb_progress (int LEN_INT, const int INTX[], int LEN_RL, const double RL[], const double X[], void *USRMEM) |
| static int COI_CALLCONV | cb_2dlagrstr (int HSRW[], int HSCL[], int *NODRV, int NUMVAR, int NUMCON, int NHESS, void *USRMEM) |
| static int COI_CALLCONV | cb_2dlagrval (const double X[], const double U[], const int HSRW[], const int HSCL[], double HSVL[], int *NODRV, int NUMVAR, int NUMCON, int NHESS, void *USRMEM) |
Public Attributes | |
| Sparsity | gradf_sp_ |
| Sparsity | jacg_sp_ |
| Sparsity | hesslag_sp_ |
| bool | exact_hessian_ |
| bool | warm_start_ |
| bool | debug_ |
| Dict | opts_ |
| std::string | optfile_ |
| std::vector< bool > | gradf_col_flag_ |
| std::vector< int > | jacg_rowstart_ |
| std::vector< int > | jacg_nzidx_ |
| std::vector< int > | jacg_col_ |
| std::vector< int > | jacg_nlflag_ |
| bool | has_linear_jac_ |
| std::vector< int > | gradf_nlflag_ |
| bool | has_linear_gradf_ |
| std::vector< casadi_int > | gradf_col_to_nz_ |
Static Public Attributes | |
| static const Options | options_ |
| static const std::string | meta_doc |
| A documentation string. More... | |
Protected Member Functions | |
| ConoptInterface (DeserializingStream &s) | |
|
explicit |
|
override |
|
explicitprotected |
|
inlineoverride |
Definition at line 158 of file conopt_interface.hpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlineoverride |
Definition at line 145 of file conopt_interface.hpp.
|
inlinestatic |
Definition at line 147 of file conopt_interface.hpp.
|
inlinestatic |
Definition at line 200 of file conopt_interface.hpp.
| void casadi::ConoptInterface::ensure_row_capacity | ( | ConoptMemory * | m, |
| casadi_int | remaining_rows | ||
| ) | const |
|
override |
|
inlineoverride |
Definition at line 152 of file conopt_interface.hpp.
|
override |
|
override |
|
override |
|
inlineoverride |
Definition at line 144 of file conopt_interface.hpp.
|
override |
|
override |
|
override |
| bool casadi::ConoptInterface::debug_ |
Definition at line 176 of file conopt_interface.hpp.
| bool casadi::ConoptInterface::exact_hessian_ |
Definition at line 174 of file conopt_interface.hpp.
| std::vector<bool> casadi::ConoptInterface::gradf_col_flag_ |
Definition at line 181 of file conopt_interface.hpp.
| std::vector<casadi_int> casadi::ConoptInterface::gradf_col_to_nz_ |
Definition at line 196 of file conopt_interface.hpp.
| std::vector<int> casadi::ConoptInterface::gradf_nlflag_ |
Definition at line 193 of file conopt_interface.hpp.
| Sparsity casadi::ConoptInterface::gradf_sp_ |
Definition at line 171 of file conopt_interface.hpp.
| bool casadi::ConoptInterface::has_linear_gradf_ |
Definition at line 194 of file conopt_interface.hpp.
| bool casadi::ConoptInterface::has_linear_jac_ |
Definition at line 190 of file conopt_interface.hpp.
| Sparsity casadi::ConoptInterface::hesslag_sp_ |
Definition at line 173 of file conopt_interface.hpp.
| std::vector<int> casadi::ConoptInterface::jacg_col_ |
Definition at line 186 of file conopt_interface.hpp.
| std::vector<int> casadi::ConoptInterface::jacg_nlflag_ |
Definition at line 189 of file conopt_interface.hpp.
| std::vector<int> casadi::ConoptInterface::jacg_nzidx_ |
Definition at line 185 of file conopt_interface.hpp.
| std::vector<int> casadi::ConoptInterface::jacg_rowstart_ |
Definition at line 184 of file conopt_interface.hpp.
| Sparsity casadi::ConoptInterface::jacg_sp_ |
Definition at line 172 of file conopt_interface.hpp.
|
static |
Definition at line 155 of file conopt_interface.hpp.
| std::string casadi::ConoptInterface::optfile_ |
Definition at line 178 of file conopt_interface.hpp.
|
static |
Definition at line 151 of file conopt_interface.hpp.
| Dict casadi::ConoptInterface::opts_ |
Definition at line 177 of file conopt_interface.hpp.
| bool casadi::ConoptInterface::warm_start_ |
Definition at line 175 of file conopt_interface.hpp.