DecisionVariable.
More...
#include <drake/solvers/Optimization.h>
DecisionVariable.
Provides storage for a decision variable inside an OptimizationProblem.
Enumerator |
---|
CONTINUOUS |
|
INTEGER |
|
BINARY |
|
index()
returns the first index of this variable in the entire variable vector for the program
const std::string& name |
( |
| ) |
const |
|
inline |
void set_value |
( |
const Eigen::VectorXd & |
new_data | ) |
|
|
inline |
size()
returns the number of elements in the decision variable vector
const Eigen::VectorXd& value |
( |
| ) |
const |
|
inline |
value()
returns the actual stored value; which is only meaningful after calling solve() in the program.
The documentation for this class was generated from the following file: