A symbolic NLP representation. More...
#include <nlp_builder.hpp>
Definition at line 40 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 84 of file nlp_builder.hpp.
|
inline |
Definition at line 78 of file nlp_builder.hpp.
| std::vector<bool> casadi::NlpBuilder::discrete |
Definition at line 71 of file nlp_builder.hpp.
| MX casadi::NlpBuilder::f |
Definition at line 53 of file nlp_builder.hpp.
| std::vector<MX> casadi::NlpBuilder::g |
Definition at line 56 of file nlp_builder.hpp.
| std::vector<double> casadi::NlpBuilder::g_lb |
Definition at line 62 of file nlp_builder.hpp.
| std::vector<double> casadi::NlpBuilder::g_ub |
Definition at line 62 of file nlp_builder.hpp.
| std::vector<double> casadi::NlpBuilder::lambda_init |
Definition at line 68 of file nlp_builder.hpp.
| std::vector<MX> casadi::NlpBuilder::x |
Definition at line 50 of file nlp_builder.hpp.
| std::vector<double> casadi::NlpBuilder::x_init |
Definition at line 65 of file nlp_builder.hpp.
| std::vector<double> casadi::NlpBuilder::x_lb |
Definition at line 59 of file nlp_builder.hpp.
| std::vector<double> casadi::NlpBuilder::x_ub |
Definition at line 59 of file nlp_builder.hpp.