Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasVarIndex () |
int | getVarIndex () |
boolean | hasResultantVarIndex () |
int | getResultantVarIndex () |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< MPAbsConstraint > | getParserForType () |
com.google.ortools.linearsolver.MPAbsConstraint | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPAbsConstraint | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPAbsConstraint | 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.MPAbsConstraint prototype) |
static com.google.ortools.linearsolver.MPAbsConstraint | getDefaultInstance () |
static com.google.protobuf.Parser< MPAbsConstraint > | parser () |
Static Public Attributes | |
static final int | VAR_INDEX_FIELD_NUMBER = 1 |
static final int | RESULTANT_VAR_INDEX_FIELD_NUMBER = 2 |
static final com.google.protobuf.Parser< MPAbsConstraint > | PARSER |
Protected Member Functions | |
java.lang.Object | newInstance (UnusedPrivateParameter unused) |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Sets a variable's value to the absolute value of another variable.
Protobuf type operations_research.MPAbsConstraint
Definition at line 14 of file MPAbsConstraint.java.
boolean com.google.ortools.linearsolver.MPAbsConstraint.equals | ( | final java.lang.Object | obj | ) |
Definition at line 138 of file MPAbsConstraint.java.
|
static |
Definition at line 582 of file MPAbsConstraint.java.
com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPAbsConstraint.getDefaultInstanceForType | ( | ) |
Definition at line 618 of file MPAbsConstraint.java.
|
static |
Definition at line 34 of file MPAbsConstraint.java.
com.google.protobuf.Parser< MPAbsConstraint > com.google.ortools.linearsolver.MPAbsConstraint.getParserForType | ( | ) |
Definition at line 613 of file MPAbsConstraint.java.
int com.google.ortools.linearsolver.MPAbsConstraint.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.
Definition at line 91 of file MPAbsConstraint.java.
int com.google.ortools.linearsolver.MPAbsConstraint.getSerializedSize | ( | ) |
Definition at line 119 of file MPAbsConstraint.java.
int com.google.ortools.linearsolver.MPAbsConstraint.getVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
Implements com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.
Definition at line 72 of file MPAbsConstraint.java.
int com.google.ortools.linearsolver.MPAbsConstraint.hashCode | ( | ) |
Definition at line 162 of file MPAbsConstraint.java.
boolean com.google.ortools.linearsolver.MPAbsConstraint.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.
Definition at line 83 of file MPAbsConstraint.java.
boolean com.google.ortools.linearsolver.MPAbsConstraint.hasVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
Implements com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.
Definition at line 59 of file MPAbsConstraint.java.
|
protected |
Definition at line 40 of file MPAbsConstraint.java.
final boolean com.google.ortools.linearsolver.MPAbsConstraint.isInitialized | ( | ) |
Definition at line 97 of file MPAbsConstraint.java.
|
static |
Definition at line 255 of file MPAbsConstraint.java.
|
static |
Definition at line 258 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.newBuilderForType | ( | ) |
Definition at line 254 of file MPAbsConstraint.java.
|
protected |
Definition at line 268 of file MPAbsConstraint.java.
|
protected |
Definition at line 28 of file MPAbsConstraint.java.
|
static |
Definition at line 226 of file MPAbsConstraint.java.
|
static |
Definition at line 232 of file MPAbsConstraint.java.
|
static |
Definition at line 203 of file MPAbsConstraint.java.
|
static |
Definition at line 207 of file MPAbsConstraint.java.
|
static |
Definition at line 192 of file MPAbsConstraint.java.
|
static |
Definition at line 197 of file MPAbsConstraint.java.
|
static |
Definition at line 239 of file MPAbsConstraint.java.
|
static |
Definition at line 245 of file MPAbsConstraint.java.
|
static |
Definition at line 213 of file MPAbsConstraint.java.
|
static |
Definition at line 218 of file MPAbsConstraint.java.
|
static |
Definition at line 181 of file MPAbsConstraint.java.
|
static |
Definition at line 186 of file MPAbsConstraint.java.
|
static |
Definition at line 608 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.toBuilder | ( | ) |
Definition at line 262 of file MPAbsConstraint.java.
void com.google.ortools.linearsolver.MPAbsConstraint.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 107 of file MPAbsConstraint.java.
|
static |
Definition at line 587 of file MPAbsConstraint.java.
|
static |
Definition at line 76 of file MPAbsConstraint.java.
|
static |
Definition at line 47 of file MPAbsConstraint.java.