Package | Description |
---|---|
com.google.ortools.sat |
Modifier and Type | Method and Description |
---|---|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.addAllCoefficients(java.lang.Iterable<? extends java.lang.Long> values)
repeated int64 coefficients = 2; |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.addAllLiterals(java.lang.Iterable<? extends java.lang.Integer> values)
Linear terms involved in this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.addCoefficients(long value)
repeated int64 coefficients = 2; |
LinearBooleanConstraint.Builder |
LinearBooleanProblem.Builder.addConstraintsBuilder()
The constraints of the problem.
|
LinearBooleanConstraint.Builder |
LinearBooleanProblem.Builder.addConstraintsBuilder(int index)
The constraints of the problem.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.addLiterals(int value)
Linear terms involved in this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.clear() |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.clearCoefficients()
repeated int64 coefficients = 2; |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.clearLiterals()
Linear terms involved in this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.clearLowerBound()
Optional lower (resp. upper) bound of the constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.clearName()
The name of this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.clearUpperBound()
optional int64 upper_bound = 4; |
LinearBooleanConstraint.Builder |
LinearBooleanProblem.Builder.getConstraintsBuilder(int index)
The constraints of the problem.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.mergeFrom(LinearBooleanConstraint other) |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.mergeFrom(com.google.protobuf.Message other) |
static LinearBooleanConstraint.Builder |
LinearBooleanConstraint.newBuilder() |
static LinearBooleanConstraint.Builder |
LinearBooleanConstraint.newBuilder(LinearBooleanConstraint prototype) |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.newBuilderForType() |
protected LinearBooleanConstraint.Builder |
LinearBooleanConstraint.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.setCoefficients(int index,
long value)
repeated int64 coefficients = 2; |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.setLiterals(int index,
int value)
Linear terms involved in this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.setLowerBound(long value)
Optional lower (resp. upper) bound of the constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.setName(java.lang.String value)
The name of this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.setNameBytes(com.google.protobuf.ByteString value)
The name of this constraint.
|
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.Builder.setUpperBound(long value)
optional int64 upper_bound = 4; |
LinearBooleanConstraint.Builder |
LinearBooleanConstraint.toBuilder() |
Modifier and Type | Method and Description |
---|---|
java.util.List<LinearBooleanConstraint.Builder> |
LinearBooleanProblem.Builder.getConstraintsBuilderList()
The constraints of the problem.
|
Modifier and Type | Method and Description |
---|---|
LinearBooleanProblem.Builder |
LinearBooleanProblem.Builder.addConstraints(int index,
LinearBooleanConstraint.Builder builderForValue)
The constraints of the problem.
|
LinearBooleanProblem.Builder |
LinearBooleanProblem.Builder.addConstraints(LinearBooleanConstraint.Builder builderForValue)
The constraints of the problem.
|
LinearBooleanProblem.Builder |
LinearBooleanProblem.Builder.setConstraints(int index,
LinearBooleanConstraint.Builder builderForValue)
The constraints of the problem.
|
Copyright © 2025. All rights reserved.