Package com.artelys.kalis
Class KOptimizeListener
- java.lang.Object
-
- com.artelys.kalis.KSolverEventListener
-
- com.artelys.kalis.KParallelSolverEventListener
-
- com.artelys.kalis.KOptimizeListener
-
public class KOptimizeListener extends KParallelSolverEventListener
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KSolverEventListener
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KOptimizeListener()protectedKOptimizeListener(long cPtr, boolean cMemoryOwn)KOptimizeListener(KOptimizeListener toCopy)KOptimizeListener(com.artelys.kalis.SWIGTYPE_p_KParallelSolver_I parallelSolver, com.artelys.kalis.SWIGTYPE_p_KSolver_I solver)KOptimizeListener(com.artelys.kalis.SWIGTYPE_p_KParallelSolver_I parallelSolver, com.artelys.kalis.SWIGTYPE_p_KSolver_I solver, boolean stopOnSolutionFound)KOptimizeListener(com.artelys.kalis.SWIGTYPE_p_KParallelSolver_I parallelSolver, com.artelys.kalis.SWIGTYPE_p_KSolver_I solver, boolean stopOnSolutionFound, boolean dichotomic)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(KOptimizeListener obj)voidpostObjectiveCut(double objectiveValue)voidprocessMessages()voidsetOptimalityBound(double optimalityBound)voidsolutionFound(KSolution solution, int thread)-
Methods inherited from class com.artelys.kalis.KParallelSolverEventListener
branchGoDown, branchGoUp, getCPtr, nodeExplored, setSendSolutionMessage, setStopComputations, setStopOnSolutionFound, stopComputations
-
Methods inherited from class com.artelys.kalis.KSolverEventListener
branchingScheme, getCPtr, getInstanceCopyPtr, getProblem, solutionFound, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KOptimizeListener
protected KOptimizeListener(long cPtr, boolean cMemoryOwn)
-
KOptimizeListener
public KOptimizeListener()
-
KOptimizeListener
public KOptimizeListener(com.artelys.kalis.SWIGTYPE_p_KParallelSolver_I parallelSolver, com.artelys.kalis.SWIGTYPE_p_KSolver_I solver, boolean stopOnSolutionFound, boolean dichotomic)
-
KOptimizeListener
public KOptimizeListener(com.artelys.kalis.SWIGTYPE_p_KParallelSolver_I parallelSolver, com.artelys.kalis.SWIGTYPE_p_KSolver_I solver, boolean stopOnSolutionFound)
-
KOptimizeListener
public KOptimizeListener(com.artelys.kalis.SWIGTYPE_p_KParallelSolver_I parallelSolver, com.artelys.kalis.SWIGTYPE_p_KSolver_I solver)
-
KOptimizeListener
public KOptimizeListener(KOptimizeListener toCopy)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KOptimizeListener obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classKParallelSolverEventListener
-
delete
public void delete()
- Overrides:
deletein classKParallelSolverEventListener
-
setOptimalityBound
public void setOptimalityBound(double optimalityBound)
-
processMessages
public void processMessages()
- Overrides:
processMessagesin classKParallelSolverEventListener
-
solutionFound
public void solutionFound(KSolution solution, int thread)
- Overrides:
solutionFoundin classKParallelSolverEventListener
-
postObjectiveCut
public void postObjectiveCut(double objectiveValue)
-
-