#include <MINLPData.h>
Public Member Functions | |
| Variable (int index_, double lower_, double upper_, bool discrete_=false, const string &name_=string()) | |
Public Attributes | |
| int | index |
| Index of variable in problem. | |
| int | block_nr |
| Number of the block where the variable belongs to. | |
| int | index_in_block |
| Index of the variable in the block. | |
| string | name |
| Name of the variable. | |
| double | lower |
| Lower bound. | |
| double | upper |
| Upper bound. | |
| bool | discrete |
| Discrete or not. | |
Definition at line 85 of file MINLPData.h.
| MINLPData::Variable::Variable | ( | int | index_, | |
| double | lower_, | |||
| double | upper_, | |||
| bool | discrete_ = false, |
|||
| const string & | name_ = string() | |||
| ) | [inline] |
Definition at line 112 of file MINLPData.h.
Index of variable in problem.
Definition at line 89 of file MINLPData.h.
Referenced by MINLP::VariableView::index().
Number of the block where the variable belongs to.
Definition at line 92 of file MINLPData.h.
Referenced by MINLP::VariableView::block_nr().
Index of the variable in the block.
Definition at line 95 of file MINLPData.h.
Referenced by MINLP::VariableView::index_in_block().
| string MINLPData::Variable::name |
Name of the variable.
Definition at line 99 of file MINLPData.h.
Referenced by MINLP::VariableView::name().
| double MINLPData::Variable::lower |
Lower bound.
Definition at line 103 of file MINLPData.h.
Referenced by MINLP::VariableView::lower().
| double MINLPData::Variable::upper |
Upper bound.
Definition at line 106 of file MINLPData.h.
Referenced by MINLP::VariableView::upper().
Discrete or not.
TODO: use an enumerate to distinguish between continuous, discrete (lower or upper), and integer.
Definition at line 110 of file MINLPData.h.
Referenced by MINLP::VariableView::discrete().
1.4.7