Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
enum | TargetType |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPModelProto.Annotation | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.linearsolver.MPModelProto.Annotation prototype) |
static com.google.ortools.linearsolver.MPModelProto.Annotation | getDefaultInstance () |
static com.google.protobuf.Parser< Annotation > | parser () |
Static Public Attributes | |
static final int | TARGET_TYPE_FIELD_NUMBER = 1 |
static final int | TARGET_INDEX_FIELD_NUMBER = 2 |
static final int | TARGET_NAME_FIELD_NUMBER = 3 |
static final int | PAYLOAD_KEY_FIELD_NUMBER = 4 |
static final int | PAYLOAD_VALUE_FIELD_NUMBER = 5 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Annotations can be freely added by users who want to attach arbitrary payload to the model's variables or constraints.
Protobuf type operations_research.MPModelProto.Annotation
Definition at line 175 of file MPModelProto.java.
boolean com.google.ortools.linearsolver.MPModelProto.Annotation.equals | ( | final java.lang.Object | obj | ) |
Definition at line 615 of file MPModelProto.java.
|
static |
Definition at line 1390 of file MPModelProto.java.
com.google.ortools.linearsolver.MPModelProto.Annotation com.google.ortools.linearsolver.MPModelProto.Annotation.getDefaultInstanceForType | ( | ) |
Definition at line 1426 of file MPModelProto.java.
|
static |
Definition at line 201 of file MPModelProto.java.
com.google.protobuf.Parser< Annotation > com.google.ortools.linearsolver.MPModelProto.Annotation.getParserForType | ( | ) |
Definition at line 1421 of file MPModelProto.java.
java.lang.String com.google.ortools.linearsolver.MPModelProto.Annotation.getPayloadKey | ( | ) |
The payload is a (key, value) string pair. Depending on the use cases, one of the two may be omitted.
optional string payload_key = 4;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 467 of file MPModelProto.java.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.Annotation.getPayloadKeyBytes | ( | ) |
The payload is a (key, value) string pair. Depending on the use cases, one of the two may be omitted.
optional string payload_key = 4;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 492 of file MPModelProto.java.
java.lang.String com.google.ortools.linearsolver.MPModelProto.Annotation.getPayloadValue | ( | ) |
optional string payload_value = 5;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 521 of file MPModelProto.java.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.Annotation.getPayloadValueBytes | ( | ) |
optional string payload_value = 5;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 541 of file MPModelProto.java.
int com.google.ortools.linearsolver.MPModelProto.Annotation.getSerializedSize | ( | ) |
Definition at line 587 of file MPModelProto.java.
int com.google.ortools.linearsolver.MPModelProto.Annotation.getTargetIndex | ( | ) |
If both `target_index` and `target_name` are set, they must point to the same entity.
optional int32 target_index = 2;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 376 of file MPModelProto.java.
java.lang.String com.google.ortools.linearsolver.MPModelProto.Annotation.getTargetName | ( | ) |
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 404 of file MPModelProto.java.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.Annotation.getTargetNameBytes | ( | ) |
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 428 of file MPModelProto.java.
com.google.ortools.linearsolver.MPModelProto.Annotation.TargetType com.google.ortools.linearsolver.MPModelProto.Annotation.getTargetType | ( | ) |
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 346 of file MPModelProto.java.
int com.google.ortools.linearsolver.MPModelProto.Annotation.hashCode | ( | ) |
Definition at line 653 of file MPModelProto.java.
boolean com.google.ortools.linearsolver.MPModelProto.Annotation.hasPayloadKey | ( | ) |
The payload is a (key, value) string pair. Depending on the use cases, one of the two may be omitted.
optional string payload_key = 4;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 454 of file MPModelProto.java.
boolean com.google.ortools.linearsolver.MPModelProto.Annotation.hasPayloadValue | ( | ) |
optional string payload_value = 5;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 513 of file MPModelProto.java.
boolean com.google.ortools.linearsolver.MPModelProto.Annotation.hasTargetIndex | ( | ) |
If both `target_index` and `target_name` are set, they must point to the same entity.
optional int32 target_index = 2;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 363 of file MPModelProto.java.
boolean com.google.ortools.linearsolver.MPModelProto.Annotation.hasTargetName | ( | ) |
Alternate to index. Assumes uniqueness.
optional string target_name = 3;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 392 of file MPModelProto.java.
boolean com.google.ortools.linearsolver.MPModelProto.Annotation.hasTargetType | ( | ) |
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
Implements com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder.
Definition at line 339 of file MPModelProto.java.
|
protected |
Definition at line 207 of file MPModelProto.java.
final boolean com.google.ortools.linearsolver.MPModelProto.Annotation.isInitialized | ( | ) |
Definition at line 556 of file MPModelProto.java.
|
static |
Definition at line 758 of file MPModelProto.java.
|
static |
Definition at line 761 of file MPModelProto.java.
Builder com.google.ortools.linearsolver.MPModelProto.Annotation.newBuilderForType | ( | ) |
Definition at line 757 of file MPModelProto.java.
|
protected |
Definition at line 771 of file MPModelProto.java.
|
static |
Definition at line 729 of file MPModelProto.java.
|
static |
Definition at line 735 of file MPModelProto.java.
|
static |
Definition at line 706 of file MPModelProto.java.
|
static |
Definition at line 710 of file MPModelProto.java.
|
static |
Definition at line 695 of file MPModelProto.java.
|
static |
Definition at line 700 of file MPModelProto.java.
|
static |
Definition at line 742 of file MPModelProto.java.
|
static |
Definition at line 748 of file MPModelProto.java.
|
static |
Definition at line 716 of file MPModelProto.java.
|
static |
Definition at line 721 of file MPModelProto.java.
|
static |
Definition at line 684 of file MPModelProto.java.
|
static |
Definition at line 689 of file MPModelProto.java.
|
static |
Definition at line 1416 of file MPModelProto.java.
Builder com.google.ortools.linearsolver.MPModelProto.Annotation.toBuilder | ( | ) |
Definition at line 765 of file MPModelProto.java.
void com.google.ortools.linearsolver.MPModelProto.Annotation.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 566 of file MPModelProto.java.
|
static |
Definition at line 441 of file MPModelProto.java.
|
static |
Definition at line 505 of file MPModelProto.java.
|
static |
Definition at line 351 of file MPModelProto.java.
|
static |
Definition at line 380 of file MPModelProto.java.
|
static |
Definition at line 333 of file MPModelProto.java.