103 return poolSlotRef_.conVar();
108 return poolSlotRef_.conVar();
Base class for branching rules.
Abstract base class for all branching rules.
Implements the branching by adding a constraint to the set of active constraints.
ConBranchRule(Master *master, PoolSlot< Constraint, Variable > *poolSlot)
Creates a branching constraint.
virtual int extract(Sub *sub) override
Adds the branching constraint to the subproblem.
Constraint * constraint()
Returns a pointer to the branching constraint, or a 0-pointer if this constraint is not available.
const ConBranchRule & operator=(const ConBranchRule &rhs)
const Constraint * constraint() const
Returns a const pointer to the branching constraint, or a 0-pointer if this constraint is not availab...
virtual void extract(LpSub *lp) override
Overloaded to modify directly the linear programming relaxation.
friend std::ostream & operator<<(std::ostream &out, const ConBranchRule &rhs)
Output operator for branching constraints.
PoolSlotRef< Constraint, Variable > poolSlotRef_
A reference to the pool slot of the branching constraints.
virtual void initialize(Sub *sub) override
Initializes the subproblem associated with the branching constraint.
virtual void unExtract(LpSub *lp) override
Should undo the modifictions of the linear programming relaxtion |lp|.
Forms the virtual base class for all possible constraints given in pool format.
The linear program of a subproblem.
The master of the optimization.
Stores constraints and variables.
Stores a pointer to a pool slot with version number.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()