A symbolic NLP representation. More...
#include <nlp_builder.hpp>
Definition at line 39 of file nlp_builder.hpp.
Public Member Functions | |
void | import_nl (const std::string &filename, const Dict &opts=Dict()) |
Import an .nl file. More... | |
std::string | type_name () const |
Readable name of the class. More... | |
void | disp (std::ostream &stream, bool more=false) const |
Print a description of the object. More... | |
std::string | get_str (bool more=false) const |
Get string representation. More... | |
Public Attributes | |
Symbolic representation of the NLP | |
Data members | |
std::vector< MX > | x |
Variables. More... | |
MX | f |
Objective. More... | |
std::vector< MX > | g |
Constraints. More... | |
std::vector< double > | x_lb |
Bounds on x. More... | |
std::vector< double > | x_ub |
Variables. More... | |
std::vector< double > | g_lb |
Bounds on g. More... | |
std::vector< double > | g_ub |
Variables. More... | |
std::vector< double > | x_init |
Primal initial guess. More... | |
std::vector< double > | lambda_init |
Dual initial guess. More... | |
std::vector< bool > | discrete |
Discrete variables. More... | |
void casadi::NlpBuilder::disp | ( | std::ostream & | stream, |
bool | more = false |
||
) | const |
|
inline |
Definition at line 83 of file nlp_builder.hpp.
|
inline |
Definition at line 77 of file nlp_builder.hpp.
std::vector<bool> casadi::NlpBuilder::discrete |
Definition at line 70 of file nlp_builder.hpp.
MX casadi::NlpBuilder::f |
Definition at line 52 of file nlp_builder.hpp.
std::vector<MX> casadi::NlpBuilder::g |
Definition at line 55 of file nlp_builder.hpp.
std::vector<double> casadi::NlpBuilder::g_lb |
Definition at line 61 of file nlp_builder.hpp.
std::vector<double> casadi::NlpBuilder::g_ub |
Definition at line 61 of file nlp_builder.hpp.
std::vector<double> casadi::NlpBuilder::lambda_init |
Definition at line 67 of file nlp_builder.hpp.
std::vector<MX> casadi::NlpBuilder::x |
Definition at line 49 of file nlp_builder.hpp.
std::vector<double> casadi::NlpBuilder::x_init |
Definition at line 64 of file nlp_builder.hpp.
std::vector<double> casadi::NlpBuilder::x_lb |
Definition at line 58 of file nlp_builder.hpp.
std::vector<double> casadi::NlpBuilder::x_ub |
Definition at line 58 of file nlp_builder.hpp.