
Public Member Functions | |
| ExComponent (int n_var, const std::string &name) | |
| virtual VecBound | GetBounds () const |
| Returns the "bounds" of this component. More... | |
| virtual Jacobian | GetJacobian () const |
| Returns derivatives of each row w.r.t. the variables. More... | |
| virtual VectorXd | GetValues () const |
| Returns the "values" of whatever this component represents. More... | |
| virtual void | SetVariables (const VectorXd &x) |
| Sets the optimization variables from an Eigen vector. More... | |
Public Member Functions inherited from ifopt::Component | |
| Component (int num_rows, const std::string &name) | |
| Creates a component. More... | |
| std::string | GetName () const |
| Returns the name (id) of this component. More... | |
| int | GetRows () const |
| Returns the number of rows of this component. More... | |
| virtual void | Print (double tolerance, int &index_start) const |
| Prints the relevant information (name, rows, values) of this component. More... | |
| void | SetRows (int num_rows) |
| Sets the number of rows of this component. More... | |
| virtual | ~Component ()=default |
Additional Inherited Members | |
Public Types inherited from ifopt::Component | |
| using | Jacobian = Eigen::SparseMatrix< double, Eigen::RowMajor > |
| using | Ptr = std::shared_ptr< Component > |
| using | VecBound = std::vector< Bounds > |
| using | VectorXd = Eigen::VectorXd |
Static Public Attributes inherited from ifopt::Component | |
| static const int | kSpecifyLater = -1 |
Definition at line 36 of file composite_test.cc.
|
inline |
Definition at line 38 of file composite_test.cc.
|
inlinevirtual |
Returns the "bounds" of this component.
Implements ifopt::Component.
Definition at line 41 of file composite_test.cc.
|
inlinevirtual |
Returns derivatives of each row w.r.t. the variables.
Implements ifopt::Component.
Definition at line 42 of file composite_test.cc.
|
inlinevirtual |
Returns the "values" of whatever this component represents.
Implements ifopt::Component.
Definition at line 40 of file composite_test.cc.
|
inlinevirtual |
Sets the optimization variables from an Eigen vector.
This is only done for Variable, where these are set from the current values of the solvers.
Implements ifopt::Component.
Definition at line 43 of file composite_test.cc.