Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder Class Reference
Inheritance diagram for com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder:
com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.linearsolver.MPGeneralConstraintProto getDefaultInstanceForType ()
 
com.google.ortools.linearsolver.MPGeneralConstraintProto build ()
 
com.google.ortools.linearsolver.MPGeneralConstraintProto buildPartial ()
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.linearsolver.MPGeneralConstraintProto other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
GeneralConstraintCase getGeneralConstraintCase ()
 
Builder clearGeneralConstraint ()
 
boolean hasName ()
 
java.lang.String getName ()
 
com.google.protobuf.ByteString getNameBytes ()
 
Builder setName (java.lang.String value)
 
Builder clearName ()
 
Builder setNameBytes (com.google.protobuf.ByteString value)
 
boolean hasIndicatorConstraint ()
 
com.google.ortools.linearsolver.MPIndicatorConstraint getIndicatorConstraint ()
 
Builder setIndicatorConstraint (com.google.ortools.linearsolver.MPIndicatorConstraint value)
 
Builder setIndicatorConstraint (com.google.ortools.linearsolver.MPIndicatorConstraint.Builder builderForValue)
 
Builder mergeIndicatorConstraint (com.google.ortools.linearsolver.MPIndicatorConstraint value)
 
Builder clearIndicatorConstraint ()
 
com.google.ortools.linearsolver.MPIndicatorConstraint.Builder getIndicatorConstraintBuilder ()
 
com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder getIndicatorConstraintOrBuilder ()
 
boolean hasSosConstraint ()
 
com.google.ortools.linearsolver.MPSosConstraint getSosConstraint ()
 
Builder setSosConstraint (com.google.ortools.linearsolver.MPSosConstraint value)
 
Builder setSosConstraint (com.google.ortools.linearsolver.MPSosConstraint.Builder builderForValue)
 
Builder mergeSosConstraint (com.google.ortools.linearsolver.MPSosConstraint value)
 
Builder clearSosConstraint ()
 
com.google.ortools.linearsolver.MPSosConstraint.Builder getSosConstraintBuilder ()
 
com.google.ortools.linearsolver.MPSosConstraintOrBuilder getSosConstraintOrBuilder ()
 
boolean hasQuadraticConstraint ()
 
com.google.ortools.linearsolver.MPQuadraticConstraint getQuadraticConstraint ()
 
Builder setQuadraticConstraint (com.google.ortools.linearsolver.MPQuadraticConstraint value)
 
Builder setQuadraticConstraint (com.google.ortools.linearsolver.MPQuadraticConstraint.Builder builderForValue)
 
Builder mergeQuadraticConstraint (com.google.ortools.linearsolver.MPQuadraticConstraint value)
 
Builder clearQuadraticConstraint ()
 
com.google.ortools.linearsolver.MPQuadraticConstraint.Builder getQuadraticConstraintBuilder ()
 
com.google.ortools.linearsolver.MPQuadraticConstraintOrBuilder getQuadraticConstraintOrBuilder ()
 
boolean hasAbsConstraint ()
 
com.google.ortools.linearsolver.MPAbsConstraint getAbsConstraint ()
 
Builder setAbsConstraint (com.google.ortools.linearsolver.MPAbsConstraint value)
 
Builder setAbsConstraint (com.google.ortools.linearsolver.MPAbsConstraint.Builder builderForValue)
 
Builder mergeAbsConstraint (com.google.ortools.linearsolver.MPAbsConstraint value)
 
Builder clearAbsConstraint ()
 
com.google.ortools.linearsolver.MPAbsConstraint.Builder getAbsConstraintBuilder ()
 
com.google.ortools.linearsolver.MPAbsConstraintOrBuilder getAbsConstraintOrBuilder ()
 
boolean hasAndConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraint getAndConstraint ()
 
Builder setAndConstraint (com.google.ortools.linearsolver.MPArrayConstraint value)
 
Builder setAndConstraint (com.google.ortools.linearsolver.MPArrayConstraint.Builder builderForValue)
 
Builder mergeAndConstraint (com.google.ortools.linearsolver.MPArrayConstraint value)
 
Builder clearAndConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraint.Builder getAndConstraintBuilder ()
 
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder getAndConstraintOrBuilder ()
 
boolean hasOrConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraint getOrConstraint ()
 
Builder setOrConstraint (com.google.ortools.linearsolver.MPArrayConstraint value)
 
Builder setOrConstraint (com.google.ortools.linearsolver.MPArrayConstraint.Builder builderForValue)
 
Builder mergeOrConstraint (com.google.ortools.linearsolver.MPArrayConstraint value)
 
Builder clearOrConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraint.Builder getOrConstraintBuilder ()
 
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder getOrConstraintOrBuilder ()
 
boolean hasMinConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraint getMinConstraint ()
 
Builder setMinConstraint (com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
 
Builder setMinConstraint (com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder builderForValue)
 
Builder mergeMinConstraint (com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
 
Builder clearMinConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder getMinConstraintBuilder ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder getMinConstraintOrBuilder ()
 
boolean hasMaxConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraint getMaxConstraint ()
 
Builder setMaxConstraint (com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
 
Builder setMaxConstraint (com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder builderForValue)
 
Builder mergeMaxConstraint (com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
 
Builder clearMaxConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder getMaxConstraintBuilder ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder getMaxConstraintOrBuilder ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 

Detailed Description

General constraints. See each individual proto type for more information.

Protobuf type operations_research.MPGeneralConstraintProto

Definition at line 765 of file MPGeneralConstraintProto.java.

Member Function Documentation

◆ build()

com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.build ( )

Definition at line 838 of file MPGeneralConstraintProto.java.

◆ buildPartial()

com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.buildPartial ( )

Definition at line 847 of file MPGeneralConstraintProto.java.

◆ clear()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clear ( )

Definition at line 793 of file MPGeneralConstraintProto.java.

◆ clearAbsConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearAbsConstraint ( )

.operations_research.MPAbsConstraint abs_constraint = 5;

Definition at line 1689 of file MPGeneralConstraintProto.java.

◆ clearAndConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearAndConstraint ( )
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Definition at line 1861 of file MPGeneralConstraintProto.java.

◆ clearGeneralConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearGeneralConstraint ( )

Definition at line 1066 of file MPGeneralConstraintProto.java.

◆ clearIndicatorConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearIndicatorConstraint ( )

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Definition at line 1263 of file MPGeneralConstraintProto.java.

◆ clearMaxConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearMaxConstraint ( )
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Definition at line 2407 of file MPGeneralConstraintProto.java.

◆ clearMinConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearMinConstraint ( )
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Definition at line 2229 of file MPGeneralConstraintProto.java.

◆ clearName()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearName ( )
The name of the constraint.

optional string name = 1 [default = ""];

Returns
This builder for chaining.

Definition at line 1155 of file MPGeneralConstraintProto.java.

◆ clearOrConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearOrConstraint ( )
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Definition at line 2048 of file MPGeneralConstraintProto.java.

◆ clearQuadraticConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearQuadraticConstraint ( )

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Definition at line 1547 of file MPGeneralConstraintProto.java.

◆ clearSosConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearSosConstraint ( )

.operations_research.MPSosConstraint sos_constraint = 3;

Definition at line 1405 of file MPGeneralConstraintProto.java.

◆ getAbsConstraint()

com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAbsConstraint ( )

.operations_research.MPAbsConstraint abs_constraint = 5;

Returns
The absConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1620 of file MPGeneralConstraintProto.java.

◆ getAbsConstraintBuilder()

com.google.ortools.linearsolver.MPAbsConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAbsConstraintBuilder ( )

.operations_research.MPAbsConstraint abs_constraint = 5;

Definition at line 1708 of file MPGeneralConstraintProto.java.

◆ getAbsConstraintOrBuilder()

com.google.ortools.linearsolver.MPAbsConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAbsConstraintOrBuilder ( )

.operations_research.MPAbsConstraint abs_constraint = 5;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1715 of file MPGeneralConstraintProto.java.

◆ getAndConstraint()

com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAndConstraint ( )
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Returns
The andConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1772 of file MPGeneralConstraintProto.java.

◆ getAndConstraintBuilder()

com.google.ortools.linearsolver.MPArrayConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAndConstraintBuilder ( )
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Definition at line 1885 of file MPGeneralConstraintProto.java.

◆ getAndConstraintOrBuilder()

com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAndConstraintOrBuilder ( )
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1897 of file MPGeneralConstraintProto.java.

◆ getDefaultInstanceForType()

com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDefaultInstanceForType ( )

Definition at line 833 of file MPGeneralConstraintProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDescriptor ( )
static

Definition at line 770 of file MPGeneralConstraintProto.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDescriptorForType ( )

Definition at line 828 of file MPGeneralConstraintProto.java.

◆ getGeneralConstraintCase()

GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getGeneralConstraintCase ( )

◆ getIndicatorConstraint()

com.google.ortools.linearsolver.MPIndicatorConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getIndicatorConstraint ( )

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Returns
The indicatorConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1194 of file MPGeneralConstraintProto.java.

◆ getIndicatorConstraintBuilder()

com.google.ortools.linearsolver.MPIndicatorConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getIndicatorConstraintBuilder ( )

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Definition at line 1282 of file MPGeneralConstraintProto.java.

◆ getIndicatorConstraintOrBuilder()

com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getIndicatorConstraintOrBuilder ( )

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1289 of file MPGeneralConstraintProto.java.

◆ getMaxConstraint()

com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMaxConstraint ( )
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Returns
The maxConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2322 of file MPGeneralConstraintProto.java.

◆ getMaxConstraintBuilder()

com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMaxConstraintBuilder ( )
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Definition at line 2430 of file MPGeneralConstraintProto.java.

◆ getMaxConstraintOrBuilder()

com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMaxConstraintOrBuilder ( )
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2441 of file MPGeneralConstraintProto.java.

◆ getMinConstraint()

com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMinConstraint ( )
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Returns
The minConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2144 of file MPGeneralConstraintProto.java.

◆ getMinConstraintBuilder()

com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMinConstraintBuilder ( )
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Definition at line 2252 of file MPGeneralConstraintProto.java.

◆ getMinConstraintOrBuilder()

com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMinConstraintOrBuilder ( )
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2263 of file MPGeneralConstraintProto.java.

◆ getName()

java.lang.String com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getName ( )
The name of the constraint.

optional string name = 1 [default = ""];

Returns
The name.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1095 of file MPGeneralConstraintProto.java.

◆ getNameBytes()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getNameBytes ( )
The name of the constraint.

optional string name = 1 [default = ""];

Returns
The bytes for name.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1118 of file MPGeneralConstraintProto.java.

◆ getOrConstraint()

com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getOrConstraint ( )
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Returns
The orConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1959 of file MPGeneralConstraintProto.java.

◆ getOrConstraintBuilder()

com.google.ortools.linearsolver.MPArrayConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getOrConstraintBuilder ( )
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Definition at line 2072 of file MPGeneralConstraintProto.java.

◆ getOrConstraintOrBuilder()

com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getOrConstraintOrBuilder ( )
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2084 of file MPGeneralConstraintProto.java.

◆ getQuadraticConstraint()

com.google.ortools.linearsolver.MPQuadraticConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getQuadraticConstraint ( )

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Returns
The quadraticConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1478 of file MPGeneralConstraintProto.java.

◆ getQuadraticConstraintBuilder()

com.google.ortools.linearsolver.MPQuadraticConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getQuadraticConstraintBuilder ( )

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Definition at line 1566 of file MPGeneralConstraintProto.java.

◆ getQuadraticConstraintOrBuilder()

com.google.ortools.linearsolver.MPQuadraticConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getQuadraticConstraintOrBuilder ( )

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1573 of file MPGeneralConstraintProto.java.

◆ getSosConstraint()

com.google.ortools.linearsolver.MPSosConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getSosConstraint ( )

.operations_research.MPSosConstraint sos_constraint = 3;

Returns
The sosConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1336 of file MPGeneralConstraintProto.java.

◆ getSosConstraintBuilder()

com.google.ortools.linearsolver.MPSosConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getSosConstraintBuilder ( )

.operations_research.MPSosConstraint sos_constraint = 3;

Definition at line 1424 of file MPGeneralConstraintProto.java.

◆ getSosConstraintOrBuilder()

com.google.ortools.linearsolver.MPSosConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getSosConstraintOrBuilder ( )

.operations_research.MPSosConstraint sos_constraint = 3;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1431 of file MPGeneralConstraintProto.java.

◆ hasAbsConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasAbsConstraint ( )

.operations_research.MPAbsConstraint abs_constraint = 5;

Returns
Whether the absConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1612 of file MPGeneralConstraintProto.java.

◆ hasAndConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasAndConstraint ( )
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Returns
Whether the andConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1759 of file MPGeneralConstraintProto.java.

◆ hasIndicatorConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasIndicatorConstraint ( )

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Returns
Whether the indicatorConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1186 of file MPGeneralConstraintProto.java.

◆ hasMaxConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasMaxConstraint ( )
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Returns
Whether the maxConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2310 of file MPGeneralConstraintProto.java.

◆ hasMinConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasMinConstraint ( )
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Returns
Whether the minConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 2132 of file MPGeneralConstraintProto.java.

◆ hasName()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasName ( )
The name of the constraint.

optional string name = 1 [default = ""];

Returns
Whether the name field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1084 of file MPGeneralConstraintProto.java.

◆ hasOrConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasOrConstraint ( )
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Returns
Whether the orConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1946 of file MPGeneralConstraintProto.java.

◆ hasQuadraticConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasQuadraticConstraint ( )

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Returns
Whether the quadraticConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1470 of file MPGeneralConstraintProto.java.

◆ hasSosConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasSosConstraint ( )

.operations_research.MPSosConstraint sos_constraint = 3;

Returns
Whether the sosConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 1328 of file MPGeneralConstraintProto.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.internalGetFieldAccessorTable ( )
protected

Definition at line 776 of file MPGeneralConstraintProto.java.

◆ isInitialized()

final boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.isInitialized ( )

Definition at line 962 of file MPGeneralConstraintProto.java.

◆ mergeAbsConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeAbsConstraint ( com.google.ortools.linearsolver.MPAbsConstraint value)

.operations_research.MPAbsConstraint abs_constraint = 5;

Definition at line 1666 of file MPGeneralConstraintProto.java.

◆ mergeAndConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeAndConstraint ( com.google.ortools.linearsolver.MPArrayConstraint value)
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Definition at line 1833 of file MPGeneralConstraintProto.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom ( com.google.ortools.linearsolver.MPGeneralConstraintProto other)

Definition at line 912 of file MPGeneralConstraintProto.java.

◆ mergeFrom() [2/3]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException

Definition at line 967 of file MPGeneralConstraintProto.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 903 of file MPGeneralConstraintProto.java.

◆ mergeIndicatorConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeIndicatorConstraint ( com.google.ortools.linearsolver.MPIndicatorConstraint value)

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Definition at line 1240 of file MPGeneralConstraintProto.java.

◆ mergeMaxConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeMaxConstraint ( com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Definition at line 2380 of file MPGeneralConstraintProto.java.

◆ mergeMinConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeMinConstraint ( com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Definition at line 2202 of file MPGeneralConstraintProto.java.

◆ mergeOrConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeOrConstraint ( com.google.ortools.linearsolver.MPArrayConstraint value)
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Definition at line 2020 of file MPGeneralConstraintProto.java.

◆ mergeQuadraticConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeQuadraticConstraint ( com.google.ortools.linearsolver.MPQuadraticConstraint value)

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Definition at line 1524 of file MPGeneralConstraintProto.java.

◆ mergeSosConstraint()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeSosConstraint ( com.google.ortools.linearsolver.MPSosConstraint value)

.operations_research.MPSosConstraint sos_constraint = 3;

Definition at line 1382 of file MPGeneralConstraintProto.java.

◆ setAbsConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAbsConstraint ( com.google.ortools.linearsolver.MPAbsConstraint value)

.operations_research.MPAbsConstraint abs_constraint = 5;

Definition at line 1636 of file MPGeneralConstraintProto.java.

◆ setAbsConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAbsConstraint ( com.google.ortools.linearsolver.MPAbsConstraint.Builder builderForValue)

.operations_research.MPAbsConstraint abs_constraint = 5;

Definition at line 1652 of file MPGeneralConstraintProto.java.

◆ setAndConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAndConstraint ( com.google.ortools.linearsolver.MPArrayConstraint value)
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Definition at line 1793 of file MPGeneralConstraintProto.java.

◆ setAndConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAndConstraint ( com.google.ortools.linearsolver.MPArrayConstraint.Builder builderForValue)
All variables in "and" constraints must be Boolean.
resultant_var = and(var_1, var_2... var_n)

.operations_research.MPArrayConstraint and_constraint = 6;

Definition at line 1814 of file MPGeneralConstraintProto.java.

◆ setIndicatorConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setIndicatorConstraint ( com.google.ortools.linearsolver.MPIndicatorConstraint value)

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Definition at line 1210 of file MPGeneralConstraintProto.java.

◆ setIndicatorConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setIndicatorConstraint ( com.google.ortools.linearsolver.MPIndicatorConstraint.Builder builderForValue)

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Definition at line 1226 of file MPGeneralConstraintProto.java.

◆ setMaxConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMaxConstraint ( com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Definition at line 2342 of file MPGeneralConstraintProto.java.

◆ setMaxConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMaxConstraint ( com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder builderForValue)
resultant_var = max(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Definition at line 2362 of file MPGeneralConstraintProto.java.

◆ setMinConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMinConstraint ( com.google.ortools.linearsolver.MPArrayWithConstantConstraint value)
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Definition at line 2164 of file MPGeneralConstraintProto.java.

◆ setMinConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMinConstraint ( com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder builderForValue)
resultant_var = min(var_1, var_2, ..., constant)

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Definition at line 2184 of file MPGeneralConstraintProto.java.

◆ setName()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setName ( java.lang.String value)
The name of the constraint.

optional string name = 1 [default = ""];

Parameters
valueThe name to set.
Returns
This builder for chaining.

Definition at line 1139 of file MPGeneralConstraintProto.java.

◆ setNameBytes()

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setNameBytes ( com.google.protobuf.ByteString value)
The name of the constraint.

optional string name = 1 [default = ""];

Parameters
valueThe bytes for name to set.
Returns
This builder for chaining.

Definition at line 1170 of file MPGeneralConstraintProto.java.

◆ setOrConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setOrConstraint ( com.google.ortools.linearsolver.MPArrayConstraint value)
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Definition at line 1980 of file MPGeneralConstraintProto.java.

◆ setOrConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setOrConstraint ( com.google.ortools.linearsolver.MPArrayConstraint.Builder builderForValue)
All variables in "or" constraints must be Boolean.
resultant_var = or(var_1, var_2... var_n)

.operations_research.MPArrayConstraint or_constraint = 7;

Definition at line 2001 of file MPGeneralConstraintProto.java.

◆ setQuadraticConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setQuadraticConstraint ( com.google.ortools.linearsolver.MPQuadraticConstraint value)

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Definition at line 1494 of file MPGeneralConstraintProto.java.

◆ setQuadraticConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setQuadraticConstraint ( com.google.ortools.linearsolver.MPQuadraticConstraint.Builder builderForValue)

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Definition at line 1510 of file MPGeneralConstraintProto.java.

◆ setSosConstraint() [1/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setSosConstraint ( com.google.ortools.linearsolver.MPSosConstraint value)

.operations_research.MPSosConstraint sos_constraint = 3;

Definition at line 1352 of file MPGeneralConstraintProto.java.

◆ setSosConstraint() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setSosConstraint ( com.google.ortools.linearsolver.MPSosConstraint.Builder builderForValue)

.operations_research.MPSosConstraint sos_constraint = 3;

Definition at line 1368 of file MPGeneralConstraintProto.java.


The documentation for this class was generated from the following file: