KMostFractional¶
-
class KMostFractional : public KVariableSelector¶
This variable selector selects the variable with biggest fractional part in the current solution held by the provided linear relaxation solver.
Note that it does NOT call the “solve” method of the solver, so if you want the relaxation to be re-solved at each node, you must use method KSolver::setOtherNodesRelaxationSolver.
- Since
2016.1
Public Functions
-
KMostFractional(KLinearRelaxationSolver*)¶
Constructor.
-
KMostFractional(const KMostFractional &toCopy)¶
Copy constructor.
-
virtual ~KMostFractional()¶
Destructor.