Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.linearsolver.MPAbsConstraint | getDefaultInstanceForType () |
com.google.ortools.linearsolver.MPAbsConstraint | build () |
com.google.ortools.linearsolver.MPAbsConstraint | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.linearsolver.MPAbsConstraint other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
boolean | hasVarIndex () |
int | getVarIndex () |
Builder | setVarIndex (int value) |
Builder | clearVarIndex () |
boolean | hasResultantVarIndex () |
int | getResultantVarIndex () |
Builder | setResultantVarIndex (int value) |
Builder | clearResultantVarIndex () |
Public Member Functions inherited from com.google.ortools.linearsolver.MPAbsConstraintOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Sets a variable's value to the absolute value of another variable.
Protobuf type operations_research.MPAbsConstraint
Definition at line 282 of file MPAbsConstraint.java.
com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPAbsConstraint.Builder.build | ( | ) |
Definition at line 330 of file MPAbsConstraint.java.
com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPAbsConstraint.Builder.buildPartial | ( | ) |
Definition at line 339 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.clear | ( | ) |
Definition at line 310 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.clearResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Definition at line 524 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.clearVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
Definition at line 484 of file MPAbsConstraint.java.
com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPAbsConstraint.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 325 of file MPAbsConstraint.java.
|
static |
Definition at line 287 of file MPAbsConstraint.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPAbsConstraint.Builder.getDescriptorForType | ( | ) |
Definition at line 320 of file MPAbsConstraint.java.
int com.google.ortools.linearsolver.MPAbsConstraint.Builder.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.
Definition at line 505 of file MPAbsConstraint.java.
int com.google.ortools.linearsolver.MPAbsConstraint.Builder.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 455 of file MPAbsConstraint.java.
boolean com.google.ortools.linearsolver.MPAbsConstraint.Builder.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.
Definition at line 497 of file MPAbsConstraint.java.
boolean com.google.ortools.linearsolver.MPAbsConstraint.Builder.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 442 of file MPAbsConstraint.java.
|
protected |
Definition at line 293 of file MPAbsConstraint.java.
final boolean com.google.ortools.linearsolver.MPAbsConstraint.Builder.isInitialized | ( | ) |
Definition at line 384 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPAbsConstraint | other | ) |
Definition at line 370 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 389 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 361 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.setResultantVarIndex | ( | int | value | ) |
optional int32 resultant_var_index = 2;
value | The resultantVarIndex to set. |
Definition at line 513 of file MPAbsConstraint.java.
Builder com.google.ortools.linearsolver.MPAbsConstraint.Builder.setVarIndex | ( | int | value | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
value | The varIndex to set. |
Definition at line 468 of file MPAbsConstraint.java.