KNumVariableSelector

class KNumVariableSelector : public KExternalObject<KNumVariableSelector_I>, public KPtrArray<KNumVariableSelector>

Abstract interface class for variable selection heuristic.

See

KSmallestDomain KMaxDegree KSmallestMin KSmallestMax KLargestMin KLargestMax KRandomVariable KSmallestDomDegRatio KMaxRegretOnLowerBound KMaxRegretOnUpperBound

Since

2016.1

Subclassed by KNumInputOrder, KNumLargestReducedCost, KNumSmallestDomain, KWidestDomain

Public Functions

KNumVariableSelector()

Constructor.

KNumVariableSelector(KProblem *problem)

Constructor with KProblem.

KNumVariableSelector(const KNumVariableSelector &toCopy)

Copy constructor.

virtual KNumVar *selectNextVariable(KNumVarArray *numVarArray)

virtual interface method to overload for definition of your own variable selection heuristics

Parameters

intVarArray – Array of variable from wich selecting a variable