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

Classes

class  Builder
 
enum  GeneralConstraintCase
 

Public Member Functions

GeneralConstraintCase getGeneralConstraintCase ()
 
boolean hasName ()
 
java.lang.String getName ()
 
com.google.protobuf.ByteString getNameBytes ()
 
boolean hasIndicatorConstraint ()
 
com.google.ortools.linearsolver.MPIndicatorConstraint getIndicatorConstraint ()
 
com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder getIndicatorConstraintOrBuilder ()
 
boolean hasSosConstraint ()
 
com.google.ortools.linearsolver.MPSosConstraint getSosConstraint ()
 
com.google.ortools.linearsolver.MPSosConstraintOrBuilder getSosConstraintOrBuilder ()
 
boolean hasQuadraticConstraint ()
 
com.google.ortools.linearsolver.MPQuadraticConstraint getQuadraticConstraint ()
 
com.google.ortools.linearsolver.MPQuadraticConstraintOrBuilder getQuadraticConstraintOrBuilder ()
 
boolean hasAbsConstraint ()
 
com.google.ortools.linearsolver.MPAbsConstraint getAbsConstraint ()
 
com.google.ortools.linearsolver.MPAbsConstraintOrBuilder getAbsConstraintOrBuilder ()
 
boolean hasAndConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraint getAndConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder getAndConstraintOrBuilder ()
 
boolean hasOrConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraint getOrConstraint ()
 
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder getOrConstraintOrBuilder ()
 
boolean hasMinConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraint getMinConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder getMinConstraintOrBuilder ()
 
boolean hasMaxConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraint getMaxConstraint ()
 
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder getMaxConstraintOrBuilder ()
 
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< MPGeneralConstraintProtogetParserForType ()
 
com.google.ortools.linearsolver.MPGeneralConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto 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.MPGeneralConstraintProto prototype)
 
static com.google.ortools.linearsolver.MPGeneralConstraintProto getDefaultInstance ()
 
static com.google.protobuf.Parser< MPGeneralConstraintProtoparser ()
 

Static Public Attributes

static final int NAME_FIELD_NUMBER = 1
 
static final int INDICATOR_CONSTRAINT_FIELD_NUMBER = 2
 
static final int SOS_CONSTRAINT_FIELD_NUMBER = 3
 
static final int QUADRATIC_CONSTRAINT_FIELD_NUMBER = 4
 
static final int ABS_CONSTRAINT_FIELD_NUMBER = 5
 
static final int AND_CONSTRAINT_FIELD_NUMBER = 6
 
static final int OR_CONSTRAINT_FIELD_NUMBER = 7
 
static final int MIN_CONSTRAINT_FIELD_NUMBER = 8
 
static final int MAX_CONSTRAINT_FIELD_NUMBER = 9
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

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

Protobuf type operations_research.MPGeneralConstraintProto

Definition at line 15 of file MPGeneralConstraintProto.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.equals ( final java.lang.Object obj)

Definition at line 559 of file MPGeneralConstraintProto.java.

◆ getAbsConstraint()

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

.operations_research.MPAbsConstraint abs_constraint = 5;

Returns
The absConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 273 of file MPGeneralConstraintProto.java.

◆ getAbsConstraintOrBuilder()

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

.operations_research.MPAbsConstraint abs_constraint = 5;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 283 of file MPGeneralConstraintProto.java.

◆ getAndConstraint()

com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.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 314 of file MPGeneralConstraintProto.java.

◆ getAndConstraintOrBuilder()

com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.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 329 of file MPGeneralConstraintProto.java.

◆ getDefaultInstance()

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.getDefaultInstance ( )
static

Definition at line 2486 of file MPGeneralConstraintProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 2522 of file MPGeneralConstraintProto.java.

◆ getDescriptor()

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

Definition at line 38 of file MPGeneralConstraintProto.java.

◆ getGeneralConstraintCase()

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

◆ getIndicatorConstraint()

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

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Returns
The indicatorConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 180 of file MPGeneralConstraintProto.java.

◆ getIndicatorConstraintOrBuilder()

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

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 190 of file MPGeneralConstraintProto.java.

◆ getMaxConstraint()

com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.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 447 of file MPGeneralConstraintProto.java.

◆ getMaxConstraintOrBuilder()

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

.operations_research.MPArrayWithConstantConstraint max_constraint = 9;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 461 of file MPGeneralConstraintProto.java.

◆ getMinConstraint()

com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.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 404 of file MPGeneralConstraintProto.java.

◆ getMinConstraintOrBuilder()

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

.operations_research.MPArrayWithConstantConstraint min_constraint = 8;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 418 of file MPGeneralConstraintProto.java.

◆ getName()

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

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

Returns
The name.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 129 of file MPGeneralConstraintProto.java.

◆ getNameBytes()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPGeneralConstraintProto.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 153 of file MPGeneralConstraintProto.java.

◆ getOrConstraint()

com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.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 360 of file MPGeneralConstraintProto.java.

◆ getOrConstraintOrBuilder()

com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.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 375 of file MPGeneralConstraintProto.java.

◆ getParserForType()

com.google.protobuf.Parser< MPGeneralConstraintProto > com.google.ortools.linearsolver.MPGeneralConstraintProto.getParserForType ( )

Definition at line 2517 of file MPGeneralConstraintProto.java.

◆ getQuadraticConstraint()

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

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Returns
The quadraticConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 242 of file MPGeneralConstraintProto.java.

◆ getQuadraticConstraintOrBuilder()

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

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 252 of file MPGeneralConstraintProto.java.

◆ getSerializedSize()

int com.google.ortools.linearsolver.MPGeneralConstraintProto.getSerializedSize ( )

Definition at line 513 of file MPGeneralConstraintProto.java.

◆ getSosConstraint()

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

.operations_research.MPSosConstraint sos_constraint = 3;

Returns
The sosConstraint.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 211 of file MPGeneralConstraintProto.java.

◆ getSosConstraintOrBuilder()

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

.operations_research.MPSosConstraint sos_constraint = 3;

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 221 of file MPGeneralConstraintProto.java.

◆ hasAbsConstraint()

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

.operations_research.MPAbsConstraint abs_constraint = 5;

Returns
Whether the absConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 265 of file MPGeneralConstraintProto.java.

◆ hasAndConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.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 301 of file MPGeneralConstraintProto.java.

◆ hashCode()

int com.google.ortools.linearsolver.MPGeneralConstraintProto.hashCode ( )

Definition at line 615 of file MPGeneralConstraintProto.java.

◆ hasIndicatorConstraint()

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

.operations_research.MPIndicatorConstraint indicator_constraint = 2;

Returns
Whether the indicatorConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 172 of file MPGeneralConstraintProto.java.

◆ hasMaxConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.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 435 of file MPGeneralConstraintProto.java.

◆ hasMinConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.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 392 of file MPGeneralConstraintProto.java.

◆ hasName()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.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 117 of file MPGeneralConstraintProto.java.

◆ hasOrConstraint()

boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.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 347 of file MPGeneralConstraintProto.java.

◆ hasQuadraticConstraint()

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

.operations_research.MPQuadraticConstraint quadratic_constraint = 4;

Returns
Whether the quadraticConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 234 of file MPGeneralConstraintProto.java.

◆ hasSosConstraint()

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

.operations_research.MPSosConstraint sos_constraint = 3;

Returns
Whether the sosConstraint field is set.

Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.

Definition at line 203 of file MPGeneralConstraintProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 44 of file MPGeneralConstraintProto.java.

◆ isInitialized()

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

Definition at line 470 of file MPGeneralConstraintProto.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.newBuilder ( )
static

Definition at line 740 of file MPGeneralConstraintProto.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.newBuilder ( com.google.ortools.linearsolver.MPGeneralConstraintProto prototype)
static

Definition at line 743 of file MPGeneralConstraintProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 739 of file MPGeneralConstraintProto.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 753 of file MPGeneralConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 711 of file MPGeneralConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 717 of file MPGeneralConstraintProto.java.

◆ parseFrom() [1/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 688 of file MPGeneralConstraintProto.java.

◆ parseFrom() [2/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 692 of file MPGeneralConstraintProto.java.

◆ parseFrom() [3/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 677 of file MPGeneralConstraintProto.java.

◆ parseFrom() [4/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 682 of file MPGeneralConstraintProto.java.

◆ parseFrom() [5/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 724 of file MPGeneralConstraintProto.java.

◆ parseFrom() [6/10]

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

Definition at line 730 of file MPGeneralConstraintProto.java.

◆ parseFrom() [7/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 698 of file MPGeneralConstraintProto.java.

◆ parseFrom() [8/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 703 of file MPGeneralConstraintProto.java.

◆ parseFrom() [9/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 666 of file MPGeneralConstraintProto.java.

◆ parseFrom() [10/10]

static com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 671 of file MPGeneralConstraintProto.java.

◆ parser()

static com.google.protobuf.Parser< MPGeneralConstraintProto > com.google.ortools.linearsolver.MPGeneralConstraintProto.parser ( )
static

Definition at line 2512 of file MPGeneralConstraintProto.java.

◆ toBuilder()

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

Definition at line 747 of file MPGeneralConstraintProto.java.

◆ writeTo()

void com.google.ortools.linearsolver.MPGeneralConstraintProto.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 480 of file MPGeneralConstraintProto.java.

Member Data Documentation

◆ ABS_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.ABS_CONSTRAINT_FIELD_NUMBER = 5
static

Definition at line 259 of file MPGeneralConstraintProto.java.

◆ AND_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.AND_CONSTRAINT_FIELD_NUMBER = 6
static

Definition at line 290 of file MPGeneralConstraintProto.java.

◆ INDICATOR_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.INDICATOR_CONSTRAINT_FIELD_NUMBER = 2
static

Definition at line 166 of file MPGeneralConstraintProto.java.

◆ MAX_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.MAX_CONSTRAINT_FIELD_NUMBER = 9
static

Definition at line 425 of file MPGeneralConstraintProto.java.

◆ MIN_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.MIN_CONSTRAINT_FIELD_NUMBER = 8
static

Definition at line 382 of file MPGeneralConstraintProto.java.

◆ NAME_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.NAME_FIELD_NUMBER = 1
static

Definition at line 105 of file MPGeneralConstraintProto.java.

◆ OR_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.OR_CONSTRAINT_FIELD_NUMBER = 7
static

Definition at line 336 of file MPGeneralConstraintProto.java.

◆ QUADRATIC_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.QUADRATIC_CONSTRAINT_FIELD_NUMBER = 4
static

Definition at line 228 of file MPGeneralConstraintProto.java.

◆ SOS_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPGeneralConstraintProto.SOS_CONSTRAINT_FIELD_NUMBER = 3
static

Definition at line 197 of file MPGeneralConstraintProto.java.


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