Class CumulativeConstraintProto.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CumulativeConstraintProto.Builder>
com.google.protobuf.GeneratedMessage.Builder<CumulativeConstraintProto.Builder>
com.google.ortools.sat.CumulativeConstraintProto.Builder
All Implemented Interfaces:
CumulativeConstraintProtoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CumulativeConstraintProto

public static final class CumulativeConstraintProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<CumulativeConstraintProto.Builder> implements CumulativeConstraintProtoOrBuilder
The sum of the demands of the intervals at each interval point cannot exceed
a capacity. Note that intervals are interpreted as [start, end) and as
such intervals like [2,3) and [3,4) do not overlap for the point of view of
this constraint. Moreover, intervals of size zero are ignored.

All demands must not contain any negative value in their domains. This is
checked at validation. Even if there are no intervals, this constraint
implicit enforces capacity >= 0. In other words, a negative capacity is
considered valid but always infeasible.
Protobuf type operations_research.sat.CumulativeConstraintProto