#include <ex_problem.h>

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