Uses of Interface
org.maxicp.modeling.symbolic.Objective
Packages that use Objective
Package
Description
Root package of MaxiCP
CP Instantiation of the Symbolic Modeling API
Symbolic Modeling API
Concrete modeling API
Symbolic modeling of integer variables and objective functions
Implementation of XCSP3 API using MaxiCP
Search API
-
Uses of Objective in org.maxicp
Methods in org.maxicp that return ObjectiveModifier and TypeMethodDescriptionModelDispatcher.maximize(Expression v) ModelDispatcher.minimize(Expression v) Methods in org.maxicp with parameters of type ObjectiveModifier and TypeMethodDescriptionInstantiates the model and optimizes the given objective using black-box search.Instantiates the model and optimizes the given objective using black-box search within the given time limit (in seconds).ModelDispatcher.optimize(Objective objective, Predicate<SearchStatistics> limit) Instantiates the model and optimizes the given objective using black-box search with a stopping predicate. -
Uses of Objective in org.maxicp.cp.modeling
Methods in org.maxicp.cp.modeling with parameters of type Objective -
Uses of Objective in org.maxicp.modeling
Methods in org.maxicp.modeling that return ObjectiveModifier and TypeMethodDescriptionstatic ObjectiveFactory.maximize(IntExpression x) Creates a maximization objective for the given integer expression.static ObjectiveFactory.maximize(IntExpression x, boolean shared) Creates a maximization objective for the given integer expression.static ObjectiveFactory.minimize(IntExpression x) Creates a minimization objective for the given integer expression.static ObjectiveFactory.minimize(IntExpression x, boolean shared) Creates a minimization objective for the given integer expression.Methods in org.maxicp.modeling with parameters of type ObjectiveModifier and TypeMethodDescriptionstatic List<IntExpression> DecisionVarCollector.collectAllIntVars(ModelDispatcher model, Objective objective) Collects all integer/boolean variables relevant for black-box search on the model, starting with primary decision variables fromDecisionVarCollector.collect(ModelDispatcher), followed by any leafIntVarin the objective and any remaining registeredIntVaron theModelDispatcher. -
Uses of Objective in org.maxicp.modeling.concrete
Methods in org.maxicp.modeling.concrete with parameters of type ObjectiveModifier and TypeMethodDescriptionConcreteModel.createObjective(Objective obj) ConcreteModelProxy.createObjective(Objective obj) -
Uses of Objective in org.maxicp.modeling.symbolic
Classes in org.maxicp.modeling.symbolic that implement ObjectiveModifier and TypeClassDescriptionfinal recordfinal recordclassclassMethods in org.maxicp.modeling.symbolic that return ObjectiveModifier and TypeMethodDescriptionSymbolicModel.maximize(Expression expr) SymbolicModel.minimize(Expression expr) -
Uses of Objective in org.maxicp.modeling.xcsp3
Methods in org.maxicp.modeling.xcsp3 that return ObjectiveModifier and TypeMethodDescriptionXCSP3.XCSP3LoadedInstance.objective()Returns the value of theobjectiverecord component.Constructors in org.maxicp.modeling.xcsp3 with parameters of type ObjectiveModifierConstructorDescriptionXCSP3LoadedInstance(ModelDispatcher md, IntExpression[] decisionVars, String[] decisionVarIds, Supplier<String> solutionGenerator, Objective objective) XCSP3LoadedInstance(ModelDispatcher md, IntExpression[] decisionVars, String[] decisionVarIds, Supplier<String> solutionGenerator, Objective objective, Function<List<Integer>, String> solutionFormatter) Creates an instance of aXCSP3LoadedInstancerecord class. -
Uses of Objective in org.maxicp.search
Methods in org.maxicp.search with parameters of type ObjectiveModifier and TypeMethodDescriptionAbstractSearchMethod.optimize(Objective obj, Predicate<SearchStatistics> limit) SearchMethod.optimize(Objective obj, Predicate<SearchStatistics> limit) AbstractSearchMethod.optimizeSubjectTo(Objective objToTighten, Predicate<SearchStatistics> limit, Runnable subjectTo) SearchMethod.optimizeSubjectTo(Objective objToTighten, Predicate<SearchStatistics> limit, Runnable subjectTo) -
Uses of Objective in org.maxicp.search.blackbox
Methods in org.maxicp.search.blackbox with parameters of type ObjectiveModifier and TypeMethodDescriptionstatic ModelStructureAnalyzerModelStructureAnalyzer.analyze(ModelDispatcher model, List<IntExpression> vars, Objective objective) Optimizes the given objective under a wall-clock timeout in seconds.BlackBoxSearch.optimize(Objective obj, Predicate<SearchStatistics> limit) static ModelingBlackBox.ResultModelingBlackBox.optimize(ModelDispatcher model, IntExpression[] decisionVars, Objective objective, int timeLimitInSeconds) Solves an optimization model with default black-box settings.static ModelingBlackBox.ResultModelingBlackBox.optimize(ModelDispatcher model, IntExpression[] decisionVars, Objective objective, int timeLimitInSeconds, UnaryOperator<ModelingBlackBox.OptimizeConfig> configurer) Solves an optimization model with caller-provided configuration.static ModelingBlackBox.ResultModelingBlackBox.optimize(ModelDispatcher model, Objective objective, int timeLimitInSeconds) Solves an optimization model with automatic decision variable discovery and default black-box settings.static ModelingBlackBox.ResultModelingBlackBox.optimize(ModelDispatcher model, Objective objective, int timeLimitInSeconds, UnaryOperator<ModelingBlackBox.OptimizeConfig> configurer) Solves an optimization model with automatic decision variable discovery and caller-provided configuration.BlackBoxSearch.optimizeSubjectTo(Objective objToTighten, Predicate<SearchStatistics> limit, Runnable subjectTo) Constructors in org.maxicp.search.blackbox with parameters of type ObjectiveModifierConstructorDescriptionBlackBoxSearch(ModelDispatcher model, List<IntExpression> vars, Objective objective) Creates a black-box search on explicit integer decision variables with an objective.BlackBoxSearch(ModelDispatcher model, IntExpression[] vars, Objective objective) Creates a black-box search on an array of integer decision variables with an objective.BlackBoxSearch(ModelDispatcher model, Objective objective) Creates a black-box search with automatic decision-variable and interval-variable inference.DFSRunnableSearch(BlackBoxSearch blackBoxSearch, ModelDispatcher model, List<IntExpression> vars, Objective objective, double randomSwapProbability, long randomSeed) LNSRunnableSearch(BlackBoxSearch blackBoxSearch, ModelDispatcher model, List<IntExpression> vars, Objective objective, int failureLimitPerRestart, int freezeRatePercent, double randomSwapProbability, long randomSeed) LNSRunnableSearch(BlackBoxSearch blackBoxSearch, ModelDispatcher model, List<IntExpression> vars, Objective objective, int failureLimitPerRestart, int freezeRatePercent, double randomSwapProbability, long randomSeed, BlackBoxSearch.FragmentSelectionStrategy fragmentSelectionStrategy) SchedulingLNSRunnableSearch(BlackBoxSearch blackBoxSearch, ModelDispatcher model, List<IntervalVar> intervals, List<IntExpression> vars, Objective objective, int failureLimitPerRestart, int initialFreezeRatePercent, long randomSeed) SchedulingRunnableSearch(BlackBoxSearch blackBoxSearch, ModelDispatcher model, List<IntervalVar> intervals, List<IntExpression> vars, Objective objective, long randomSeed)