#include <ex_problem.h>
Definition at line 54 of file ex_problem.h.
ifopt::ExVariables::ExVariables |
( |
| ) |
|
|
inline |
ifopt::ExVariables::ExVariables |
( |
const std::string & |
name | ) |
|
|
inline |
VecBound ifopt::ExVariables::GetBounds |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the "bounds" of this component.
- For Variable these are the upper and lower variable bound.
- For Constraint this represents the constraint bounds.
- For Cost these done't exists (set to infinity).
Implements ifopt::Component.
Definition at line 83 of file ex_problem.h.
virtual VectorXd ifopt::ExVariables::GetValues |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the "values" of whatever this component represents.
- For Variable this represents the actual optimization values.
- For Constraint this represents the constraint value g.
- For Cost this represents the cost value.
Implements ifopt::Component.
Definition at line 77 of file ex_problem.h.
virtual void ifopt::ExVariables::SetVariables |
( |
const VectorXd & |
x | ) |
|
|
inlineoverridevirtual |
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 |
double ifopt::ExVariables::x1_ |
|
private |
The documentation for this class was generated from the following file: