The in-memory representation of the variable element. More...
#include <OSInstance.h>

Public Member Functions | |
| Variable () | |
| The Variable class constructor. | |
| ~Variable () | |
| The Variable class destructor. | |
| bool | IsEqual (Variable *that) |
| A function to check for the equality of two objects. | |
| Variable () | |
| The Variable class constructor. | |
| ~Variable () | |
| The Variable class destructor. | |
Public Attributes | |
| double | lb |
| lb corresponds to the optional attribute that holds the variable lower bound, the default value is 0 | |
| double | ub |
| ub corresponds to the optional attribute that holds the variable upper bound, the default value is OSINFINITY | |
| char | type |
| type corresponds to the attribute that holds the variable type: C (Continuous), B (binary), I (general integer), or S (string). | |
| std::string | name |
| name corresponds to the optional attribute that holds the variable name, the default value is empty | |
The in-memory representation of the variable element.
Definition at line 77 of file OSInstance.h.
| Variable::Variable | ( | ) |
The Variable class constructor.
Definition at line 442 of file OSInstance.cpp.
| Variable::~Variable | ( | ) |
The Variable class destructor.
Definition at line 455 of file OSInstance.cpp.
| Variable::Variable | ( | ) |
The Variable class constructor.
| Variable::~Variable | ( | ) |
The Variable class destructor.
| bool Variable::IsEqual | ( | Variable * | that | ) |
A function to check for the equality of two objects.
Definition at line 5699 of file OSInstance.cpp.
| double Variable::lb |
lb corresponds to the optional attribute that holds the variable lower bound, the default value is 0
Definition at line 89 of file OSInstance.h.
| double Variable::ub |
ub corresponds to the optional attribute that holds the variable upper bound, the default value is OSINFINITY
Definition at line 94 of file OSInstance.h.
| char Variable::type |
type corresponds to the attribute that holds the variable type: C (Continuous), B (binary), I (general integer), or S (string).
init corresponds to the optional attribute that holds the variable initial value, the default value is OSNAN -- now deprecated
The default is C
type corresponds to the attribute that holds the variable type: C (Continuous), B (binary), I (general integer), or S (string). The default is C
Definition at line 99 of file OSInstance.h.
| std::string Variable::name |
name corresponds to the optional attribute that holds the variable name, the default value is empty
Definition at line 104 of file OSInstance.h.
1.6.1