#include <conclass.h>
Inheritance diagram for ABA_CONCLASS:
Public Member Functions | |
ABA_CONCLASS (const ABA_MASTER *master, bool discrete, bool allVarBinary, bool trivial, bool bound, bool varBound) | |
bool | allVarBinary () const |
Returns true if all variables with nonzero coefficients of the constraint are binary. | |
bool | trivial () const |
Returns true if the constraint is a bound or a variable upper bound. | |
Private Attributes | |
const ABA_MASTER * | master_ |
bool | discrete_ |
bool | allVarBinary_ |
bool | trivial_ |
bool | bound_ |
bool | varBound_ |
Friends | |
ostream & | operator<< (ostream &out, const ABA_CONCLASS &rhs) |
Definition at line 48 of file conclass.h.
ABA_CONCLASS::ABA_CONCLASS | ( | const ABA_MASTER * | master, | |
bool | discrete, | |||
bool | allVarBinary, | |||
bool | trivial, | |||
bool | bound, | |||
bool | varBound | |||
) |
The constructor initializes the constraint classification with
master | A pointer to the corresponding master of the optimization. | |
allVar | Binary true if all variables are binary | |
trivial | true if it is a bound or a variable upper bound | |
bound | if the constraint is a bound of the variable | |
varBound | if the constraint is a variable upper bound |
bool ABA_CONCLASS::allVarBinary | ( | ) | const [inline] |
Returns true if all variables with nonzero coefficients of the constraint are binary.
Definition at line 114 of file conclass.h.
bool ABA_CONCLASS::trivial | ( | ) | const [inline] |
Returns true if the constraint is a bound or a variable upper bound.
Definition at line 119 of file conclass.h.
ostream& operator<< | ( | ostream & | out, | |
const ABA_CONCLASS & | rhs | |||
) | [friend] |
const ABA_MASTER* ABA_CONCLASS::master_ [private] |
A pointer to the corresponding master of the optimization.
Definition at line 93 of file conclass.h.
bool ABA_CONCLASS::discrete_ [private] |
Definition at line 94 of file conclass.h.
bool ABA_CONCLASS::allVarBinary_ [private] |
true if all variables are binary.
Definition at line 98 of file conclass.h.
bool ABA_CONCLASS::trivial_ [private] |
true if it is a bound or a variable lower/upper bound.
Definition at line 102 of file conclass.h.
bool ABA_CONCLASS::bound_ [private] |
true if the constraint is a bound of the variable.
Definition at line 106 of file conclass.h.
bool ABA_CONCLASS::varBound_ [private] |
true if the constraint is a variable lower/upper bound.
Definition at line 110 of file conclass.h.