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()
protected
KOptimizeListener(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 void
delete()
protected void
finalize()
protected static long
getCPtr(KOptimizeListener obj)
void
postObjectiveCut(double objectiveValue)
void
processMessages()
void
setOptimalityBound(double optimalityBound)
void
solutionFound(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:
finalize
in classKParallelSolverEventListener
-
delete
public void delete()
- Overrides:
delete
in classKParallelSolverEventListener
-
setOptimalityBound
public void setOptimalityBound(double optimalityBound)
-
processMessages
public void processMessages()
- Overrides:
processMessages
in classKParallelSolverEventListener
-
solutionFound
public void solutionFound(KSolution solution, int thread)
- Overrides:
solutionFound
in classKParallelSolverEventListener
-
postObjectiveCut
public void postObjectiveCut(double objectiveValue)
-
-