public static final class ConstraintProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConstraintProto.Builder> implements ConstraintProtoOrBuilder
Next id: 31Protobuf type
operations_research.sat.ConstraintProto
Modifier and Type | Method and Description |
---|---|
ConstraintProto.Builder |
addAllEnforcementLiteral(java.lang.Iterable<? extends java.lang.Integer> values)
The constraint will be enforced iff all literals listed here are true.
|
ConstraintProto.Builder |
addEnforcementLiteral(int value)
The constraint will be enforced iff all literals listed here are true.
|
ConstraintProto |
build() |
ConstraintProto |
buildPartial() |
ConstraintProto.Builder |
clear() |
ConstraintProto.Builder |
clearAllDiff()
The all_diff constraint forces all variables to take different values.
|
ConstraintProto.Builder |
clearAtMostOne()
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
ConstraintProto.Builder |
clearAutomaton()
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
ConstraintProto.Builder |
clearBoolAnd()
The bool_and constraint forces all of the literals to be true.
|
ConstraintProto.Builder |
clearBoolOr()
The bool_or constraint forces at least one literal to be true.
|
ConstraintProto.Builder |
clearBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
|
ConstraintProto.Builder |
clearCircuit()
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
ConstraintProto.Builder |
clearConstraint() |
ConstraintProto.Builder |
clearCumulative()
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
ConstraintProto.Builder |
clearDummyConstraint()
This constraint is not meant to be used and will be rejected by the
solver.
|
ConstraintProto.Builder |
clearElement()
The element constraint forces the variable with the given index
to be equal to the target.
|
ConstraintProto.Builder |
clearEnforcementLiteral()
The constraint will be enforced iff all literals listed here are true.
|
ConstraintProto.Builder |
clearExactlyOne()
The exactly_one constraint force exactly one literal to true and no more.
|
ConstraintProto.Builder |
clearIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
ConstraintProto.Builder |
clearInterval()
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
ConstraintProto.Builder |
clearIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
ConstraintProto.Builder |
clearIntProd()
The int_prod constraint forces the target to equal the product of all
variables.
|
ConstraintProto.Builder |
clearInverse()
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
ConstraintProto.Builder |
clearLinear()
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
ConstraintProto.Builder |
clearLinMax()
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
ConstraintProto.Builder |
clearName()
For debug/logging only.
|
ConstraintProto.Builder |
clearNoOverlap()
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
ConstraintProto.Builder |
clearNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
ConstraintProto.Builder |
clearReservoir()
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
ConstraintProto.Builder |
clearRoutes()
The routes constraint implements the vehicle routing problem.
|
ConstraintProto.Builder |
clearTable()
The table constraint enforces what values a tuple of variables may
take.
|
AllDifferentConstraintProto |
getAllDiff()
The all_diff constraint forces all variables to take different values.
|
AllDifferentConstraintProto.Builder |
getAllDiffBuilder()
The all_diff constraint forces all variables to take different values.
|
AllDifferentConstraintProtoOrBuilder |
getAllDiffOrBuilder()
The all_diff constraint forces all variables to take different values.
|
BoolArgumentProto |
getAtMostOne()
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
BoolArgumentProto.Builder |
getAtMostOneBuilder()
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
BoolArgumentProtoOrBuilder |
getAtMostOneOrBuilder()
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
AutomatonConstraintProto |
getAutomaton()
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
AutomatonConstraintProto.Builder |
getAutomatonBuilder()
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
AutomatonConstraintProtoOrBuilder |
getAutomatonOrBuilder()
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
BoolArgumentProto |
getBoolAnd()
The bool_and constraint forces all of the literals to be true.
|
BoolArgumentProto.Builder |
getBoolAndBuilder()
The bool_and constraint forces all of the literals to be true.
|
BoolArgumentProtoOrBuilder |
getBoolAndOrBuilder()
The bool_and constraint forces all of the literals to be true.
|
BoolArgumentProto |
getBoolOr()
The bool_or constraint forces at least one literal to be true.
|
BoolArgumentProto.Builder |
getBoolOrBuilder()
The bool_or constraint forces at least one literal to be true.
|
BoolArgumentProtoOrBuilder |
getBoolOrOrBuilder()
The bool_or constraint forces at least one literal to be true.
|
BoolArgumentProto |
getBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
|
BoolArgumentProto.Builder |
getBoolXorBuilder()
The bool_xor constraint forces an odd number of the literals to be true.
|
BoolArgumentProtoOrBuilder |
getBoolXorOrBuilder()
The bool_xor constraint forces an odd number of the literals to be true.
|
CircuitConstraintProto |
getCircuit()
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
CircuitConstraintProto.Builder |
getCircuitBuilder()
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
CircuitConstraintProtoOrBuilder |
getCircuitOrBuilder()
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
ConstraintProto.ConstraintCase |
getConstraintCase() |
CumulativeConstraintProto |
getCumulative()
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
CumulativeConstraintProto.Builder |
getCumulativeBuilder()
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
CumulativeConstraintProtoOrBuilder |
getCumulativeOrBuilder()
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
ConstraintProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ListOfVariablesProto |
getDummyConstraint()
This constraint is not meant to be used and will be rejected by the
solver.
|
ListOfVariablesProto.Builder |
getDummyConstraintBuilder()
This constraint is not meant to be used and will be rejected by the
solver.
|
ListOfVariablesProtoOrBuilder |
getDummyConstraintOrBuilder()
This constraint is not meant to be used and will be rejected by the
solver.
|
ElementConstraintProto |
getElement()
The element constraint forces the variable with the given index
to be equal to the target.
|
ElementConstraintProto.Builder |
getElementBuilder()
The element constraint forces the variable with the given index
to be equal to the target.
|
ElementConstraintProtoOrBuilder |
getElementOrBuilder()
The element constraint forces the variable with the given index
to be equal to the target.
|
int |
getEnforcementLiteral(int index)
The constraint will be enforced iff all literals listed here are true.
|
int |
getEnforcementLiteralCount()
The constraint will be enforced iff all literals listed here are true.
|
java.util.List<java.lang.Integer> |
getEnforcementLiteralList()
The constraint will be enforced iff all literals listed here are true.
|
BoolArgumentProto |
getExactlyOne()
The exactly_one constraint force exactly one literal to true and no more.
|
BoolArgumentProto.Builder |
getExactlyOneBuilder()
The exactly_one constraint force exactly one literal to true and no more.
|
BoolArgumentProtoOrBuilder |
getExactlyOneOrBuilder()
The exactly_one constraint force exactly one literal to true and no more.
|
LinearArgumentProto |
getIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
LinearArgumentProto.Builder |
getIntDivBuilder()
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
LinearArgumentProtoOrBuilder |
getIntDivOrBuilder()
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
IntervalConstraintProto |
getInterval()
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
IntervalConstraintProto.Builder |
getIntervalBuilder()
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
IntervalConstraintProtoOrBuilder |
getIntervalOrBuilder()
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
LinearArgumentProto |
getIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
LinearArgumentProto.Builder |
getIntModBuilder()
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
LinearArgumentProtoOrBuilder |
getIntModOrBuilder()
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
LinearArgumentProto |
getIntProd()
The int_prod constraint forces the target to equal the product of all
variables.
|
LinearArgumentProto.Builder |
getIntProdBuilder()
The int_prod constraint forces the target to equal the product of all
variables.
|
LinearArgumentProtoOrBuilder |
getIntProdOrBuilder()
The int_prod constraint forces the target to equal the product of all
variables.
|
InverseConstraintProto |
getInverse()
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
InverseConstraintProto.Builder |
getInverseBuilder()
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
InverseConstraintProtoOrBuilder |
getInverseOrBuilder()
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
LinearConstraintProto |
getLinear()
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
LinearConstraintProto.Builder |
getLinearBuilder()
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
LinearConstraintProtoOrBuilder |
getLinearOrBuilder()
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
LinearArgumentProto |
getLinMax()
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
LinearArgumentProto.Builder |
getLinMaxBuilder()
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
LinearArgumentProtoOrBuilder |
getLinMaxOrBuilder()
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
java.lang.String |
getName()
For debug/logging only.
|
com.google.protobuf.ByteString |
getNameBytes()
For debug/logging only.
|
NoOverlapConstraintProto |
getNoOverlap()
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
NoOverlap2DConstraintProto |
getNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
NoOverlap2DConstraintProto.Builder |
getNoOverlap2DBuilder()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
NoOverlap2DConstraintProtoOrBuilder |
getNoOverlap2DOrBuilder()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
NoOverlapConstraintProto.Builder |
getNoOverlapBuilder()
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
NoOverlapConstraintProtoOrBuilder |
getNoOverlapOrBuilder()
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
ReservoirConstraintProto |
getReservoir()
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
ReservoirConstraintProto.Builder |
getReservoirBuilder()
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
ReservoirConstraintProtoOrBuilder |
getReservoirOrBuilder()
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
RoutesConstraintProto |
getRoutes()
The routes constraint implements the vehicle routing problem.
|
RoutesConstraintProto.Builder |
getRoutesBuilder()
The routes constraint implements the vehicle routing problem.
|
RoutesConstraintProtoOrBuilder |
getRoutesOrBuilder()
The routes constraint implements the vehicle routing problem.
|
TableConstraintProto |
getTable()
The table constraint enforces what values a tuple of variables may
take.
|
TableConstraintProto.Builder |
getTableBuilder()
The table constraint enforces what values a tuple of variables may
take.
|
TableConstraintProtoOrBuilder |
getTableOrBuilder()
The table constraint enforces what values a tuple of variables may
take.
|
boolean |
hasAllDiff()
The all_diff constraint forces all variables to take different values.
|
boolean |
hasAtMostOne()
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
boolean |
hasAutomaton()
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
boolean |
hasBoolAnd()
The bool_and constraint forces all of the literals to be true.
|
boolean |
hasBoolOr()
The bool_or constraint forces at least one literal to be true.
|
boolean |
hasBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
|
boolean |
hasCircuit()
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
boolean |
hasCumulative()
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
boolean |
hasDummyConstraint()
This constraint is not meant to be used and will be rejected by the
solver.
|
boolean |
hasElement()
The element constraint forces the variable with the given index
to be equal to the target.
|
boolean |
hasExactlyOne()
The exactly_one constraint force exactly one literal to true and no more.
|
boolean |
hasIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
boolean |
hasInterval()
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
boolean |
hasIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
boolean |
hasIntProd()
The int_prod constraint forces the target to equal the product of all
variables.
|
boolean |
hasInverse()
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
boolean |
hasLinear()
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
boolean |
hasLinMax()
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
boolean |
hasNoOverlap()
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
boolean |
hasNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
boolean |
hasReservoir()
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
boolean |
hasRoutes()
The routes constraint implements the vehicle routing problem.
|
boolean |
hasTable()
The table constraint enforces what values a tuple of variables may
take.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConstraintProto.Builder |
mergeAllDiff(AllDifferentConstraintProto value)
The all_diff constraint forces all variables to take different values.
|
ConstraintProto.Builder |
mergeAtMostOne(BoolArgumentProto value)
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
ConstraintProto.Builder |
mergeAutomaton(AutomatonConstraintProto value)
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
ConstraintProto.Builder |
mergeBoolAnd(BoolArgumentProto value)
The bool_and constraint forces all of the literals to be true.
|
ConstraintProto.Builder |
mergeBoolOr(BoolArgumentProto value)
The bool_or constraint forces at least one literal to be true.
|
ConstraintProto.Builder |
mergeBoolXor(BoolArgumentProto value)
The bool_xor constraint forces an odd number of the literals to be true.
|
ConstraintProto.Builder |
mergeCircuit(CircuitConstraintProto value)
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
ConstraintProto.Builder |
mergeCumulative(CumulativeConstraintProto value)
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
ConstraintProto.Builder |
mergeDummyConstraint(ListOfVariablesProto value)
This constraint is not meant to be used and will be rejected by the
solver.
|
ConstraintProto.Builder |
mergeElement(ElementConstraintProto value)
The element constraint forces the variable with the given index
to be equal to the target.
|
ConstraintProto.Builder |
mergeExactlyOne(BoolArgumentProto value)
The exactly_one constraint force exactly one literal to true and no more.
|
ConstraintProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConstraintProto.Builder |
mergeFrom(ConstraintProto other) |
ConstraintProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConstraintProto.Builder |
mergeIntDiv(LinearArgumentProto value)
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
ConstraintProto.Builder |
mergeInterval(IntervalConstraintProto value)
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
ConstraintProto.Builder |
mergeIntMod(LinearArgumentProto value)
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
ConstraintProto.Builder |
mergeIntProd(LinearArgumentProto value)
The int_prod constraint forces the target to equal the product of all
variables.
|
ConstraintProto.Builder |
mergeInverse(InverseConstraintProto value)
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
ConstraintProto.Builder |
mergeLinear(LinearConstraintProto value)
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
ConstraintProto.Builder |
mergeLinMax(LinearArgumentProto value)
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
ConstraintProto.Builder |
mergeNoOverlap(NoOverlapConstraintProto value)
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
ConstraintProto.Builder |
mergeNoOverlap2D(NoOverlap2DConstraintProto value)
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
ConstraintProto.Builder |
mergeReservoir(ReservoirConstraintProto value)
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
ConstraintProto.Builder |
mergeRoutes(RoutesConstraintProto value)
The routes constraint implements the vehicle routing problem.
|
ConstraintProto.Builder |
mergeTable(TableConstraintProto value)
The table constraint enforces what values a tuple of variables may
take.
|
ConstraintProto.Builder |
setAllDiff(AllDifferentConstraintProto.Builder builderForValue)
The all_diff constraint forces all variables to take different values.
|
ConstraintProto.Builder |
setAllDiff(AllDifferentConstraintProto value)
The all_diff constraint forces all variables to take different values.
|
ConstraintProto.Builder |
setAtMostOne(BoolArgumentProto.Builder builderForValue)
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
ConstraintProto.Builder |
setAtMostOne(BoolArgumentProto value)
The at_most_one constraint enforces that no more than one literal is
true at the same time.
|
ConstraintProto.Builder |
setAutomaton(AutomatonConstraintProto.Builder builderForValue)
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
ConstraintProto.Builder |
setAutomaton(AutomatonConstraintProto value)
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
|
ConstraintProto.Builder |
setBoolAnd(BoolArgumentProto.Builder builderForValue)
The bool_and constraint forces all of the literals to be true.
|
ConstraintProto.Builder |
setBoolAnd(BoolArgumentProto value)
The bool_and constraint forces all of the literals to be true.
|
ConstraintProto.Builder |
setBoolOr(BoolArgumentProto.Builder builderForValue)
The bool_or constraint forces at least one literal to be true.
|
ConstraintProto.Builder |
setBoolOr(BoolArgumentProto value)
The bool_or constraint forces at least one literal to be true.
|
ConstraintProto.Builder |
setBoolXor(BoolArgumentProto.Builder builderForValue)
The bool_xor constraint forces an odd number of the literals to be true.
|
ConstraintProto.Builder |
setBoolXor(BoolArgumentProto value)
The bool_xor constraint forces an odd number of the literals to be true.
|
ConstraintProto.Builder |
setCircuit(CircuitConstraintProto.Builder builderForValue)
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
ConstraintProto.Builder |
setCircuit(CircuitConstraintProto value)
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
|
ConstraintProto.Builder |
setCumulative(CumulativeConstraintProto.Builder builderForValue)
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
ConstraintProto.Builder |
setCumulative(CumulativeConstraintProto value)
The cumulative constraint ensures that for any integer point, the sum
of the demands of the intervals containing that point does not exceed
the capacity.
|
ConstraintProto.Builder |
setDummyConstraint(ListOfVariablesProto.Builder builderForValue)
This constraint is not meant to be used and will be rejected by the
solver.
|
ConstraintProto.Builder |
setDummyConstraint(ListOfVariablesProto value)
This constraint is not meant to be used and will be rejected by the
solver.
|
ConstraintProto.Builder |
setElement(ElementConstraintProto.Builder builderForValue)
The element constraint forces the variable with the given index
to be equal to the target.
|
ConstraintProto.Builder |
setElement(ElementConstraintProto value)
The element constraint forces the variable with the given index
to be equal to the target.
|
ConstraintProto.Builder |
setEnforcementLiteral(int index,
int value)
The constraint will be enforced iff all literals listed here are true.
|
ConstraintProto.Builder |
setExactlyOne(BoolArgumentProto.Builder builderForValue)
The exactly_one constraint force exactly one literal to true and no more.
|
ConstraintProto.Builder |
setExactlyOne(BoolArgumentProto value)
The exactly_one constraint force exactly one literal to true and no more.
|
ConstraintProto.Builder |
setIntDiv(LinearArgumentProto.Builder builderForValue)
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
ConstraintProto.Builder |
setIntDiv(LinearArgumentProto value)
The int_div constraint forces the target to equal exprs[0] / exprs[1].
|
ConstraintProto.Builder |
setInterval(IntervalConstraintProto.Builder builderForValue)
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
ConstraintProto.Builder |
setInterval(IntervalConstraintProto value)
The interval constraint takes a start, end, and size, and forces
start + size == end.
|
ConstraintProto.Builder |
setIntMod(LinearArgumentProto.Builder builderForValue)
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
ConstraintProto.Builder |
setIntMod(LinearArgumentProto value)
The int_mod constraint forces the target to equal exprs[0] % exprs[1].
|
ConstraintProto.Builder |
setIntProd(LinearArgumentProto.Builder builderForValue)
The int_prod constraint forces the target to equal the product of all
variables.
|
ConstraintProto.Builder |
setIntProd(LinearArgumentProto value)
The int_prod constraint forces the target to equal the product of all
variables.
|
ConstraintProto.Builder |
setInverse(InverseConstraintProto.Builder builderForValue)
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
ConstraintProto.Builder |
setInverse(InverseConstraintProto value)
The inverse constraint forces two arrays to be inverses of each other:
the values of one are the indices of the other, and vice versa.
|
ConstraintProto.Builder |
setLinear(LinearConstraintProto.Builder builderForValue)
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
ConstraintProto.Builder |
setLinear(LinearConstraintProto value)
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.
|
ConstraintProto.Builder |
setLinMax(LinearArgumentProto.Builder builderForValue)
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
ConstraintProto.Builder |
setLinMax(LinearArgumentProto value)
The lin_max constraint forces the target to equal the maximum of all
linear expressions.
|
ConstraintProto.Builder |
setName(java.lang.String value)
For debug/logging only.
|
ConstraintProto.Builder |
setNameBytes(com.google.protobuf.ByteString value)
For debug/logging only.
|
ConstraintProto.Builder |
setNoOverlap(NoOverlapConstraintProto.Builder builderForValue)
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
ConstraintProto.Builder |
setNoOverlap(NoOverlapConstraintProto value)
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
|
ConstraintProto.Builder |
setNoOverlap2D(NoOverlap2DConstraintProto.Builder builderForValue)
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
ConstraintProto.Builder |
setNoOverlap2D(NoOverlap2DConstraintProto value)
The no_overlap_2d constraint prevents a set of boxes from overlapping.
|
ConstraintProto.Builder |
setReservoir(ReservoirConstraintProto.Builder builderForValue)
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
ConstraintProto.Builder |
setReservoir(ReservoirConstraintProto value)
The reservoir constraint forces the sum of a set of active demands
to always be between a specified minimum and maximum value during
specific times.
|
ConstraintProto.Builder |
setRoutes(RoutesConstraintProto.Builder builderForValue)
The routes constraint implements the vehicle routing problem.
|
ConstraintProto.Builder |
setRoutes(RoutesConstraintProto value)
The routes constraint implements the vehicle routing problem.
|
ConstraintProto.Builder |
setTable(TableConstraintProto.Builder builderForValue)
The table constraint enforces what values a tuple of variables may
take.
|
ConstraintProto.Builder |
setTable(TableConstraintProto value)
The table constraint enforces what values a tuple of variables may
take.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ConstraintProto.Builder>
public ConstraintProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ConstraintProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ConstraintProto.Builder>
public ConstraintProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ConstraintProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ConstraintProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ConstraintProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ConstraintProto.Builder>
public ConstraintProto.Builder mergeFrom(ConstraintProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ConstraintProto.Builder>
public ConstraintProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ConstraintProto.Builder>
java.io.IOException
public ConstraintProto.ConstraintCase getConstraintCase()
getConstraintCase
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder clearConstraint()
public java.lang.String getName()
For debug/logging only. Can be empty.
string name = 1;
getName
in interface ConstraintProtoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
For debug/logging only. Can be empty.
string name = 1;
getNameBytes
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setName(java.lang.String value)
For debug/logging only. Can be empty.
string name = 1;
value
- The name to set.public ConstraintProto.Builder clearName()
For debug/logging only. Can be empty.
string name = 1;
public ConstraintProto.Builder setNameBytes(com.google.protobuf.ByteString value)
For debug/logging only. Can be empty.
string name = 1;
value
- The bytes for name to set.public java.util.List<java.lang.Integer> getEnforcementLiteralList()
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
getEnforcementLiteralList
in interface ConstraintProtoOrBuilder
public int getEnforcementLiteralCount()
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
getEnforcementLiteralCount
in interface ConstraintProtoOrBuilder
public int getEnforcementLiteral(int index)
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
getEnforcementLiteral
in interface ConstraintProtoOrBuilder
index
- The index of the element to return.public ConstraintProto.Builder setEnforcementLiteral(int index, int value)
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
index
- The index to set the value at.value
- The enforcementLiteral to set.public ConstraintProto.Builder addEnforcementLiteral(int value)
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
value
- The enforcementLiteral to add.public ConstraintProto.Builder addAllEnforcementLiteral(java.lang.Iterable<? extends java.lang.Integer> values)
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
values
- The enforcementLiteral to add.public ConstraintProto.Builder clearEnforcementLiteral()
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;
public boolean hasBoolOr()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
hasBoolOr
in interface ConstraintProtoOrBuilder
public BoolArgumentProto getBoolOr()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
getBoolOr
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setBoolOr(BoolArgumentProto value)
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
public ConstraintProto.Builder setBoolOr(BoolArgumentProto.Builder builderForValue)
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
public ConstraintProto.Builder mergeBoolOr(BoolArgumentProto value)
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
public ConstraintProto.Builder clearBoolOr()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
public BoolArgumentProto.Builder getBoolOrBuilder()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
public BoolArgumentProtoOrBuilder getBoolOrOrBuilder()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;
getBoolOrOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasBoolAnd()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
hasBoolAnd
in interface ConstraintProtoOrBuilder
public BoolArgumentProto getBoolAnd()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
getBoolAnd
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setBoolAnd(BoolArgumentProto value)
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
public ConstraintProto.Builder setBoolAnd(BoolArgumentProto.Builder builderForValue)
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
public ConstraintProto.Builder mergeBoolAnd(BoolArgumentProto value)
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
public ConstraintProto.Builder clearBoolAnd()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
public BoolArgumentProto.Builder getBoolAndBuilder()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
public BoolArgumentProtoOrBuilder getBoolAndOrBuilder()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;
getBoolAndOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasAtMostOne()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
hasAtMostOne
in interface ConstraintProtoOrBuilder
public BoolArgumentProto getAtMostOne()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
getAtMostOne
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setAtMostOne(BoolArgumentProto value)
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
public ConstraintProto.Builder setAtMostOne(BoolArgumentProto.Builder builderForValue)
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
public ConstraintProto.Builder mergeAtMostOne(BoolArgumentProto value)
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
public ConstraintProto.Builder clearAtMostOne()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
public BoolArgumentProto.Builder getAtMostOneBuilder()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
public BoolArgumentProtoOrBuilder getAtMostOneOrBuilder()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;
getAtMostOneOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasExactlyOne()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
hasExactlyOne
in interface ConstraintProtoOrBuilder
public BoolArgumentProto getExactlyOne()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
getExactlyOne
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setExactlyOne(BoolArgumentProto value)
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
public ConstraintProto.Builder setExactlyOne(BoolArgumentProto.Builder builderForValue)
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
public ConstraintProto.Builder mergeExactlyOne(BoolArgumentProto value)
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
public ConstraintProto.Builder clearExactlyOne()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
public BoolArgumentProto.Builder getExactlyOneBuilder()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
public BoolArgumentProtoOrBuilder getExactlyOneOrBuilder()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;
getExactlyOneOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
hasBoolXor
in interface ConstraintProtoOrBuilder
public BoolArgumentProto getBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
getBoolXor
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setBoolXor(BoolArgumentProto value)
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
public ConstraintProto.Builder setBoolXor(BoolArgumentProto.Builder builderForValue)
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
public ConstraintProto.Builder mergeBoolXor(BoolArgumentProto value)
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
public ConstraintProto.Builder clearBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
public BoolArgumentProto.Builder getBoolXorBuilder()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
public BoolArgumentProtoOrBuilder getBoolXorOrBuilder()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;
getBoolXorOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
hasIntDiv
in interface ConstraintProtoOrBuilder
public LinearArgumentProto getIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
getIntDiv
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setIntDiv(LinearArgumentProto value)
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
public ConstraintProto.Builder setIntDiv(LinearArgumentProto.Builder builderForValue)
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
public ConstraintProto.Builder mergeIntDiv(LinearArgumentProto value)
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
public ConstraintProto.Builder clearIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
public LinearArgumentProto.Builder getIntDivBuilder()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
public LinearArgumentProtoOrBuilder getIntDivOrBuilder()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;
getIntDivOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
hasIntMod
in interface ConstraintProtoOrBuilder
public LinearArgumentProto getIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
getIntMod
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setIntMod(LinearArgumentProto value)
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
public ConstraintProto.Builder setIntMod(LinearArgumentProto.Builder builderForValue)
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
public ConstraintProto.Builder mergeIntMod(LinearArgumentProto value)
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
public ConstraintProto.Builder clearIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
public LinearArgumentProto.Builder getIntModBuilder()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
public LinearArgumentProtoOrBuilder getIntModOrBuilder()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;
getIntModOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasIntProd()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
hasIntProd
in interface ConstraintProtoOrBuilder
public LinearArgumentProto getIntProd()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
getIntProd
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setIntProd(LinearArgumentProto value)
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
public ConstraintProto.Builder setIntProd(LinearArgumentProto.Builder builderForValue)
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
public ConstraintProto.Builder mergeIntProd(LinearArgumentProto value)
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
public ConstraintProto.Builder clearIntProd()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
public LinearArgumentProto.Builder getIntProdBuilder()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
public LinearArgumentProtoOrBuilder getIntProdOrBuilder()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;
getIntProdOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasLinMax()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
hasLinMax
in interface ConstraintProtoOrBuilder
public LinearArgumentProto getLinMax()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
getLinMax
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setLinMax(LinearArgumentProto value)
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
public ConstraintProto.Builder setLinMax(LinearArgumentProto.Builder builderForValue)
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
public ConstraintProto.Builder mergeLinMax(LinearArgumentProto value)
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
public ConstraintProto.Builder clearLinMax()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
public LinearArgumentProto.Builder getLinMaxBuilder()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
public LinearArgumentProtoOrBuilder getLinMaxOrBuilder()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;
getLinMaxOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasLinear()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
hasLinear
in interface ConstraintProtoOrBuilder
public LinearConstraintProto getLinear()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
getLinear
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setLinear(LinearConstraintProto value)
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
public ConstraintProto.Builder setLinear(LinearConstraintProto.Builder builderForValue)
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
public ConstraintProto.Builder mergeLinear(LinearConstraintProto value)
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
public ConstraintProto.Builder clearLinear()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
public LinearConstraintProto.Builder getLinearBuilder()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
public LinearConstraintProtoOrBuilder getLinearOrBuilder()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;
getLinearOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasAllDiff()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
hasAllDiff
in interface ConstraintProtoOrBuilder
public AllDifferentConstraintProto getAllDiff()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
getAllDiff
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setAllDiff(AllDifferentConstraintProto value)
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
public ConstraintProto.Builder setAllDiff(AllDifferentConstraintProto.Builder builderForValue)
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
public ConstraintProto.Builder mergeAllDiff(AllDifferentConstraintProto value)
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
public ConstraintProto.Builder clearAllDiff()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
public AllDifferentConstraintProto.Builder getAllDiffBuilder()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
public AllDifferentConstraintProtoOrBuilder getAllDiffOrBuilder()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;
getAllDiffOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasElement()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
hasElement
in interface ConstraintProtoOrBuilder
public ElementConstraintProto getElement()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
getElement
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setElement(ElementConstraintProto value)
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
public ConstraintProto.Builder setElement(ElementConstraintProto.Builder builderForValue)
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
public ConstraintProto.Builder mergeElement(ElementConstraintProto value)
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
public ConstraintProto.Builder clearElement()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
public ElementConstraintProto.Builder getElementBuilder()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
public ElementConstraintProtoOrBuilder getElementOrBuilder()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;
getElementOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasCircuit()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
hasCircuit
in interface ConstraintProtoOrBuilder
public CircuitConstraintProto getCircuit()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
getCircuit
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setCircuit(CircuitConstraintProto value)
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
public ConstraintProto.Builder setCircuit(CircuitConstraintProto.Builder builderForValue)
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
public ConstraintProto.Builder mergeCircuit(CircuitConstraintProto value)
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
public ConstraintProto.Builder clearCircuit()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
public CircuitConstraintProto.Builder getCircuitBuilder()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
public CircuitConstraintProtoOrBuilder getCircuitOrBuilder()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;
getCircuitOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasRoutes()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
hasRoutes
in interface ConstraintProtoOrBuilder
public RoutesConstraintProto getRoutes()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
getRoutes
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setRoutes(RoutesConstraintProto value)
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
public ConstraintProto.Builder setRoutes(RoutesConstraintProto.Builder builderForValue)
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
public ConstraintProto.Builder mergeRoutes(RoutesConstraintProto value)
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
public ConstraintProto.Builder clearRoutes()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
public RoutesConstraintProto.Builder getRoutesBuilder()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
public RoutesConstraintProtoOrBuilder getRoutesOrBuilder()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;
getRoutesOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasTable()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
hasTable
in interface ConstraintProtoOrBuilder
public TableConstraintProto getTable()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
getTable
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setTable(TableConstraintProto value)
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
public ConstraintProto.Builder setTable(TableConstraintProto.Builder builderForValue)
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
public ConstraintProto.Builder mergeTable(TableConstraintProto value)
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
public ConstraintProto.Builder clearTable()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
public TableConstraintProto.Builder getTableBuilder()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
public TableConstraintProtoOrBuilder getTableOrBuilder()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;
getTableOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasAutomaton()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
hasAutomaton
in interface ConstraintProtoOrBuilder
public AutomatonConstraintProto getAutomaton()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
getAutomaton
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setAutomaton(AutomatonConstraintProto value)
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
public ConstraintProto.Builder setAutomaton(AutomatonConstraintProto.Builder builderForValue)
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
public ConstraintProto.Builder mergeAutomaton(AutomatonConstraintProto value)
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
public ConstraintProto.Builder clearAutomaton()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
public AutomatonConstraintProto.Builder getAutomatonBuilder()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
public AutomatonConstraintProtoOrBuilder getAutomatonOrBuilder()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;
getAutomatonOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasInverse()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
hasInverse
in interface ConstraintProtoOrBuilder
public InverseConstraintProto getInverse()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
getInverse
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setInverse(InverseConstraintProto value)
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
public ConstraintProto.Builder setInverse(InverseConstraintProto.Builder builderForValue)
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
public ConstraintProto.Builder mergeInverse(InverseConstraintProto value)
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
public ConstraintProto.Builder clearInverse()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
public InverseConstraintProto.Builder getInverseBuilder()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
public InverseConstraintProtoOrBuilder getInverseOrBuilder()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;
getInverseOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasReservoir()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
hasReservoir
in interface ConstraintProtoOrBuilder
public ReservoirConstraintProto getReservoir()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
getReservoir
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setReservoir(ReservoirConstraintProto value)
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
public ConstraintProto.Builder setReservoir(ReservoirConstraintProto.Builder builderForValue)
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
public ConstraintProto.Builder mergeReservoir(ReservoirConstraintProto value)
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
public ConstraintProto.Builder clearReservoir()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
public ReservoirConstraintProto.Builder getReservoirBuilder()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
public ReservoirConstraintProtoOrBuilder getReservoirOrBuilder()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;
getReservoirOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasInterval()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
hasInterval
in interface ConstraintProtoOrBuilder
public IntervalConstraintProto getInterval()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
getInterval
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setInterval(IntervalConstraintProto value)
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
public ConstraintProto.Builder setInterval(IntervalConstraintProto.Builder builderForValue)
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
public ConstraintProto.Builder mergeInterval(IntervalConstraintProto value)
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
public ConstraintProto.Builder clearInterval()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
public IntervalConstraintProto.Builder getIntervalBuilder()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
public IntervalConstraintProtoOrBuilder getIntervalOrBuilder()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;
getIntervalOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasNoOverlap()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
hasNoOverlap
in interface ConstraintProtoOrBuilder
public NoOverlapConstraintProto getNoOverlap()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
getNoOverlap
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setNoOverlap(NoOverlapConstraintProto value)
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
public ConstraintProto.Builder setNoOverlap(NoOverlapConstraintProto.Builder builderForValue)
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
public ConstraintProto.Builder mergeNoOverlap(NoOverlapConstraintProto value)
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
public ConstraintProto.Builder clearNoOverlap()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
public NoOverlapConstraintProto.Builder getNoOverlapBuilder()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
public NoOverlapConstraintProtoOrBuilder getNoOverlapOrBuilder()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;
getNoOverlapOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
hasNoOverlap2D
in interface ConstraintProtoOrBuilder
public NoOverlap2DConstraintProto getNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
getNoOverlap2D
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setNoOverlap2D(NoOverlap2DConstraintProto value)
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
public ConstraintProto.Builder setNoOverlap2D(NoOverlap2DConstraintProto.Builder builderForValue)
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
public ConstraintProto.Builder mergeNoOverlap2D(NoOverlap2DConstraintProto value)
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
public ConstraintProto.Builder clearNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
public NoOverlap2DConstraintProto.Builder getNoOverlap2DBuilder()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
public NoOverlap2DConstraintProtoOrBuilder getNoOverlap2DOrBuilder()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;
getNoOverlap2DOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasCumulative()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
hasCumulative
in interface ConstraintProtoOrBuilder
public CumulativeConstraintProto getCumulative()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
getCumulative
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setCumulative(CumulativeConstraintProto value)
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
public ConstraintProto.Builder setCumulative(CumulativeConstraintProto.Builder builderForValue)
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
public ConstraintProto.Builder mergeCumulative(CumulativeConstraintProto value)
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
public ConstraintProto.Builder clearCumulative()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
public CumulativeConstraintProto.Builder getCumulativeBuilder()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
public CumulativeConstraintProtoOrBuilder getCumulativeOrBuilder()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;
getCumulativeOrBuilder
in interface ConstraintProtoOrBuilder
public boolean hasDummyConstraint()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
hasDummyConstraint
in interface ConstraintProtoOrBuilder
public ListOfVariablesProto getDummyConstraint()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
getDummyConstraint
in interface ConstraintProtoOrBuilder
public ConstraintProto.Builder setDummyConstraint(ListOfVariablesProto value)
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
public ConstraintProto.Builder setDummyConstraint(ListOfVariablesProto.Builder builderForValue)
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
public ConstraintProto.Builder mergeDummyConstraint(ListOfVariablesProto value)
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
public ConstraintProto.Builder clearDummyConstraint()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
public ListOfVariablesProto.Builder getDummyConstraintBuilder()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
public ListOfVariablesProtoOrBuilder getDummyConstraintOrBuilder()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;
getDummyConstraintOrBuilder
in interface ConstraintProtoOrBuilder
Copyright © 2025. All rights reserved.