Struct for storing additional output variables.
More...
#include <outputVariable.h>
Struct for storing additional output variables.
Since the model evaluation can contain several intermediate variables that appear neither as optimization variables nor as constraints directly, but the value of which might be interesting at the optimal solution point, a vector of these structs can be used in the EvaluationContainer to give such additional output after the problem is solved.
◆ OutputVariable() [1/3]
maingo::OutputVariable::OutputVariable |
( |
const std::string |
descIn, |
|
|
const mc::FFVar |
valueIn |
|
) |
| |
|
inline |
Constructor for use in the evaluate function.
- Parameters
-
[in] | descIn | is a string describing the variable |
[in] | valueIn | is the value of the variable at the current point |
◆ OutputVariable() [2/3]
maingo::OutputVariable::OutputVariable |
( |
const mc::FFVar |
valueIn, |
|
|
const std::string |
descIn |
|
) |
| |
|
inline |
Constructor for use in the evaluate function.
- Parameters
-
[in] | valueIn | is the value of the variable at the current point |
[in] | descIn | is a string describing the variable |
◆ OutputVariable() [3/3]
maingo::OutputVariable::OutputVariable |
( |
const OutputVariable & |
variableIn | ) |
|
|
inline |
Copy constructor.
- Parameters
-
[in] | variableIn | is the output variable to be copied |
◆ operator=()
Copy assignment operator.
- Parameters
-
[in] | variableIn | is the output variable to be copied |
◆ description
std::string maingo::OutputVariable::description |
Description, e.g. name of variable
◆ value
mc::FFVar maingo::OutputVariable::value |
The documentation for this struct was generated from the following file: