83 status_(lpVarStat->status_)
116 return (status_ == AtLowerBound || status_ == AtUpperBound);
121 return (status_ == Basic);
Base class of all other classes of ABACUS.
bool atBound() const
Returns true if the variable status is AtUpperBound or AtLowerBound, false otherwise.
void status(STATUS stat)
Sets the status to stat.
STATUS
The enumeration of the statuses a variable gets from the linear program solver.
@ NonBasicFree
The variable is unbounded and not in the basis.
@ Basic
The variable is in the basis.
@ AtUpperBound
The variable is at its upper bound , but not in the basis.
@ AtLowerBound
The variable is at its lower bound, but not in the basis.
STATUS status_
The LP-status.
LPVARSTAT(STATUS status)
This constructor initializes the LPVARSTAT.
LPVARSTAT(LPVARSTAT *lpVarStat)
This constructor make a copy of *lpVarStat.
void status(const LPVARSTAT *stat)
Sets the status to stat.
STATUS status() const
Returns the LP-status.
LPVARSTAT()
This constructor initializes the status as Unknown.
friend std::ostream & operator<<(std::ostream &out, const LPVARSTAT &rhs)
The output operator.
bool basic() const
Returns true If the status is Basic, false otherwise.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()