Package com.artelys.kalis
Class KMostFractional
- java.lang.Object
-
- com.artelys.kalis.KVariableSelector
-
- com.artelys.kalis.KMostFractional
-
public class KMostFractional extends 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
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KMostFractional(long cPtr, boolean cMemoryOwn)
KMostFractional(KLinearRelaxationSolver arg0)
ConstructorKMostFractional(KMostFractional toCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KVariableSelector
getCopyPtr()
protected static long
getCPtr(KMostFractional obj)
-
Methods inherited from class com.artelys.kalis.KVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, selectNextVariable, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KMostFractional
protected KMostFractional(long cPtr, boolean cMemoryOwn)
-
KMostFractional
public KMostFractional(KLinearRelaxationSolver arg0)
Constructor
-
KMostFractional
public KMostFractional(KMostFractional toCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KMostFractional obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKVariableSelector
-
delete
public void delete()
- Overrides:
delete
in classKVariableSelector
-
getCopyPtr
public KVariableSelector getCopyPtr()
- Overrides:
getCopyPtr
in classKVariableSelector
-
-