Package com.artelys.kalis
Class KLargestReducedCost
- java.lang.Object
-
- com.artelys.kalis.KVariableSelector
-
- com.artelys.kalis.KLargestReducedCost
-
public class KLargestReducedCost extends KVariableSelector
This variable selector selects the variable with biggest reduced cost in current LP solution
of the provided linear relaxation solver.
Note that it does NOT call the solve() method of the solver automatically.
The current LP solution is simply read as it is.
- Since:
- 2016.1
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KLargestReducedCost(long cPtr, boolean cMemoryOwn)
KLargestReducedCost(KLargestReducedCost toCopy)
Copy constructorKLargestReducedCost(KLinearRelaxationSolver arg0)
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(KLargestReducedCost obj)
-
Methods inherited from class com.artelys.kalis.KVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, selectNextVariable, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KLargestReducedCost
protected KLargestReducedCost(long cPtr, boolean cMemoryOwn)
-
KLargestReducedCost
public KLargestReducedCost(KLinearRelaxationSolver arg0)
Constructor
-
KLargestReducedCost
public KLargestReducedCost(KLargestReducedCost toCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KLargestReducedCost 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
-
-