Uses of Class
com.google.ortools.sat.CumulativeConstraint
Packages that use CumulativeConstraint
-
Uses of CumulativeConstraint in com.google.ortools.sat
Methods in com.google.ortools.sat that return CumulativeConstraintModifier and TypeMethodDescriptionCpModel.addCumulative
(long capacity) AddsCumulative(capacity)
.CpModel.addCumulative
(LinearArgument capacity) AddsCumulative(capacity)
.CumulativeConstraint.addDemand
(IntervalVar interval, long demand) Adds a pair (interval, demand) to the constraint.CumulativeConstraint.addDemand
(IntervalVar interval, LinearArgument demand) Adds a pair (interval, demand) to the constraint.CumulativeConstraint.addDemands
(IntervalVar[] intervals, int[] demands) Adds all pairs (intervals[i], demands[i]) to the constraint.CumulativeConstraint.addDemands
(IntervalVar[] intervals, long[] demands) Adds all pairs (intervals[i], demands[i]) to the constraint.CumulativeConstraint.addDemands
(IntervalVar[] intervals, LinearArgument[] demands) Adds all pairs (intervals[i], demands[i]) to the constraint.