Uses of Interface
org.maxicp.modeling.algebra.integer.IntExpression
Packages that use IntExpression
Package
Description
Root package of MaxiCP
Solver objects
Examples of models using the symbolic modeling API
CP Instantiation of the Symbolic Modeling API
Symbolic Modeling API
Abstract Syntax Tree for modeling expressions
Symbolic modeling over boolean variables
Symbolic modeling over integer variables
Symbolic modeling for scheduling problems
Concrete modeling API
Symbolic constraints
Symbolic constraints for scheduling
Symbolic constraints for sequence variables
Symbolic modeling of integer variables and objective functions
Implementation of XCSP3 API using MaxiCP
Search API
-
Uses of IntExpression in org.maxicp
Methods in org.maxicp that return IntExpressionModifier and TypeMethodDescriptionModelDispatcher.intVarArray(int n, Function<Integer, IntExpression> body) Methods in org.maxicp that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionModelDispatcher.getDecisionVariables()Infers the decision variables from the constraint graph of the current model.Methods in org.maxicp with parameters of type IntExpressionModifier and TypeMethodDescriptionModelDispatcher.blackBoxSearch(IntExpression... vars) Creates a black-box search over the specified integer decision variables.Method parameters in org.maxicp with type arguments of type IntExpressionModifier and TypeMethodDescriptionvoidModelDispatcher.addVariableGroup(List<IntExpression> group) ModelDispatcher.intVarArray(int n, Function<Integer, IntExpression> body) -
Uses of IntExpression in org.maxicp.cp.engine.core
Subinterfaces of IntExpression in org.maxicp.cp.engine.coreModifier and TypeInterfaceDescriptioninterfaceBoolean variable, that can be used as a 0-1 IntVar.interfaceClasses in org.maxicp.cp.engine.core that implement IntExpressionModifier and TypeClassDescriptionclassclassclassclassImplementation of a variable with aSparseSetDomain.classA view on a variable of typea*xclassA view on a variable of typex+oclassA view on a variable of type-xMethods in org.maxicp.cp.engine.core that return IntExpressionModifier and TypeMethodDescriptiondefault IntExpressionCPIntVar.abs()default IntExpressionCPIntVar.minus(int v) default IntExpressionCPIntVar.minus(IntExpression v) default IntExpressionCPIntVar.plus(int v) default IntExpressionCPIntVar.plus(IntExpression v) Methods in org.maxicp.cp.engine.core with parameters of type IntExpressionModifier and TypeMethodDescriptiondefault IntExpressionCPIntVar.minus(IntExpression v) default IntExpressionCPIntVar.plus(IntExpression v) -
Uses of IntExpression in org.maxicp.cp.examples.modeling
Methods in org.maxicp.cp.examples.modeling with parameters of type IntExpressionModifier and TypeMethodDescriptionstatic IntVar[]Eternity.flatten(IntExpression[][] x) static voidEternity.prettyPrint(IntExpression[][] u, IntExpression[][] l, IntExpression[][] r, IntExpression[][] d) -
Uses of IntExpression in org.maxicp.cp.modeling
Methods in org.maxicp.cp.modeling that return types with arguments of type IntExpressionMethods in org.maxicp.cp.modeling with parameters of type IntExpressionModifier and TypeMethodDescriptionvoidConcreteCPModel.enforceEqualityIntExpression(IntExpression expr, CPIntVar v) Enforce that v == expr, without using Equal/NotEqual if possible.ConcreteCPModel.getConcreteVar(IntExpression expr) ConcreteCPModel.getCPVar(IntExpression v) CPIntVar[]ConcreteCPModel.getCPVar(IntExpression[] v) ConcreteCPModel.maximize(IntExpression v) ConcreteCPModel.minimize(IntExpression v) -
Uses of IntExpression in org.maxicp.modeling
Subinterfaces of IntExpression in org.maxicp.modelingMethods in org.maxicp.modeling that return IntExpressionModifier and TypeMethodDescriptionstatic IntExpressionFactory.abs(IntExpression x) Returns an integer expression representing the absolute value|x|.static IntExpressionFactory.cst(ModelProxy modelProxy, int v) Creates a constant integer expression with valuev.static IntExpressionFactory.div(IntExpression a, int b) Returns an integer expression representing the integer divisiona / b.static IntExpressionFactory.div(IntExpression x, IntExpression y) Returns an integer expression representing the integer divisionx / y.static IntExpressionFactory.end(IntervalVar interval) static IntExpressionFactory.endOr(IntervalVar interval, int v) static IntExpressionFactory.get(int[][] T, IntExpression x, IntExpression y) Returns an integer expression representingT[x][y].static IntExpressionFactory.get(int[] T, IntExpression y) Returns an integer expression representingT[y].static IntExpressionFactory.get(IntExpression[][] T, IntExpression x, IntExpression y) Returns an integer expression representingT[x][y].static IntExpressionFactory.get(IntExpression[] T, IntExpression y) Returns an integer expression representingT[y].static IntExpressionFactory.length(IntervalVar interval) static IntExpressionFactory.lengthOr(IntervalVar interval, int v) static IntExpressionFactory.max(IntExpression... x) Returns an integer expression representing the maximum of the given expressions.static IntExpressionFactory.min(IntExpression... x) Returns an integer expression representing the minimum of the given expressions.static IntExpressionFactory.minus(IntExpression a) Returns an integer expression representing the unary negation-a.static IntExpressionFactory.minus(IntExpression a, int v) Returns an integer expression representinga - v.static IntExpressionFactory.minus(IntExpression a, IntExpression b) Returns an integer expression representinga - b.static IntExpressionFactory.mul(int b, IntExpression a) Returns an integer expression representingb * a.static IntExpressionFactory.mul(IntExpression... x) Returns an integer expression representing the product of the given expressions.static IntExpressionFactory.mul(IntExpression a, int b) Returns an integer expression representinga * b.static IntExpressionFactory.mul(IntExpression x, BoolExpression b) Returns an integer expression representingx * bwherebis a boolean expression.static IntExpressionFactory.plus(IntExpression a, int v) Returns an integer expression representinga + v.static IntExpressionFactory.plus(IntExpression a, IntExpression b) Returns an integer expression representinga + b.static IntExpressionFactory.start(IntervalVar interval) static IntExpressionFactory.startOr(IntervalVar interval, int v) static IntExpressionFactory.sum(IntExpression... x) Returns an integer expression representing the sum of the given expressions.Methods in org.maxicp.modeling that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionstatic List<IntExpression> DecisionVarCollector.collect(ModelDispatcher model) Collects all candidate integer/boolean decision variables inferred from the model's constraint graph.static 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.DecisionVarsProvider.decisionVariables()Returns the sub-expressions of this node that should be considered decision variables (i.e., variables to branch on / freeze in LNS).default List<List<IntExpression>> Model.getVariableGroups()Methods in org.maxicp.modeling with parameters of type IntExpressionModifier and TypeMethodDescriptionstatic IntExpressionFactory.abs(IntExpression x) Returns an integer expression representing the absolute value|x|.static ConstraintFactory.allDifferent(IntExpression... x) Creates anAllDifferentconstraint ensuring that all expressions inxtake pairwise distinct values.static ConstraintFactory.alternative(IntervalVar real, IntExpression n, IntervalVar... alternatives) static ConstraintFactory.among(IntExpression[] x, Set<Integer> values, IntExpression count) static ConstraintFactory.binPacking(IntExpression[] x, int[] weights, IntExpression[] loads) static ConstraintFactory.cardinalityMax(IntExpression[] x, int[] maxCard) Creates aCardinalityMaxconstraint ensuring that each valuevappears at mostmaxCard[v]times inx.static ConstraintFactory.cardinalityMin(IntExpression[] x, int[] minCard) Creates aCardinalityMinconstraint ensuring that each valuevappears at leastminCard[v]times inx.static ConstraintFactory.circuit(IntExpression... x) Creates aCircuitconstraint ensuring that the successor arrayxforms a single Hamiltonian circuit.static ConstraintFactory.cumulative(IntExpression[] start, int[] duration, int[] demand, int capa) Creates aCumulativescheduling constraint with constant durations, demands, and capacity.static ConstraintFactory.cumulative(IntExpression[] start, IntExpression[] duration, IntExpression[] end, IntExpression[] demand, IntExpression capa) Creates aCumulativescheduling constraint with variable durations, ends, demands, and capacity.static ConstraintFactory.disjunctive(IntExpression[] start, int[] duration) Creates aDisjunctivescheduling constraint with constant activity durations.static ConstraintFactory.disjunctive(IntExpression[] start, IntExpression[] duration) Creates aDisjunctivescheduling constraint with variable activity durations.static ConstraintFactory.distance(SeqVar seqVar, int[][] distanceMatrix, IntExpression distance) Creates aDistanceconstraint on a sequence variable maintaining the total travel distance.static IntExpressionFactory.div(IntExpression a, int b) Returns an integer expression representing the integer divisiona / b.static IntExpressionFactory.div(IntExpression x, IntExpression y) Returns an integer expression representing the integer divisionx / y.static BoolExpressionFactory.endAfter(IntervalVar intervalVar, IntExpression value) static BoolExpressionFactory.endBefore(IntervalVar intervalVar, IntExpression value) static BoolExpressionFactory.eq(int a, IntExpression b) Returns a boolean expression representinga == b.static BoolExpressionFactory.eq(IntExpression a, int b) Returns a boolean expression representinga == b.static BoolExpressionFactory.eq(IntExpression a, IntExpression b) Returns a boolean expression representinga == b.static BoolExpressionFactory.ge(int a, IntExpression b) Returns a boolean expression representinga >= b.static BoolExpressionFactory.ge(IntExpression a, int b) Returns a boolean expression representinga >= b.static BoolExpressionFactory.ge(IntExpression a, IntExpression b) Returns a boolean expression representinga >= b.static IntExpressionFactory.get(int[][] T, IntExpression x, IntExpression y) Returns an integer expression representingT[x][y].static IntExpressionFactory.get(int[] T, IntExpression y) Returns an integer expression representingT[y].static IntExpressionFactory.get(IntExpression[][] T, IntExpression x, IntExpression y) Returns an integer expression representingT[x][y].static IntExpressionFactory.get(IntExpression[] T, IntExpression y) Returns an integer expression representingT[y].static BoolExpressionFactory.gt(int a, IntExpression b) Returns a boolean expression representinga > b.static BoolExpressionFactory.gt(IntExpression a, int b) Returns a boolean expression representinga > b.static BoolExpressionFactory.gt(IntExpression a, IntExpression b) Returns a boolean expression representinga > b.static BoolExpressionFactory.le(int a, IntExpression b) Returns a boolean expression representinga <= b.static BoolExpressionFactory.le(IntExpression a, int b) Returns a boolean expression representinga <= b.static BoolExpressionFactory.le(IntExpression a, IntExpression b) Returns a boolean expression representinga <= b.static ConstraintFactory.lexLe(IntExpression[] x, IntExpression[] y) Creates a non-strict lexicographic ordering constraintx <=_lex y.static ConstraintFactory.lexLt(IntExpression[] x, IntExpression[] y) Creates a strict lexicographic ordering constraintx <_lex y.static BoolExpressionFactory.lt(int a, IntExpression b) Returns a boolean expression representinga < b.static BoolExpressionFactory.lt(IntExpression a, int b) Returns a boolean expression representinga < b.static BoolExpressionFactory.lt(IntExpression a, IntExpression b) Returns a boolean expression representinga < b.static IntExpressionFactory.max(IntExpression... x) Returns an integer expression representing the maximum of the given expressions.static 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 IntExpressionFactory.min(IntExpression... x) Returns an integer expression representing the minimum of the given expressions.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.static IntExpressionFactory.minus(IntExpression a) Returns an integer expression representing the unary negation-a.static IntExpressionFactory.minus(IntExpression a, int v) Returns an integer expression representinga - v.static IntExpressionFactory.minus(IntExpression a, IntExpression b) Returns an integer expression representinga - b.static IntExpressionFactory.mul(int b, IntExpression a) Returns an integer expression representingb * a.static IntExpressionFactory.mul(IntExpression... x) Returns an integer expression representing the product of the given expressions.static IntExpressionFactory.mul(IntExpression a, int b) Returns an integer expression representinga * b.static IntExpressionFactory.mul(IntExpression x, BoolExpression b) Returns an integer expression representingx * bwherebis a boolean expression.static ConstraintFactory.negTable(IntExpression[] x, int[][] array, Optional<Integer> starred) Creates a negativeNegTableconstraint ensuring that the tuple assigned toxdoes not match any tuple inarray.static BoolExpressionFactory.neq(int a, IntExpression b) Returns a boolean expression representinga != b.static BoolExpressionFactory.neq(IntExpression a, int b) Returns a boolean expression representinga != b.static BoolExpressionFactory.neq(IntExpression a, IntExpression b) Returns a boolean expression representinga != b.static ConstraintFactory.noOverlap(IntervalVar[] intervals, IntExpression[] posOfInterval, IntExpression[] intervalInPos) Creates a noOverlap constraint with position variables and zero transition times.static ConstraintFactory.noOverlap(IntervalVar[] intervals, IntExpression[] posOfInterval, IntExpression[] intervalInPos, int[][] minTransition) Creates a noOverlap constraint with position variables and minimum transition times.static IntExpressionFactory.plus(IntExpression a, int v) Returns an integer expression representinga + v.static IntExpressionFactory.plus(IntExpression a, IntExpression b) Returns an integer expression representinga + b.static CumulFunctionFactory.pulse(IntervalVar interval, IntExpression height) static BoolExpressionFactory.startAfter(IntervalVar intervalVar, IntExpression value) static BoolExpressionFactory.startBefore(IntervalVar intervalVar, IntExpression value) static ConstraintFactory.subCircuit(IntExpression... x) Creates aSubCircuitconstraint ensuring that the successor arrayxforms at most one circuit.static IntExpressionFactory.sum(IntExpression... x) Returns an integer expression representing the sum of the given expressions.static ConstraintFactory.table(IntExpression[] x, int[][] array, Optional<Integer> starred) static ConstraintFactory.transitionTimes(SeqVar seqVar, IntExpression[] time, int[][] dist) Creates aTransitionTimesconstraint linking visit times with transition distances inseqVar.static ConstraintFactory.transitionTimes(SeqVar seqVar, IntExpression[] time, int[][] dist, int[] serviceTime) Creates aTransitionTimesconstraint linking visit times with transition distances and service durations inseqVar. -
Uses of IntExpression in org.maxicp.modeling.algebra
Method parameters in org.maxicp.modeling.algebra with type arguments of type IntExpressionModifier and TypeMethodDescriptionstatic Function<Expression, Expression> ExpressionMapper.recursiveIntExprMapper(Function<IntExpression, IntExpression> f) static Function<Expression, Expression> ExpressionMapper.recursiveIntExprMapper(Function<IntExpression, IntExpression> f) -
Uses of IntExpression in org.maxicp.modeling.algebra.bool
Subinterfaces of IntExpression in org.maxicp.modeling.algebra.boolClasses in org.maxicp.modeling.algebra.bool that implement IntExpressionModifier and TypeClassDescriptionfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordBoolean variable that represents if an interval is executed before a given valueMethods in org.maxicp.modeling.algebra.bool that return IntExpressionModifier and TypeMethodDescriptionEq.a()Returns the value of thearecord component.GreaterOrEq.a()Returns the value of thearecord component.InSet.a()Returns the value of thearecord component.LessOrEq.a()Returns the value of thearecord component.NotEq.a()Returns the value of thearecord component.Eq.b()Returns the value of thebrecord component.GreaterOrEq.b()Returns the value of thebrecord component.LessOrEq.b()Returns the value of thebrecord component.NotEq.b()Returns the value of thebrecord component.EndBefore.end()Returns the value of theendrecord component.EndAfter.mapSubexpressions(Function<Expression, Expression> f) EndBefore.mapSubexpressions(Function<Expression, Expression> f) EndBeforeStart.mapSubexpressions(Function<Expression, Expression> f) GreaterOrEq.mapSubexpressions(Function<Expression, Expression> f) InSet.mapSubexpressions(Function<Expression, Expression> f) LessOrEq.mapSubexpressions(Function<Expression, Expression> f) NotEq.mapSubexpressions(Function<Expression, Expression> f) Present.mapSubexpressions(Function<Expression, Expression> f) StartAfter.mapSubexpressions(Function<Expression, Expression> f) StartBefore.mapSubexpressions(Function<Expression, Expression> f) EndAfter.value()Returns the value of thevaluerecord component.StartAfter.value()Returns the value of thevaluerecord component.StartBefore.value()Returns the value of thevaluerecord component.Constructors in org.maxicp.modeling.algebra.bool with parameters of type IntExpressionModifierConstructorDescriptionEndAfter(IntervalVar interval, IntExpression value) Creates an instance of aEndAfterrecord class.EndBefore(IntervalVar intervalVar, IntExpression end) Creates an instance of aEndBeforerecord class.Eq(int a, IntExpression b) Eq(IntExpression a, int b) Eq(IntExpression a, IntExpression b) Creates an instance of aEqrecord class.GreaterOrEq(int a, IntExpression b) GreaterOrEq(IntExpression a, int b) Creates an instance of aGreaterOrEqrecord class.InSet(IntExpression a, Set<Integer> b) Creates an instance of aInSetrecord class.LessOrEq(int a, IntExpression b) LessOrEq(IntExpression a, int b) Creates an instance of aLessOrEqrecord class.NotEq(int a, IntExpression b) NotEq(IntExpression a, int b) NotEq(IntExpression a, IntExpression b) Creates an instance of aNotEqrecord class.StartAfter(IntervalVar interval, IntExpression value) Creates an instance of aStartAfterrecord class.StartBefore(IntervalVar interval, IntExpression value) Creates an instance of aStartBeforerecord class. -
Uses of IntExpression in org.maxicp.modeling.algebra.integer
Subinterfaces of IntExpression in org.maxicp.modeling.algebra.integerClasses in org.maxicp.modeling.algebra.integer that implement IntExpressionModifier and TypeClassDescriptionfinal recordfinal recordfinal recordfinal recordfinal recordExpression x / yfinal recordfinal recordfinal recordfinal recordfinal recordGives the end of anIntervalVarfinal recordGives the end of anIntervalVaror a given value if the interval is not presentfinal recordGives the length of anIntervalVarfinal recordGives the length anIntervalVaror a given value if the interval is not presentfinal recordGives the start of anIntervalVarfinal recordGives the start of anIntervalVaror a given value if the interval is not presentfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordMethods in org.maxicp.modeling.algebra.integer that return IntExpressionModifier and TypeMethodDescriptionIntExpression.abs()default IntExpressionSymbolicIntExpression.abs()Element1DVar.array()Returns the value of thearrayrecord component.IntExpression[][]Element2DVar.array()Returns the value of thearrayrecord component.Abs.expr()Returns the value of theexprrecord component.CstMul.expr()Returns the value of theexprrecord component.CstOffset.expr()Returns the value of theexprrecord component.UnaryMinus.expr()Returns the value of theexprrecord component.Max.exprs()Returns the value of theexprsrecord component.Min.exprs()Returns the value of theexprsrecord component.Element1D.index()Returns the value of theindexrecord component.Element1DVar.index()Returns the value of theindexrecord component.IntervalEnd.mapSubexpressions(Function<Expression, Expression> f) IntervalEndOrValue.mapSubexpressions(Function<Expression, Expression> f) IntervalLength.mapSubexpressions(Function<Expression, Expression> f) IntervalLengthOrValue.mapSubexpressions(Function<Expression, Expression> f) IntervalStart.mapSubexpressions(Function<Expression, Expression> f) IntervalStartOrValue.mapSubexpressions(Function<Expression, Expression> f) IntExpression.mapSubexpressions(Function<Expression, Expression> f) IntExpression.minus(int v) IntExpression.minus(IntExpression v) default IntExpressionSymbolicIntExpression.minus(int v) default IntExpressionSymbolicIntExpression.minus(IntExpression v) default IntExpressionIntExpression.mul(IntExpression v) default IntExpressionSymbolicIntExpression.mul(int v) IntExpression.plus(int v) IntExpression.plus(IntExpression v) default IntExpressionSymbolicIntExpression.plus(int v) default IntExpressionSymbolicIntExpression.plus(IntExpression v) Mul.subexprs()Returns the value of thesubexprsrecord component.Sum.subexprs()Returns the value of thesubexprsrecord component.WeightedSum.subexprs()Returns the value of thesubexprsrecord component.Div.x()Returns the value of thexrecord component.Element2D.x()Returns the value of thexrecord component.Element2DVar.x()Returns the value of thexrecord component.MulBinary.x()Returns the value of thexrecord component.Div.y()Returns the value of theyrecord component.Element2D.y()Returns the value of theyrecord component.Element2DVar.y()Returns the value of theyrecord component.Methods in org.maxicp.modeling.algebra.integer that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionElement1D.decisionVariables()The index variable is the decision variable; the array data and result are constant/derived.Element1DVar.decisionVariables()The index variable selects the row; it is the decision variable.Element2D.decisionVariables()Both row index x and column index y are decision variables; the result is derived.Element2DVar.decisionVariables()Both row index x and column index y are decision variables; the result is derived.Methods in org.maxicp.modeling.algebra.integer with parameters of type IntExpressionModifier and TypeMethodDescriptionIntExpression.minus(IntExpression v) default IntExpressionSymbolicIntExpression.minus(IntExpression v) default IntExpressionIntExpression.mul(IntExpression v) IntExpression.plus(IntExpression v) default IntExpressionSymbolicIntExpression.plus(IntExpression v) Constructors in org.maxicp.modeling.algebra.integer with parameters of type IntExpressionModifierConstructorDescriptionAbs(IntExpression expr) Creates an instance of aAbsrecord class.CstMul(IntExpression expr, int mul) Creates an instance of aCstMulrecord class.CstOffset(IntExpression expr, int v) Creates an instance of aCstOffsetrecord class.Div(IntExpression x, IntExpression y) Creates an instance of aDivrecord class.Element1D(int[] array, IntExpression index) Creates an instance of aElement1Drecord class.Element1DVar(IntExpression[] array, IntExpression index) Creates an instance of aElement1DVarrecord class.Element2D(int[][] array, IntExpression x, IntExpression y) Creates an instance of aElement2Drecord class.Element2DVar(IntExpression[][] array, IntExpression x, IntExpression y) Creates an instance of aElement2DVarrecord class.Max(IntExpression[] exprs) Creates an instance of aMaxrecord class.Min(IntExpression[] exprs) Creates an instance of aMinrecord class.Mul(IntExpression... subexprs) Creates an instance of aMulrecord class.Creates an instance of aMulBinaryrecord class.Sum(IntExpression... subexprs) Creates an instance of aSumrecord class.UnaryMinus(IntExpression expr) Creates an instance of aUnaryMinusrecord class.WeightedSum(IntExpression[] subexprs, int[] weights) Creates an instance of aWeightedSumrecord class. -
Uses of IntExpression in org.maxicp.modeling.algebra.scheduling
Fields in org.maxicp.modeling.algebra.scheduling declared as IntExpressionMethods in org.maxicp.modeling.algebra.scheduling that return IntExpressionModifier and TypeMethodDescriptionCumulFunction.heightAtEnd(IntervalVar interval) Returns anIntExpressionrepresenting the height of the cumul function at the end of the interval variable given in parameter.FlatCumulFunction.heightAtEnd(IntervalVar interval) MinusCumulFunction.heightAtEnd(IntervalVar interval) PlusCumulFunction.heightAtEnd(IntervalVar interval) PulseCumulFunction.heightAtEnd(IntervalVar interval) StepAtEndCumulFunction.heightAtEnd(IntervalVar interval) StepAtStartCumulFunction.heightAtEnd(IntervalVar interval) SumCumulFunction.heightAtEnd(IntervalVar interval) CumulFunction.heightAtStart(IntervalVar interval) Returns anIntExpressionrepresenting the height of the cumul function at the start of the interval variable given in parameter.FlatCumulFunction.heightAtStart(IntervalVar interval) MinusCumulFunction.heightAtStart(IntervalVar interval) PlusCumulFunction.heightAtStart(IntervalVar interval) PulseCumulFunction.heightAtStart(IntervalVar interval) StepAtEndCumulFunction.heightAtStart(IntervalVar interval) StepAtStartCumulFunction.heightAtStart(IntervalVar interval) SumCumulFunction.heightAtStart(IntervalVar interval) Constructors in org.maxicp.modeling.algebra.scheduling with parameters of type IntExpression -
Uses of IntExpression in org.maxicp.modeling.concrete
Subinterfaces of IntExpression in org.maxicp.modeling.concreteMethods in org.maxicp.modeling.concrete with parameters of type IntExpressionModifier and TypeMethodDescriptiondefault BlackBoxSearchConcreteModel.blackBoxSearch(IntExpression... vars) ConcreteModel.getConcreteVar(IntExpression expr) ConcreteModelProxy.getConcreteVar(IntExpression expr) -
Uses of IntExpression in org.maxicp.modeling.constraints
Methods in org.maxicp.modeling.constraints that return IntExpressionModifier and TypeMethodDescriptionCumulative.capa()Returns the value of thecaparecord component.Among.count()Returns the value of thecountrecord component.Cumulative.demand()Returns the value of thedemandrecord component.Cumulative.duration()Returns the value of thedurationrecord component.Disjunctive.duration()Returns the value of thedurationrecord component.Cumulative.end()Returns the value of theendrecord component.BinPacking.loads()Returns the value of theloadsrecord component.Sorted.o()Returns the value of theorecord component.Cumulative.start()Returns the value of thestartrecord component.Disjunctive.start()Returns the value of thestartrecord component.Circuit.successor()Returns the value of thesuccessorrecord component.SubCircuit.successor()Returns the value of thesuccessorrecord component.Among.x()Returns the value of thexrecord component.BinPacking.x()Returns the value of thexrecord component.CardinalityMax.x()Returns the value of thexrecord component.CardinalityMin.x()Returns the value of thexrecord component.LexLe.x()Returns the value of thexrecord component.NegTable.x()Returns the value of thexrecord component.Sorted.x()Returns the value of thexrecord component.Table.x()Returns the value of thexrecord component.LexLe.y()Returns the value of theyrecord component.Sorted.y()Returns the value of theyrecord component.Methods in org.maxicp.modeling.constraints that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionAllDifferent.decisionVariables()Among.decisionVariables()BinPacking.decisionVariables()CardinalityMax.decisionVariables()CardinalityMin.decisionVariables()Circuit.decisionVariables()Cumulative.decisionVariables()Disjunctive.decisionVariables()LexLe.decisionVariables()NegTable.decisionVariables()Sorted.decisionVariables()SubCircuit.decisionVariables()Table.decisionVariables()AllDifferent.x()Returns the value of thexrecord component.Constructors in org.maxicp.modeling.constraints with parameters of type IntExpressionModifierConstructorDescriptionAllDifferent(IntExpression... x) Creates an AllDifferent constraint over the given array of integer expressions.Among(IntExpression[] x, Set<Integer> values, IntExpression count) Creates an instance of aAmongrecord class.BinPacking(IntExpression[] x, int[] weights, IntExpression[] loads) Creates an instance of aBinPackingrecord class.CardinalityMax(IntExpression[] x, int[] array) Creates an instance of aCardinalityMaxrecord class.CardinalityMin(IntExpression[] x, int[] array) Creates an instance of aCardinalityMinrecord class.Circuit(IntExpression[] successor) Creates an instance of aCircuitrecord class.Cumulative(IntExpression[] start, int[] duration, int[] demand, int capa) Creates a Cumulative constraint with constant durations, demands, and capacity.Cumulative(IntExpression[] start, IntExpression[] duration, IntExpression[] end, IntExpression[] demand, IntExpression capa) Creates an instance of aCumulativerecord class.Disjunctive(IntExpression[] start, int[] duration) Creates a Disjunctive constraint with constant activity durations.Disjunctive(IntExpression[] start, IntExpression[] duration) Creates an instance of aDisjunctiverecord class.LexLe(IntExpression[] x, IntExpression[] y) Creates a non-strict lexicographic ordering constraint (x <=_lex y).LexLe(IntExpression[] x, IntExpression[] y, boolean strict) Creates an instance of aLexLerecord class.NegTable(IntExpression[] x, int[][] array) Creates a negative table constraint without wildcard values.NegTable(IntExpression[] x, int[][] array, Optional<Integer> starred) Creates an instance of aNegTablerecord class.Sorted(IntExpression[] x, IntExpression[] o, IntExpression[] y) Creates an instance of aSortedrecord class.SubCircuit(IntExpression[] successor) Creates an instance of aSubCircuitrecord class.Table(IntExpression[] x, int[][] array) Creates a positive table constraint without wildcard values.Table(IntExpression[] x, int[][] array, Optional<Integer> starred) Creates an instance of aTablerecord class.Constructor parameters in org.maxicp.modeling.constraints with type arguments of type IntExpressionModifierConstructorDescriptionCreates an instance of aAllDifferentrecord class. -
Uses of IntExpression in org.maxicp.modeling.constraints.scheduling
Methods in org.maxicp.modeling.constraints.scheduling that return IntExpressionModifier and TypeMethodDescriptionNoOverlapWithPosition.intervalInPos()Returns the value of theintervalInPosrecord component.Alternative.n()Returns the value of thenrecord component.NoOverlapWithPosition.posOfInterval()Returns the value of theposOfIntervalrecord component.Constructors in org.maxicp.modeling.constraints.scheduling with parameters of type IntExpressionModifierConstructorDescriptionAlternative(IntervalVar real, IntExpression n, IntervalVar... alternatives) Creates an instance of aAlternativerecord class.NoOverlapWithPosition(IntervalVar[] intervals, IntExpression[] posOfInterval, IntExpression[] intervalInPos, int[][] minTransition) Creates an instance of aNoOverlapWithPositionrecord class. -
Uses of IntExpression in org.maxicp.modeling.constraints.seqvar
Fields in org.maxicp.modeling.constraints.seqvar declared as IntExpressionModifier and TypeFieldDescriptionfinal IntExpressionDistance.distancefinal IntExpression[]TransitionTimes.timeConstructors in org.maxicp.modeling.constraints.seqvar with parameters of type IntExpressionModifierConstructorDescriptionDistance(SeqVar seqVar, int[][] distanceMatrix, IntExpression distance) Creates a constraint maintaining thatdistanceequals the sum of transition distances between consecutive nodes visited inseqVar.TransitionTimes(SeqVar seqVar, IntExpression[] time, int[][] dist) Constraint linking nodes with time windows, updating the time windows of nodes depending on when they are visited, based on a distance matrix and service time.TransitionTimes(SeqVar seqVar, IntExpression[] time, int[][] dist, int[] serviceTime) Constraint linking nodes with time windows, updating the time windows of nodes depending on when they are visited, based on a distance matrix and service time. -
Uses of IntExpression in org.maxicp.modeling.symbolic
Subinterfaces of IntExpression in org.maxicp.modeling.symbolicClasses in org.maxicp.modeling.symbolic that implement IntExpressionModifier and TypeClassDescriptionclassclassclassclassclassFields in org.maxicp.modeling.symbolic declared as IntExpressionModifier and TypeFieldDescriptionfinal IntExpressionSharedMaximization.exprfinal IntExpressionSharedMinimization.exprMethods in org.maxicp.modeling.symbolic that return IntExpressionModifier and TypeMethodDescriptionMaximization.expr()Returns the value of theexprrecord component.Minimization.expr()Returns the value of theexprrecord component.Methods in org.maxicp.modeling.symbolic that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionSymbolicModel.getVariableGroups()SymbolicModel.variableGroups()Returns the value of thevariableGroupsrecord component.Method parameters in org.maxicp.modeling.symbolic with type arguments of type IntExpressionConstructors in org.maxicp.modeling.symbolic with parameters of type IntExpressionModifierConstructorDescriptionMaximization(IntExpression expr) Creates an instance of aMaximizationrecord class.Minimization(IntExpression expr) Creates an instance of aMinimizationrecord class.SharedMaximization(IntExpression expr, int initialValue) SharedMinimization(IntExpression expr, int initialValue) Constructor parameters in org.maxicp.modeling.symbolic with type arguments of type IntExpressionModifierConstructorDescriptionSymbolicModel(Constraint constraint, SymbolicModel parent, ModelProxy modelProxy, List<List<IntExpression>> variableGroups) Creates an instance of aSymbolicModelrecord class. -
Uses of IntExpression in org.maxicp.modeling.xcsp3
Fields in org.maxicp.modeling.xcsp3 with type parameters of type IntExpressionModifier and TypeFieldDescriptionprotected IdentityHashMap<org.xcsp.common.predicates.XNode<?>, IntExpression> XCSP3.expr_cacheMethods in org.maxicp.modeling.xcsp3 that return IntExpressionModifier and TypeMethodDescriptionXCSP3.XCSP3LoadedInstance.decisionVars()Returns the value of thedecisionVarsrecord component.Constructors in org.maxicp.modeling.xcsp3 with parameters of type IntExpressionModifierConstructorDescriptionXCSP3LoadedInstance(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 IntExpression in org.maxicp.search
Methods in org.maxicp.search that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionstatic Function<IntExpression, Integer> Searches.boundImpactValueSelector(IntExpression objective) Bound-Impact value selector.static Supplier<IntExpression> Searches.minDomVariableSelector(IntExpression... xs) It selects the first not fixed variable with the smallest domain.static Supplier<IntExpression> Searches.staticOrderVariableSelector(IntExpression... xs) Methods in org.maxicp.search with parameters of type IntExpressionModifier and TypeMethodDescriptionstatic Function<IntExpression, Integer> Searches.boundImpactValueSelector(IntExpression objective) Bound-Impact value selector.Searches.conflictOrderingSearch(IntExpression... xs) Conflict Ordering Search with default variable selector (first-fail min dom) and value selector (min value).Searches.fds(IntExpression... intExpressions) Searches.fds(IntExpression[][] intExpressions) Searches.fds(IntervalVar[][] intervals, IntExpression... intExpressions) Searches.fds(IntervalVar[] intervals, IntExpression... intExpressions) Searches.firstFailBinary(IntExpression... x) First-Fail Binary search strategy.Searches.firstFailNary(IntExpression... x) First-Fail N-Ary search strategy.static Supplier<IntExpression> Searches.minDomVariableSelector(IntExpression... xs) It selects the first not fixed variable with the smallest domain.Searches.staticOrderBinary(Function<IntExpression, Integer> valueSelector, IntExpression... xs) Binary Branching with static variable ordering and custom value heuristic.Searches.staticOrderBinary(IntExpression... xs) Binary Branching with static variable ordering and natural value ordering.Searches.staticOrderNary(IntExpression... xs) N-ary Branching with static variable ordering and natural value ordering.static Supplier<IntExpression> Searches.staticOrderVariableSelector(IntExpression... xs) Method parameters in org.maxicp.search with type arguments of type IntExpressionModifier and TypeMethodDescriptionSearches.conflictOrderingSearch(Supplier<IntExpression> variableSelector, Function<IntExpression, Integer> valueSelector) Conflict Ordering SearchSearches.conflictOrderingSearch(Supplier<IntExpression> variableSelector, Function<IntExpression, Integer> valueSelector) Conflict Ordering SearchSearches.heuristicBinary(Supplier<IntExpression> variableSelector) Binary Branching with custom variable heuristic and natural value ordering.Searches.heuristicBinary(Supplier<IntExpression> variableSelector, Function<IntExpression, Integer> valueSelector) Binary Branching with custom variable and value heuristics.Searches.heuristicBinary(Supplier<IntExpression> variableSelector, Function<IntExpression, Integer> valueSelector) Binary Branching with custom variable and value heuristics.Searches.heuristicNary(Supplier<IntExpression> variableSelector) N-ary Branching with custom variable heuristic and natural value ordering.Searches.heuristicNary(Supplier<IntExpression> variableSelector, Function<Integer, Integer> valueHeuristic) N-ary Branching with custom variable and value heuristics.Searches.lastConflict(Supplier<IntExpression> variableSelector, Function<IntExpression, Integer> valueSelector) Last conflict heuristic Attempts to branch first on the last variable that caused an InconsistencySearches.lastConflict(Supplier<IntExpression> variableSelector, Function<IntExpression, Integer> valueSelector) Last conflict heuristic Attempts to branch first on the last variable that caused an InconsistencySearches.staticOrderBinary(Function<IntExpression, Integer> valueSelector, IntExpression... xs) Binary Branching with static variable ordering and custom value heuristic.Constructors in org.maxicp.search with parameters of type IntExpressionModifierConstructorDescriptionFDSModeling(double alpha, IntExpression... intExpressions) Creates a Failure-Directed Search for integer expressions.FDSModeling(double alpha, IntExpression[][] intExpressions) Creates a Failure-Directed Search for a 2D matrix of integer expressions.FDSModeling(double alpha, IntervalVar[][] intervals, IntExpression... intExpressions) Creates a Failure-Directed Search for mixed 2D interval and integer decisions.FDSModeling(double alpha, IntervalVar[] intervals, IntExpression... intExpressions) Creates a Failure-Directed Search for mixed interval and integer decisions.FDSModeling(IntExpression... intExpressions) Creates a Failure-Directed Search for integer expressions.FDSModeling(IntExpression[][] intExpressions) Creates a Failure-Directed Search for a 2D matrix of integer expressions.FDSModeling(IntervalVar[][] intervals, IntExpression... intExpressions) Creates a Failure-Directed Search for mixed 2D interval and integer decisions.FDSModeling(IntervalVar[] intervals, IntExpression... intExpressions) Creates a Failure-Directed Search for mixed interval and integer decisions. -
Uses of IntExpression in org.maxicp.search.blackbox
Methods in org.maxicp.search.blackbox that return types with arguments of type IntExpressionModifier and TypeMethodDescriptionBlackBoxSearch.bestVarValuesMap()Returns an unmodifiable view of the recorded variable values in the best solution.ModelingBlackBox.Result.varValues()Returns the value of thevarValuesrecord component.Methods in org.maxicp.search.blackbox with parameters of type IntExpressionModifier and TypeMethodDescriptionBlackBoxSearch.bestValue(IntExpression var) Returns the value ofvarin the best incumbent solution found so far, if available.BlackBoxSearch.bestValues(IntExpression... targetVars) Returns the values of the given expressions in the best incumbent solution found so far.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.solve(ModelDispatcher model, IntExpression[] decisionVars, int timeLimitInSeconds) Solves a feasibility model with default black-box settings.static ModelingBlackBox.ResultModelingBlackBox.solve(ModelDispatcher model, IntExpression[] decisionVars, int timeLimitInSeconds, UnaryOperator<ModelingBlackBox.SolveConfig> configurer) Solves a feasibility model with caller-provided configuration.ModelingBlackBox.Result.value(IntExpression expr) Returns the value ofexprin the best incumbent solution, if available.ModelingBlackBox.Result.values(IntExpression... vars) Returns the values ofvarsin the best incumbent solution, if available.Method parameters in org.maxicp.search.blackbox with type arguments of type IntExpressionModifier and TypeMethodDescriptionstatic ModelStructureAnalyzerModelStructureAnalyzer.analyze(ModelDispatcher model, List<IntExpression> vars, Objective objective) Constructors in org.maxicp.search.blackbox with parameters of type IntExpressionModifierConstructorDescriptionBlackBoxSearch(ModelDispatcher model, IntExpression[] vars) Creates a black-box search on an array of integer decision variables without objective (feasibility).BlackBoxSearch(ModelDispatcher model, IntExpression[] vars, Objective objective) Creates a black-box search on an array of integer decision variables with an objective.Constructor parameters in org.maxicp.search.blackbox with type arguments of type IntExpressionModifierConstructorDescriptionBlackBoxSearch(ModelDispatcher model, List<IntExpression> vars, Objective objective) Creates a black-box search on explicit integer decision variables with an objective.ConflictDrivenBranching(ModelDispatcher model, List<IntExpression> vars, ModelStructureAnalyzer structure, Random random) 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) RestartRunnableSearch(BlackBoxSearch blackBoxSearch, ModelDispatcher model, List<IntExpression> vars, int baseFailureLimit, double randomSwapProbability, long randomSeed) Result(SearchStatus status, Optional<List<Integer>> solution, Optional<Integer> objectiveValue, Map<IntExpression, Integer> varValues) Creates an instance of aResultrecord class.