#include <test_vars_constr_cost.h>
Definition at line 62 of file test_vars_constr_cost.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 91 of file test_vars_constr_cost.h.
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 85 of file test_vars_constr_cost.h.
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 solvers.
Implements ifopt::Component.
Definition at line 77 of file test_vars_constr_cost.h.
double ifopt::ExVariables::x0_ |
|
private |
double ifopt::ExVariables::x1_ |
|
private |
The documentation for this class was generated from the following file: