Uses of Class
org.chocosolver.solver.Solver
-
Packages that use Solver Package Description org.chocosolver.solver A package devoted to Model and resolution tools.org.chocosolver.solver.search.loop.learn org.chocosolver.solver.search.loop.move org.chocosolver.solver.search.loop.propagate org.chocosolver.solver.trace org.chocosolver.solver.trace.frames -
-
Uses of Solver in org.chocosolver.solver
Methods in org.chocosolver.solver that return Solver Modifier and Type Method Description SolverModel. getSolver()Returns the unique and internal propagation and search object to solve this model.SolverDefaultSettings. initSolver(Model model)SolverSettings. initSolver(Model model)This method is called inModel(IEnvironment, String, Settings)to create the solver to associate with a model.SolverSolver. ref()Methods in org.chocosolver.solver with parameters of type Solver Modifier and Type Method Description booleanDefaultSettings. checkModel(Solver solver)booleanSettings. checkModel(Solver solver)Method parameters in org.chocosolver.solver with type arguments of type Solver Modifier and Type Method Description DefaultSettingsDefaultSettings. setInitSolver(Function<Model,Solver> initSolver)SettingsSettings. setInitSolver(Function<Model,Solver> initSolver)Define the solver initializationDefaultSettingsDefaultSettings. setModelChecker(Predicate<Solver> modelChecker)SettingsSettings. setModelChecker(Predicate<Solver> modelChecker)Define what to do when a solution is found. -
Uses of Solver in org.chocosolver.solver.search.loop.learn
Methods in org.chocosolver.solver.search.loop.learn with parameters of type Solver Modifier and Type Method Description voidLearn. forget(Solver solver)Forget some pieces of knowledge.voidLearnCBJ. forget(Solver solver)voidLearnExplained. forget(Solver solver)voidLearnNothing. forget(Solver solver)voidLearnCBJ. onFailure(Solver solver)voidLearnExplained. onFailure(Solver solver)Actions to do when a failure is met.voidLearnExplained. onSolution(Solver solver)Actions to do when a solution is found.voidLearn. record(Solver solver)Validate and record a new piece of knowledge, that is, the current position is a dead-end.voidLearnExplained. record(Solver solver)voidLearnNothing. record(Solver solver) -
Uses of Solver in org.chocosolver.solver.search.loop.move
Methods in org.chocosolver.solver.search.loop.move with parameters of type Solver Modifier and Type Method Description protected voidMoveLNS. doRestart(Solver solver)Extend the neighbor when conditions are met and do the restartbooleanMove. extend(Solver solver)Performs a move when the CSP associated to the current node of the search space is not proven to be not consistent.booleanMoveBinaryDDS. extend(Solver solver)booleanMoveBinaryDFS. extend(Solver solver)booleanMoveBinaryHBFS. extend(Solver solver)booleanMoveLearnBinaryTDR. extend(Solver solver)booleanMoveLNS. extend(Solver solver)Return false when: the underlying search has no more decision to provide,booleanMoveRestart. extend(Solver solver)booleanMoveSeq. extend(Solver solver)protected voidMoveBinaryHBFS. extractOpenRightBranches(Solver solver)This methods extracts and stores all open right branches for future explorationvoidMoveLNS. loadFromSolution(Solution solution, Solver solver)Give an initial solution to begin with if called before executing the solving process or erase the last recorded one otherwise.voidMoveLearnBinaryTDR. onFailure(Solver solver)Actions to do when a failure is met.protected voidMoveBinaryDFS. prevDecision(Solver solver)Backtrack in the search treebooleanMove. repair(Solver solver)Performs a move when the CSP associated to the current node of the search space is proven to be not consistent.booleanMoveBinaryDFS. repair(Solver solver)booleanMoveBinaryHBFS. repair(Solver solver)booleanMoveBinaryLDS. repair(Solver solver)booleanMoveLearnBinaryTDR. repair(Solver solver)booleanMoveLNS. repair(Solver solver)Return false when : move.repair(searchLoop) returns false and neighbor is complete.booleanMoveRestart. repair(Solver solver)booleanMoveSeq. repair(Solver solver)protected voidMoveRestart. restart(Solver solver)Execute the restart and update measuresprotected booleanMoveBinaryDFS. rewind(Solver solver)Go back in the search tree.protected booleanMoveBinaryLDS. rewind(Solver solver) -
Uses of Solver in org.chocosolver.solver.search.loop.propagate
Methods in org.chocosolver.solver.search.loop.propagate with parameters of type Solver Modifier and Type Method Description voidPropagate. execute(Solver solver)Propagate information throughout the constraint network, that is, apply decision and post dynamic cut (if any).voidPropagateBasic. execute(Solver solver) -
Uses of Solver in org.chocosolver.solver.trace
Fields in org.chocosolver.solver.trace declared as Solver Modifier and Type Field Description protected SolverSearchViz. mSolverReference to the modelConstructors in org.chocosolver.solver.trace with parameters of type Solver Constructor Description CPProfiler(Solver aSolver, boolean sendDomain)Active connection to cp-profiler.DefaultDecisionMessage(Solver solver)Create a decision messageDefaultSolutionMessage(Solver solver)Create a solution messageGephiGenerator(String gexfFile, Solver aSolver)GraphvizGenerator(String gvFile, Solver aSolver)LogStatEveryXXms(Solver solver, long duration)Create a monitor which outputs shot-line statistics every duration millisecondsSearchViz(Solver aSolver, boolean sendDomain)Active connection to cp-profiler. -
Uses of Solver in org.chocosolver.solver.trace.frames
Constructors in org.chocosolver.solver.trace.frames with parameters of type Solver Constructor Description StatisticsPanel(Solver solver, long duration)Create a simple dashboard that show statistics from 'solver' every 'duration' milliseconds
-