Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
This is not really a constraint. It is there so it can be referred by other constraints using this "interval" concept. IMPORTANT: For now, this constraint do not enforce any relations on the components, and it is up to the client to add in the model: - enforcement => start + size == end. - enforcement => size >= 0 // Only needed if size is not already >= 0. IMPORTANT: For now, we just support affine relation. We could easily create an intermediate variable to support full linear expression, but this isn't done currently.
Protobuf type operations_research.sat.IntervalConstraintProto
Definition at line 348 of file IntervalConstraintProto.java.
com.google.ortools.sat.IntervalConstraintProto com.google.ortools.sat.IntervalConstraintProto.Builder.build | ( | ) |
Definition at line 417 of file IntervalConstraintProto.java.
com.google.ortools.sat.IntervalConstraintProto com.google.ortools.sat.IntervalConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 426 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.clear | ( | ) |
Definition at line 384 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.clearEnd | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Definition at line 738 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.clearSize | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Definition at line 859 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.clearStart | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Definition at line 617 of file IntervalConstraintProto.java.
com.google.ortools.sat.IntervalConstraintProto com.google.ortools.sat.IntervalConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 412 of file IntervalConstraintProto.java.
|
static |
Definition at line 353 of file IntervalConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.IntervalConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 407 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.IntervalConstraintProto.Builder.getEnd | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 677 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto.Builder com.google.ortools.sat.IntervalConstraintProto.Builder.getEndBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Definition at line 751 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.IntervalConstraintProto.Builder.getEndOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 759 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.IntervalConstraintProto.Builder.getSize | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 798 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto.Builder com.google.ortools.sat.IntervalConstraintProto.Builder.getSizeBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Definition at line 872 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.IntervalConstraintProto.Builder.getSizeOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 880 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.IntervalConstraintProto.Builder.getStart | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 556 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto.Builder com.google.ortools.sat.IntervalConstraintProto.Builder.getStartBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Definition at line 630 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.IntervalConstraintProto.Builder.getStartOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 638 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.Builder.hasEnd | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 670 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.Builder.hasSize | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 791 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.Builder.hasStart | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 549 of file IntervalConstraintProto.java.
|
protected |
Definition at line 359 of file IntervalConstraintProto.java.
final boolean com.google.ortools.sat.IntervalConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 484 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.mergeEnd | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Definition at line 717 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.IntervalConstraintProto | other | ) |
Definition at line 467 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 489 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 458 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.mergeSize | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Definition at line 838 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.mergeStart | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Definition at line 596 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.setEnd | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Definition at line 687 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.setEnd | ( | com.google.ortools.sat.LinearExpressionProto.Builder | builderForValue | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Definition at line 703 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.setSize | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Definition at line 808 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.setSize | ( | com.google.ortools.sat.LinearExpressionProto.Builder | builderForValue | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Definition at line 824 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.setStart | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Definition at line 566 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.Builder.setStart | ( | com.google.ortools.sat.LinearExpressionProto.Builder | builderForValue | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Definition at line 582 of file IntervalConstraintProto.java.