#include <test_vars_constr_cost.h>

Public Member Functions | |
| ExVariables () | |
| ExVariables (const std::string &name) | |
| VecBound | GetBounds () const override |
| Returns the "bounds" of this component. | |
| VectorXd | GetValues () const override |
| Returns the "values" of whatever this component represents. | |
| void | SetVariables (const VectorXd &x) override |
| Sets the optimization variables from an Eigen vector. | |
Private Attributes | |
| double | x0_ |
| double | x1_ |
Definition at line 62 of file test_vars_constr_cost.h.
| ifopt::ExVariables::ExVariables | ( | ) | [inline] |
Definition at line 66 of file test_vars_constr_cost.h.
| ifopt::ExVariables::ExVariables | ( | const std::string & | name | ) | [inline] |
Definition at line 67 of file test_vars_constr_cost.h.
| VecBound ifopt::ExVariables::GetBounds | ( | ) | const [inline, override, virtual] |
Returns the "bounds" of this component.
Implements ifopt::Component.
Definition at line 91 of file test_vars_constr_cost.h.
| VectorXd ifopt::ExVariables::GetValues | ( | ) | const [inline, override, virtual] |
Returns the "values" of whatever this component represents.
Implements ifopt::Component.
Definition at line 85 of file test_vars_constr_cost.h.
| void ifopt::ExVariables::SetVariables | ( | const VectorXd & | x | ) | [inline, override, virtual] |
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 77 of file test_vars_constr_cost.h.
double ifopt::ExVariables::x0_ [private] |
Definition at line 100 of file test_vars_constr_cost.h.
double ifopt::ExVariables::x1_ [private] |
Definition at line 100 of file test_vars_constr_cost.h.