#include <numvar.h>
Inheritance diagram for ABA_NUMVAR:

Public Member Functions | |
| ABA_NUMVAR (ABA_MASTER *master, const ABA_SUB *sub, int number, bool dynamic, bool local, double obj, double lBound, double uBound, ABA_VARTYPE::TYPE type) | |
| virtual | ~ABA_NUMVAR () |
| The destructor. | |
| int | number () const |
Protected Attributes | |
| int | number_ |
Friends | |
| ostream & | operator<< (ostream &out, const ABA_NUMVAR &rhs) |
Definition at line 38 of file numvar.h.
| ABA_NUMVAR::ABA_NUMVAR | ( | ABA_MASTER * | master, | |
| const ABA_SUB * | sub, | |||
| int | number, | |||
| bool | dynamic, | |||
| bool | local, | |||
| double | obj, | |||
| double | lBound, | |||
| double | uBound, | |||
| ABA_VARTYPE::TYPE | type | |||
| ) |
The constructor.
| master | A pointer to the corresponding master of the optimization. | |
| sub | A pointer to the subproblem associated with variable. This can also be the 0-pointer. | |
| number | The number of the column associated with the variable. | |
| dynamic | If this argument is true, then the variable can also be removed again from the set of active variables after it is added once. | |
| local | If this argument is true, then the variable is only locally valid, otherwise it is globally valid. As a locally valid variable is associated with a subproblem, sub must not be 0, if local is true. | |
| obj | The objective function coefficient of the variable. | |
| lBound | The lower bound of the variable. | |
| uBound | The upper Bound of the variable. | |
| type | The type of the variable. |
| virtual ABA_NUMVAR::~ABA_NUMVAR | ( | ) | [virtual] |
The destructor.
| int ABA_NUMVAR::number | ( | ) | const [inline] |
| ostream& operator<< | ( | ostream & | out, | |
| const ABA_NUMVAR & | rhs | |||
| ) | [friend] |
Writes the number of the variable to an output stream.
| out | The output stream. | |
| rhs | The variable being output. |
int ABA_NUMVAR::number_ [protected] |
1.5.1