Uses of Class
org.chocosolver.solver.Model
-
-
Uses of Model in org.chocosolver.sat
Constructors in org.chocosolver.sat with parameters of type Model Constructor Description PropNogoods(Model model)Create a (unique) propagator for no-goods recording and propagation.PropSat(Model model)Create a (unique) propagator for clauses recording and propagation. -
Uses of Model in org.chocosolver.solver
Fields in org.chocosolver.solver declared as Model Modifier and Type Field Description protected ModelSolver. mModelThe declaring modelMethods in org.chocosolver.solver that return Model Modifier and Type Method Description ModelParallelPortfolio. getBestModel()Returns the first model from the list which, either : finds a solution when dealing with a satisfaction problem, or finds (and possibly proves) the best solution when dealing with an optimization problem.ModelSolver. getModel()ModelModel. ref()Methods in org.chocosolver.solver that return types with arguments of type Model Modifier and Type Method Description List<Model>ParallelPortfolio. getModels()Methods in org.chocosolver.solver with parameters of type Model Modifier and Type Method Description voidParallelPortfolio. addModel(Model model)Adds a model to the list of models to run in parallel.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.AbstractStrategyDefaultSettings. makeDefaultSearch(Model model)AbstractStrategySettings. makeDefaultSearch(Model model)Creates a default search strategy for the input modelMethod parameters in org.chocosolver.solver with type arguments of type Model Modifier and Type Method Description DefaultSettingsDefaultSettings. setDefaultSearch(Function<Model,AbstractStrategy> defaultSearch)SettingsSettings. setDefaultSearch(Function<Model,AbstractStrategy> defaultSearch)Define a default search strategy for the input modelDefaultSettingsDefaultSettings. setInitSolver(Function<Model,Solver> initSolver)SettingsSettings. setInitSolver(Function<Model,Solver> initSolver)Define the solver initializationConstructors in org.chocosolver.solver with parameters of type Model Constructor Description Solution(Model model, Variable... varsToStore)Create an empty solution object able to store the value of each variable invarsToStorewhen callingrecord()Stores all variables by default, whenvarsToStoreis emptySolver(Model aModel)Create a resolver based for the model aModel. -
Uses of Model in org.chocosolver.solver.constraints
Fields in org.chocosolver.solver.constraints declared as Model Modifier and Type Field Description protected ModelPropagator. modelReference to the model declaring this propagator.Methods in org.chocosolver.solver.constraints that return Model Modifier and Type Method Description ModelPropagator. getModel() -
Uses of Model in org.chocosolver.solver.constraints.nary.cnf
Methods in org.chocosolver.solver.constraints.nary.cnf with parameters of type Model Modifier and Type Method Description static ILogicalLogicTreeToolBox. simplify(ILogical t, Model model)Detects tautologies and contradictions fromtstatic ILogicalLogicTreeToolBox. simplifySingleton(ILogical l, Model model)Remove tautologies fromlstatic ILogicalLogicTreeToolBox. toCNF(LogOp logOp, Model model)Warning: if there is a bug, please check the CNF build is like: - lit OR lit ...Constructors in org.chocosolver.solver.constraints.nary.cnf with parameters of type Model Constructor Description SatConstraint(Model model) -
Uses of Model in org.chocosolver.solver.constraints.nary.globalcardinality
Methods in org.chocosolver.solver.constraints.nary.globalcardinality with parameters of type Model Modifier and Type Method Description static ConstraintGlobalCardinality. reformulate(IntVar[] vars, IntVar[] card, Model model) -
Uses of Model in org.chocosolver.solver.constraints.nary.nogood
Constructors in org.chocosolver.solver.constraints.nary.nogood with parameters of type Model Constructor Description NogoodConstraint(Model model) -
Uses of Model in org.chocosolver.solver.constraints.nary.nvalue.amnv.graph
Constructors in org.chocosolver.solver.constraints.nary.nvalue.amnv.graph with parameters of type Model Constructor Description G(Model model, int nbNodes)Creates a backtrackable undirected graph of nbNodes nodes -
Uses of Model in org.chocosolver.solver.constraints.nary.nvalue.amnv.rules
Constructors in org.chocosolver.solver.constraints.nary.nvalue.amnv.rules with parameters of type Model Constructor Description R3(int nbDecVars, Model model) -
Uses of Model in org.chocosolver.solver.explanations
Constructors in org.chocosolver.solver.explanations with parameters of type Model Constructor Description ExplanationEngine(Model model, boolean partialExplanationsOn, boolean recordCauses)Create an explanation engine based on a rule store -
Uses of Model in org.chocosolver.solver.expression.continuous.arithmetic
Methods in org.chocosolver.solver.expression.continuous.arithmetic that return Model Modifier and Type Method Description ModelBiCArExpression. getModel()ModelCArExpression. getModel()Return the associated modelModelUnCArExpression. getModel() -
Uses of Model in org.chocosolver.solver.expression.discrete.arithmetic
Methods in org.chocosolver.solver.expression.discrete.arithmetic that return Model Modifier and Type Method Description ModelArExpression. getModel()Return the associated modelModelBiArExpression. getModel()ModelIfArExpression. getModel()ModelNaArExpression. getModel()ModelUnArExpression. getModel() -
Uses of Model in org.chocosolver.solver.expression.discrete.logical
Fields in org.chocosolver.solver.expression.discrete.logical declared as Model Modifier and Type Field Description protected ModelLoExpression. modelThe model in which the expression is declaredMethods in org.chocosolver.solver.expression.discrete.logical that return Model Modifier and Type Method Description ModelBiLoExpression. getModel()abstract ModelLoExpression. getModel()Return the associated modelModelNaLoExpression. getModel()ModelUnLoExpression. getModel()Constructors in org.chocosolver.solver.expression.discrete.logical with parameters of type Model Constructor Description LoExpression(Model model, LoExpression.Operator op) -
Uses of Model in org.chocosolver.solver.expression.discrete.relational
Methods in org.chocosolver.solver.expression.discrete.relational that return Model Modifier and Type Method Description ModelBiReExpression. getModel()ModelNaReExpression. getModel()ModelReExpression. getModel()Return the associated model -
Uses of Model in org.chocosolver.solver.propagation
Constructors in org.chocosolver.solver.propagation with parameters of type Model Constructor Description PropagationEngine(Model model)A seven-queue propagation engine. -
Uses of Model in org.chocosolver.solver.search.limits
Constructors in org.chocosolver.solver.search.limits with parameters of type Model Constructor Description BacktrackCounter(Model model, long backtracklimit)FailCounter(Model model, long faillimit)NodeCounter(Model model, long nodelimit)SolutionCounter(Model model, long solutionlimit)TimeCounter(Model model, long timeLimitInNano) -
Uses of Model in org.chocosolver.solver.search.loop
Methods in org.chocosolver.solver.search.loop with parameters of type Model Modifier and Type Method Description static StringReporting. fullReport(Model model)static StringReporting. onDecisions(Model model)static StringReporting. onUninstiatedVariables(Model model)static StringReporting. onUnsatisfiedConstraints(Model model) -
Uses of Model in org.chocosolver.solver.search.loop.learn
Fields in org.chocosolver.solver.search.loop.learn declared as Model Modifier and Type Field Description protected ModelLearnExplained. mModelThe solver to explain.Constructors in org.chocosolver.solver.search.loop.learn with parameters of type Model Constructor Description LearnCBJ(Model mModel, boolean nogoodFromConflict, boolean userFeedbackOn)Create a Conflict-based Backjumping strategy.LearnDBT(Model mModel, boolean nogoodFromConflict, boolean userFeedbackOn)Create a Dynamic Backtracking strategy.LearnExplained(Model mModel, boolean partialExplanationsOn, boolean recordCauses)Equips the solver with an explanation engine, which is able to explain failures and solutions. -
Uses of Model in org.chocosolver.solver.search.loop.lns.neighbors
Fields in org.chocosolver.solver.search.loop.lns.neighbors declared as Model Modifier and Type Field Description protected ModelExplainingCut. mModelReference to the modelprotected ModelPropagationGuidedNeighborhood. mModelReference to the modelprotected ModelRandomNeighborhood. mModelReference to the modelConstructors in org.chocosolver.solver.search.loop.lns.neighbors with parameters of type Model Constructor Description ExplainingCut(Model aModel, int level, long seed)Create a neighborhood which analyses the explanation of the cut wrt decision path to focus on decisions more prone to not interact with the cutExplainingObjective(Model aModel, int level, long seed)Create a neighborhood which analyses the explanation of the objective current value to focus on decisions more prone to improve its value -
Uses of Model in org.chocosolver.solver.search.loop.monitors
Constructors in org.chocosolver.solver.search.loop.monitors with parameters of type Model Constructor Description NogoodFromRestarts(Model model)A constraint for the specific Nogood store designed to store ONLY positive decisions. -
Uses of Model in org.chocosolver.solver.search.loop.move
Constructors in org.chocosolver.solver.search.loop.move with parameters of type Model Constructor Description MoveBinaryHBFS(Model model, AbstractStrategy strategy, double a, double b, long N)Create a move dedicated to run an Hybrid Best-First Search[1] (HBFS) with binary decisions.MoveSeq(Model model, Move... moves)Create a move which sequentially apply a move. -
Uses of Model in org.chocosolver.solver.search.strategy
Methods in org.chocosolver.solver.search.strategy with parameters of type Model Modifier and Type Method Description static AbstractStrategySearch. defaultSearch(Model model)Creates a default search strategy for the given model.static AbstractStrategySearch. ibexSolving(Model model)Create a strategy which lets Ibex terminates the solving process for the CSP, once all integer variables have been instantiated. -
Uses of Model in org.chocosolver.solver.search.strategy.decision
Constructors in org.chocosolver.solver.search.strategy.decision with parameters of type Model Constructor Description IbexDecision(Model model)Create an decision based on anRealVar -
Uses of Model in org.chocosolver.solver.search.strategy.selectors.variables
Constructors in org.chocosolver.solver.search.strategy.selectors.variables with parameters of type Model Constructor Description ActivityBased(Model model, IntVar[] vars, double g, double d, int a, int samplingIterationForced, long seed)AntiFirstFail(Model model)First fail variable selector.FirstFail(Model model)First fail variable selector.InputOrder(Model model)Input order variable selector. -
Uses of Model in org.chocosolver.solver.search.strategy.strategy
Fields in org.chocosolver.solver.search.strategy.strategy declared as Model Modifier and Type Field Description protected ModelConflictOrderingSearch. modelThe target solverprotected ModelLastConflict. modelThe target solverConstructors in org.chocosolver.solver.search.strategy.strategy with parameters of type Model Constructor Description ConflictOrderingSearch(Model model, AbstractStrategy<V> mainStrategy)Creates a conflict-ordering searchLastConflict(Model model, AbstractStrategy<V> mainStrategy, int k)Creates a last conflict heuristic -
Uses of Model in org.chocosolver.solver.trace
Methods in org.chocosolver.solver.trace with parameters of type Model Modifier and Type Method Description static voidGephiNetwork. write(String gexfFile, Model model) -
Uses of Model in org.chocosolver.solver.variables
Methods in org.chocosolver.solver.variables that return Model Modifier and Type Method Description ModelVariable. getModel()Return the associated model -
Uses of Model in org.chocosolver.solver.variables.impl
Fields in org.chocosolver.solver.variables.impl declared as Model Modifier and Type Field Description protected ModelAbstractVariable. modelReference to the model containing this variable (unique).Methods in org.chocosolver.solver.variables.impl that return Model Modifier and Type Method Description ModelAbstractVariable. getModel()Constructors in org.chocosolver.solver.variables.impl with parameters of type Model Constructor Description AbstractVariable(String name, Model model)Create the shared data of any type of variable.BitsetArrayIntVarImpl(String name, int[] sortedValues, Model model)Creates anIntVarbased on an array of non-consecutive but ordered values.BitsetIntVarImpl(String name, int[] sortedValues, Model model)Create an enumerated IntVar based on a bitsetBitsetIntVarImpl(String name, int min, int max, Model model)Create an enumerated IntVar based on a bitsetBoolVarImpl(String name, Model model)Create a BoolVar {0,1} or {true, false}FixedBoolVarImpl(String name, int constant, Model model)FixedIntVarImpl(String name, int constante, Model model)Creates a variable whom domain is natively reduced to the singleton {constante}.FixedRealVarImpl(String name, double value, Model model)Create the shared data of any type of variable.IntervalIntVarImpl(String name, int min, int max, Model model)Create a bounded domain IntVar : [min,max]RealVarImpl(String name, double lb, double ub, double precision, Model model)SetVarImpl(String name, int[] value, Model model)Creates a fixed Set variable, equal tovalueSetVarImpl(String name, int[] ker, SetType kerType, int[] env, SetType envType, Model model)Creates a Set variableSetVarImpl(String name, ISet value, Model model)Creates a fixed Set variable, equal tovalueBeware : Use this constructor with caution (domain is directly accessible) value should be created properly and should not be modified afterwardSetVarImpl(String name, ISet lb, ISet ub, Model model)Creates a set variable, of domain[lb, ub]Beware : Use this constructor with caution (domain is directly accessible) lb and ub should be created properly (e.g. lb subset of ub) and should not be modified externally Both lb and ub should be backtrackable sets (stored sets): use SetFactory.makeStoredSet to build them -
Uses of Model in org.chocosolver.util.objects.graphs
Constructors in org.chocosolver.util.objects.graphs with parameters of type Model Constructor Description DirectedGraph(Model model, int n, SetType type, boolean allNodes)Creates an empty backtrable graph of n nodes Allocates memory for n nodes (but they should then be added explicitly, unless allNodes is true).UndirectedGraph(Model model, int n, SetType type, boolean allNodes)Creates an empty backtrable undirected graph. -
Uses of Model in org.chocosolver.util.objects.setDataStructures
Methods in org.chocosolver.util.objects.setDataStructures with parameters of type Model Modifier and Type Method Description static ISetSetFactory. makeStoredSet(SetType type, int offSet, Model model)Creates a stored set of integers greater or equal thanoffSetSuch a set is restored after a backtrackConstructors in org.chocosolver.util.objects.setDataStructures with parameters of type Model Constructor Description StdSet(Model model, ISet set) -
Uses of Model in org.chocosolver.util.tools
Methods in org.chocosolver.util.tools with parameters of type Model Modifier and Type Method Description static IntVar[]VariableUtils. toIntVar(Model model, int... values)Transform an array of int to an array of fixed IntVar
-