 |
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
34 #pragma GCC visibility push(default)
84 status_(lpVarStat->status_)
117 return (status_ == AtLowerBound || status_ == AtUpperBound);
122 return (status_ == Basic);
135 #pragma GCC visibility pop
LPVARSTAT()
This constructor initializes the status as Unknown.
bool basic() const
Returns true If the status is Basic, false otherwise.
@ AtLowerBound
The variable is at its lower bound, but not in the basis.
std::ostream & operator<<(std::ostream &out, const Active< BaseType, CoType > &rhs)
@ Basic
The variable is in the basis.
STATUS
The enumeration of the statuses a variable gets from the linear program solver.
STATUS status() const
Returns the LP-status.
void status(STATUS stat)
Sets the status to stat.
bool atBound() const
Returns true if the variable status is AtUpperBound or AtLowerBound, false otherwise.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Base class of all other classes of ABACUS.
void status(const LPVARSTAT *stat)
Sets the status to stat.
LPVARSTAT(STATUS status)
This constructor initializes the LPVARSTAT.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
@ AtUpperBound
The variable is at its upper bound , but not in the basis.
STATUS status_
The LP-status.
@ NonBasicFree
The variable is unbounded and not in the basis.
LPVARSTAT(LPVARSTAT *lpVarStat)
This constructor make a copy of *lpVarStat.