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

Classes

class  Annotation
 
interface  AnnotationOrBuilder
 
class  Builder
 

Public Member Functions

java.util.List< com.google.ortools.linearsolver.MPVariableProtogetVariableList ()
 
java.util.List<? extends com.google.ortools.linearsolver.MPVariableProtoOrBuildergetVariableOrBuilderList ()
 
int getVariableCount ()
 
com.google.ortools.linearsolver.MPVariableProto getVariable (int index)
 
com.google.ortools.linearsolver.MPVariableProtoOrBuilder getVariableOrBuilder (int index)
 
java.util.List< com.google.ortools.linearsolver.MPConstraintProtogetConstraintList ()
 
java.util.List<? extends com.google.ortools.linearsolver.MPConstraintProtoOrBuildergetConstraintOrBuilderList ()
 
int getConstraintCount ()
 
com.google.ortools.linearsolver.MPConstraintProto getConstraint (int index)
 
com.google.ortools.linearsolver.MPConstraintProtoOrBuilder getConstraintOrBuilder (int index)
 
java.util.List< com.google.ortools.linearsolver.MPGeneralConstraintProtogetGeneralConstraintList ()
 
java.util.List<? extends com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuildergetGeneralConstraintOrBuilderList ()
 
int getGeneralConstraintCount ()
 
com.google.ortools.linearsolver.MPGeneralConstraintProto getGeneralConstraint (int index)
 
com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder getGeneralConstraintOrBuilder (int index)
 
boolean hasMaximize ()
 
boolean getMaximize ()
 
boolean hasObjectiveOffset ()
 
double getObjectiveOffset ()
 
boolean hasQuadraticObjective ()
 
com.google.ortools.linearsolver.MPQuadraticObjective getQuadraticObjective ()
 
com.google.ortools.linearsolver.MPQuadraticObjectiveOrBuilder getQuadraticObjectiveOrBuilder ()
 
boolean hasName ()
 
java.lang.String getName ()
 
com.google.protobuf.ByteString getNameBytes ()
 
boolean hasSolutionHint ()
 
com.google.ortools.linearsolver.PartialVariableAssignment getSolutionHint ()
 
com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder getSolutionHintOrBuilder ()
 
java.util.List< com.google.ortools.linearsolver.MPModelProto.AnnotationgetAnnotationList ()
 
java.util.List<? extends com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuildergetAnnotationOrBuilderList ()
 
int getAnnotationCount ()
 
com.google.ortools.linearsolver.MPModelProto.Annotation getAnnotation (int index)
 
com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder getAnnotationOrBuilder (int index)
 
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< MPModelProtogetParserForType ()
 
com.google.ortools.linearsolver.MPModelProto getDefaultInstanceForType ()
 
- Public Member Functions inherited from com.google.ortools.linearsolver.MPModelProtoOrBuilder

Static Public Member Functions

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

Static Public Attributes

static final int VARIABLE_FIELD_NUMBER = 3
 
static final int CONSTRAINT_FIELD_NUMBER = 4
 
static final int GENERAL_CONSTRAINT_FIELD_NUMBER = 7
 
static final int MAXIMIZE_FIELD_NUMBER = 1
 
static final int OBJECTIVE_OFFSET_FIELD_NUMBER = 2
 
static final int QUADRATIC_OBJECTIVE_FIELD_NUMBER = 8
 
static final int NAME_FIELD_NUMBER = 5
 
static final int SOLUTION_HINT_FIELD_NUMBER = 6
 
static final int ANNOTATION_FIELD_NUMBER = 9
 

Protected Member Functions

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

Detailed Description

MPModelProto contains all the information for a Linear Programming model.

Protobuf type operations_research.MPModelProto

Definition at line 14 of file MPModelProto.java.

Member Function Documentation

◆ equals()

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

Definition at line 1977 of file MPModelProto.java.

◆ getAnnotation()

com.google.ortools.linearsolver.MPModelProto.Annotation com.google.ortools.linearsolver.MPModelProto.getAnnotation ( int index)

repeated .operations_research.MPModelProto.Annotation annotation = 9;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1874 of file MPModelProto.java.

◆ getAnnotationCount()

int com.google.ortools.linearsolver.MPModelProto.getAnnotationCount ( )

repeated .operations_research.MPModelProto.Annotation annotation = 9;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1867 of file MPModelProto.java.

◆ getAnnotationList()

java.util.List< com.google.ortools.linearsolver.MPModelProto.Annotation > com.google.ortools.linearsolver.MPModelProto.getAnnotationList ( )

repeated .operations_research.MPModelProto.Annotation annotation = 9;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1852 of file MPModelProto.java.

◆ getAnnotationOrBuilder()

com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder com.google.ortools.linearsolver.MPModelProto.getAnnotationOrBuilder ( int index)

repeated .operations_research.MPModelProto.Annotation annotation = 9;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1881 of file MPModelProto.java.

◆ getAnnotationOrBuilderList()

java.util.List<? extends com.google.ortools.linearsolver.MPModelProto.AnnotationOrBuilder > com.google.ortools.linearsolver.MPModelProto.getAnnotationOrBuilderList ( )

repeated .operations_research.MPModelProto.Annotation annotation = 9;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1860 of file MPModelProto.java.

◆ getConstraint()

com.google.ortools.linearsolver.MPConstraintProto com.google.ortools.linearsolver.MPModelProto.getConstraint ( int index)
All the constraints appearing in the model.

repeated .operations_research.MPConstraintProto constraint = 4;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1539 of file MPModelProto.java.

◆ getConstraintCount()

int com.google.ortools.linearsolver.MPModelProto.getConstraintCount ( )
All the constraints appearing in the model.

repeated .operations_research.MPConstraintProto constraint = 4;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1528 of file MPModelProto.java.

◆ getConstraintList()

java.util.List< com.google.ortools.linearsolver.MPConstraintProto > com.google.ortools.linearsolver.MPModelProto.getConstraintList ( )
All the constraints appearing in the model.

repeated .operations_research.MPConstraintProto constraint = 4;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1505 of file MPModelProto.java.

◆ getConstraintOrBuilder()

com.google.ortools.linearsolver.MPConstraintProtoOrBuilder com.google.ortools.linearsolver.MPModelProto.getConstraintOrBuilder ( int index)
All the constraints appearing in the model.

repeated .operations_research.MPConstraintProto constraint = 4;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1550 of file MPModelProto.java.

◆ getConstraintOrBuilderList()

java.util.List<? extends com.google.ortools.linearsolver.MPConstraintProtoOrBuilder > com.google.ortools.linearsolver.MPModelProto.getConstraintOrBuilderList ( )
All the constraints appearing in the model.

repeated .operations_research.MPConstraintProto constraint = 4;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1517 of file MPModelProto.java.

◆ getDefaultInstance()

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

Definition at line 4446 of file MPModelProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 4482 of file MPModelProto.java.

◆ getDescriptor()

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

Definition at line 41 of file MPModelProto.java.

◆ getGeneralConstraint()

com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPModelProto.getGeneralConstraint ( int index)
All the general constraints appearing in the model. Note that not all
solvers support all types of general constraints.

repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1604 of file MPModelProto.java.

◆ getGeneralConstraintCount()

int com.google.ortools.linearsolver.MPModelProto.getGeneralConstraintCount ( )
All the general constraints appearing in the model. Note that not all
solvers support all types of general constraints.

repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1592 of file MPModelProto.java.

◆ getGeneralConstraintList()

java.util.List< com.google.ortools.linearsolver.MPGeneralConstraintProto > com.google.ortools.linearsolver.MPModelProto.getGeneralConstraintList ( )
All the general constraints appearing in the model. Note that not all
solvers support all types of general constraints.

repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1567 of file MPModelProto.java.

◆ getGeneralConstraintOrBuilder()

com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder com.google.ortools.linearsolver.MPModelProto.getGeneralConstraintOrBuilder ( int index)
All the general constraints appearing in the model. Note that not all
solvers support all types of general constraints.

repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1616 of file MPModelProto.java.

◆ getGeneralConstraintOrBuilderList()

java.util.List<? extends com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder > com.google.ortools.linearsolver.MPModelProto.getGeneralConstraintOrBuilderList ( )
All the general constraints appearing in the model. Note that not all
solvers support all types of general constraints.

repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1580 of file MPModelProto.java.

◆ getMaximize()

boolean com.google.ortools.linearsolver.MPModelProto.getMaximize ( )
True if the problem is a maximization problem. Minimize by default.

optional bool maximize = 1 [default = false];

Returns
The maximize.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1644 of file MPModelProto.java.

◆ getName()

java.lang.String com.google.ortools.linearsolver.MPModelProto.getName ( )
Name of the model.

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

Returns
The name.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1740 of file MPModelProto.java.

◆ getNameBytes()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPModelProto.getNameBytes ( )
Name of the model.

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

Returns
The bytes for name.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1764 of file MPModelProto.java.

◆ getObjectiveOffset()

double com.google.ortools.linearsolver.MPModelProto.getObjectiveOffset ( )
Offset for the objective function. Must be finite.

optional double objective_offset = 2 [default = 0];

Returns
The objectiveOffset.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1671 of file MPModelProto.java.

◆ getParserForType()

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

Definition at line 4477 of file MPModelProto.java.

◆ getQuadraticObjective()

com.google.ortools.linearsolver.MPQuadraticObjective com.google.ortools.linearsolver.MPModelProto.getQuadraticObjective ( )
Optionally, a quadratic objective.
As of 2019/06, only SCIP and Gurobi support quadratic objectives.

optional .operations_research.MPQuadraticObjective quadratic_objective = 8;

Returns
The quadraticObjective.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1700 of file MPModelProto.java.

◆ getQuadraticObjectiveOrBuilder()

com.google.ortools.linearsolver.MPQuadraticObjectiveOrBuilder com.google.ortools.linearsolver.MPModelProto.getQuadraticObjectiveOrBuilder ( )
Optionally, a quadratic objective.
As of 2019/06, only SCIP and Gurobi support quadratic objectives.

optional .operations_research.MPQuadraticObjective quadratic_objective = 8;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1712 of file MPModelProto.java.

◆ getSerializedSize()

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

Definition at line 1931 of file MPModelProto.java.

◆ getSolutionHint()

com.google.ortools.linearsolver.PartialVariableAssignment com.google.ortools.linearsolver.MPModelProto.getSolutionHint ( )
Solution hint.

If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. A solver
that supports this feature will try to use this information to create its
initial feasible solution.

Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.

optional .operations_research.PartialVariableAssignment solution_hint = 6;

Returns
The solutionHint.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1820 of file MPModelProto.java.

◆ getSolutionHintOrBuilder()

com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder com.google.ortools.linearsolver.MPModelProto.getSolutionHintOrBuilder ( )
Solution hint.

If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. A solver
that supports this feature will try to use this information to create its
initial feasible solution.

Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.

optional .operations_research.PartialVariableAssignment solution_hint = 6;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1841 of file MPModelProto.java.

◆ getVariable()

com.google.ortools.linearsolver.MPVariableProto com.google.ortools.linearsolver.MPModelProto.getVariable ( int index)
All the variables appearing in the model.

repeated .operations_research.MPVariableProto variable = 3;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1478 of file MPModelProto.java.

◆ getVariableCount()

int com.google.ortools.linearsolver.MPModelProto.getVariableCount ( )
All the variables appearing in the model.

repeated .operations_research.MPVariableProto variable = 3;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1467 of file MPModelProto.java.

◆ getVariableList()

java.util.List< com.google.ortools.linearsolver.MPVariableProto > com.google.ortools.linearsolver.MPModelProto.getVariableList ( )
All the variables appearing in the model.

repeated .operations_research.MPVariableProto variable = 3;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1444 of file MPModelProto.java.

◆ getVariableOrBuilder()

com.google.ortools.linearsolver.MPVariableProtoOrBuilder com.google.ortools.linearsolver.MPModelProto.getVariableOrBuilder ( int index)
All the variables appearing in the model.

repeated .operations_research.MPVariableProto variable = 3;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1489 of file MPModelProto.java.

◆ getVariableOrBuilderList()

java.util.List<? extends com.google.ortools.linearsolver.MPVariableProtoOrBuilder > com.google.ortools.linearsolver.MPModelProto.getVariableOrBuilderList ( )
All the variables appearing in the model.

repeated .operations_research.MPVariableProto variable = 3;

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1456 of file MPModelProto.java.

◆ hashCode()

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

Definition at line 2025 of file MPModelProto.java.

◆ hasMaximize()

boolean com.google.ortools.linearsolver.MPModelProto.hasMaximize ( )
True if the problem is a maximization problem. Minimize by default.

optional bool maximize = 1 [default = false];

Returns
Whether the maximize field is set.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1632 of file MPModelProto.java.

◆ hasName()

boolean com.google.ortools.linearsolver.MPModelProto.hasName ( )
Name of the model.

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

Returns
Whether the name field is set.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1728 of file MPModelProto.java.

◆ hasObjectiveOffset()

boolean com.google.ortools.linearsolver.MPModelProto.hasObjectiveOffset ( )
Offset for the objective function. Must be finite.

optional double objective_offset = 2 [default = 0];

Returns
Whether the objectiveOffset field is set.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1659 of file MPModelProto.java.

◆ hasQuadraticObjective()

boolean com.google.ortools.linearsolver.MPModelProto.hasQuadraticObjective ( )
Optionally, a quadratic objective.
As of 2019/06, only SCIP and Gurobi support quadratic objectives.

optional .operations_research.MPQuadraticObjective quadratic_objective = 8;

Returns
Whether the quadraticObjective field is set.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1687 of file MPModelProto.java.

◆ hasSolutionHint()

boolean com.google.ortools.linearsolver.MPModelProto.hasSolutionHint ( )
Solution hint.

If a feasible or almost-feasible solution to the problem is already known,
it may be helpful to pass it to the solver so that it can be used. A solver
that supports this feature will try to use this information to create its
initial feasible solution.

Note that it may not always be faster to give a hint like this to the
solver. There is also no guarantee that the solver will use this hint or
try to return a solution "close" to this assignment in case of multiple
optimal solutions.

optional .operations_research.PartialVariableAssignment solution_hint = 6;

Returns
Whether the solutionHint field is set.

Implements com.google.ortools.linearsolver.MPModelProtoOrBuilder.

Definition at line 1798 of file MPModelProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 47 of file MPModelProto.java.

◆ isInitialized()

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

Definition at line 1888 of file MPModelProto.java.

◆ newBuilder() [1/2]

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

Definition at line 2148 of file MPModelProto.java.

◆ newBuilder() [2/2]

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

Definition at line 2151 of file MPModelProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 2147 of file MPModelProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 2161 of file MPModelProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 2119 of file MPModelProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 2125 of file MPModelProto.java.

◆ parseFrom() [1/10]

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

Definition at line 2096 of file MPModelProto.java.

◆ parseFrom() [2/10]

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

Definition at line 2100 of file MPModelProto.java.

◆ parseFrom() [3/10]

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

Definition at line 2085 of file MPModelProto.java.

◆ parseFrom() [4/10]

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

Definition at line 2090 of file MPModelProto.java.

◆ parseFrom() [5/10]

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

Definition at line 2132 of file MPModelProto.java.

◆ parseFrom() [6/10]

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

Definition at line 2138 of file MPModelProto.java.

◆ parseFrom() [7/10]

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

Definition at line 2106 of file MPModelProto.java.

◆ parseFrom() [8/10]

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

Definition at line 2111 of file MPModelProto.java.

◆ parseFrom() [9/10]

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

Definition at line 2074 of file MPModelProto.java.

◆ parseFrom() [10/10]

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

Definition at line 2079 of file MPModelProto.java.

◆ parser()

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

Definition at line 4472 of file MPModelProto.java.

◆ toBuilder()

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

Definition at line 2155 of file MPModelProto.java.

◆ writeTo()

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

Definition at line 1898 of file MPModelProto.java.

Member Data Documentation

◆ ANNOTATION_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.ANNOTATION_FIELD_NUMBER = 9
static

Definition at line 1845 of file MPModelProto.java.

◆ CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.CONSTRAINT_FIELD_NUMBER = 4
static

Definition at line 1494 of file MPModelProto.java.

◆ GENERAL_CONSTRAINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.GENERAL_CONSTRAINT_FIELD_NUMBER = 7
static

Definition at line 1555 of file MPModelProto.java.

◆ MAXIMIZE_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.MAXIMIZE_FIELD_NUMBER = 1
static

Definition at line 1621 of file MPModelProto.java.

◆ NAME_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.NAME_FIELD_NUMBER = 5
static

Definition at line 1716 of file MPModelProto.java.

◆ OBJECTIVE_OFFSET_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.OBJECTIVE_OFFSET_FIELD_NUMBER = 2
static

Definition at line 1648 of file MPModelProto.java.

◆ QUADRATIC_OBJECTIVE_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.QUADRATIC_OBJECTIVE_FIELD_NUMBER = 8
static

Definition at line 1675 of file MPModelProto.java.

◆ SOLUTION_HINT_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.SOLUTION_HINT_FIELD_NUMBER = 6
static

Definition at line 1777 of file MPModelProto.java.

◆ VARIABLE_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPModelProto.VARIABLE_FIELD_NUMBER = 3
static

Definition at line 1433 of file MPModelProto.java.


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