#include <test_vars_constr_cost.h>
Definition at line 61 of file test_vars_constr_cost.h.
◆ ExVariables() [1/2]
ifopt::ExVariables::ExVariables |
( |
| ) |
|
|
inline |
◆ ExVariables() [2/2]
ifopt::ExVariables::ExVariables |
( |
const std::string & |
name | ) |
|
|
inline |
◆ GetBounds()
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 87 of file test_vars_constr_cost.h.
◆ GetValues()
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 84 of file test_vars_constr_cost.h.
◆ SetVariables()
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 76 of file test_vars_constr_cost.h.
◆ x0_
double ifopt::ExVariables::x0_ |
|
private |
◆ x1_
double ifopt::ExVariables::x1_ |
|
private |
The documentation for this class was generated from the following file: