58 :
BranchRule(master), poolSlotRef_(poolSlot) { }
82 virtual int extract(
Sub *sub)
override;
89 virtual void extract(
LpSub *lp)
override;
91 virtual void unExtract(
LpSub *lp)
override;
98 virtual void initialize(
Sub *sub)
override;
103 return poolSlotRef_.conVar();
108 return poolSlotRef_.conVar();
const Constraint * constraint() const
Returns a const pointer to the branching constraint, or a 0-pointer if this constraint is not availab...
The master of the optimization.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Implements the branching by adding a constraint to the set of active constraints. ...
ConBranchRule(Master *master, PoolSlot< Constraint, Variable > *poolSlot)
Creates a branching constraint.
Constraint * constraint()
Returns a pointer to the branching constraint, or a 0-pointer if this constraint is not available...
Forms the virtual base class for all possible constraints given in pool format.
PoolSlotRef< Constraint, Variable > poolSlotRef_
A reference to the pool slot of the branching constraints.
The linear program of a subproblem.
Base class for branching rules.
Abstract base class for all branching rules.
Stores a pointer to a pool slot with version number.
Stores constraints and variables.
ostream & operator<<(ostream &out, const Active< BaseType, CoType > &rhs)