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

Classes

class  Builder
 

Public Member Functions

boolean hasStatus ()
 
com.google.ortools.linearsolver.MPSolverResponseStatus getStatus ()
 
boolean hasStatusStr ()
 
java.lang.String getStatusStr ()
 
com.google.protobuf.ByteString getStatusStrBytes ()
 
boolean hasObjectiveValue ()
 
double getObjectiveValue ()
 
boolean hasBestObjectiveBound ()
 
double getBestObjectiveBound ()
 
java.util.List< java.lang.Double > getVariableValueList ()
 
int getVariableValueCount ()
 
double getVariableValue (int index)
 
boolean hasSolveInfo ()
 
com.google.ortools.linearsolver.MPSolveInfo getSolveInfo ()
 
com.google.ortools.linearsolver.MPSolveInfoOrBuilder getSolveInfoOrBuilder ()
 
boolean hasSolverSpecificInfo ()
 
com.google.protobuf.ByteString getSolverSpecificInfo ()
 
java.util.List< java.lang.Double > getDualValueList ()
 
int getDualValueCount ()
 
double getDualValue (int index)
 
java.util.List< java.lang.Double > getReducedCostList ()
 
int getReducedCostCount ()
 
double getReducedCost (int index)
 
java.util.List< com.google.ortools.linearsolver.MPSolutiongetAdditionalSolutionsList ()
 
java.util.List<? extends com.google.ortools.linearsolver.MPSolutionOrBuildergetAdditionalSolutionsOrBuilderList ()
 
int getAdditionalSolutionsCount ()
 
com.google.ortools.linearsolver.MPSolution getAdditionalSolutions (int index)
 
com.google.ortools.linearsolver.MPSolutionOrBuilder getAdditionalSolutionsOrBuilder (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< MPSolutionResponsegetParserForType ()
 
com.google.ortools.linearsolver.MPSolutionResponse getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int STATUS_FIELD_NUMBER = 1
 
static final int STATUS_STR_FIELD_NUMBER = 7
 
static final int OBJECTIVE_VALUE_FIELD_NUMBER = 2
 
static final int BEST_OBJECTIVE_BOUND_FIELD_NUMBER = 5
 
static final int VARIABLE_VALUE_FIELD_NUMBER = 3
 
static final int SOLVE_INFO_FIELD_NUMBER = 10
 
static final int SOLVER_SPECIFIC_INFO_FIELD_NUMBER = 11
 
static final int DUAL_VALUE_FIELD_NUMBER = 4
 
static final int REDUCED_COST_FIELD_NUMBER = 6
 
static final int ADDITIONAL_SOLUTIONS_FIELD_NUMBER = 8
 
static final com.google.protobuf.Parser< MPSolutionResponsePARSER
 

Protected Member Functions

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
 

Detailed Description

Next id: 12.

Protobuf type operations_research.MPSolutionResponse

Definition at line 14 of file MPSolutionResponse.java.

Member Function Documentation

◆ equals()

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

Definition at line 664 of file MPSolutionResponse.java.

◆ getAdditionalSolutions()

com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolutionResponse.getAdditionalSolutions ( int index)
[Advanced usage.]
If `MPModelRequest.populate_additional_solutions_up_to` > 0, up to that
number of additional solutions may be populated here, if available. These
additional solutions are different than the main solution described by the
above fields `objective_value` and `variable_value`.

repeated .operations_research.MPSolution additional_solutions = 8;

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 512 of file MPSolutionResponse.java.

◆ getAdditionalSolutionsCount()

int com.google.ortools.linearsolver.MPSolutionResponse.getAdditionalSolutionsCount ( )
[Advanced usage.]
If `MPModelRequest.populate_additional_solutions_up_to` > 0, up to that
number of additional solutions may be populated here, if available. These
additional solutions are different than the main solution described by the
above fields `objective_value` and `variable_value`.

repeated .operations_research.MPSolution additional_solutions = 8;

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 497 of file MPSolutionResponse.java.

◆ getAdditionalSolutionsList()

java.util.List< com.google.ortools.linearsolver.MPSolution > com.google.ortools.linearsolver.MPSolutionResponse.getAdditionalSolutionsList ( )
[Advanced usage.]
If `MPModelRequest.populate_additional_solutions_up_to` > 0, up to that
number of additional solutions may be populated here, if available. These
additional solutions are different than the main solution described by the
above fields `objective_value` and `variable_value`.

repeated .operations_research.MPSolution additional_solutions = 8;

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 466 of file MPSolutionResponse.java.

◆ getAdditionalSolutionsOrBuilder()

com.google.ortools.linearsolver.MPSolutionOrBuilder com.google.ortools.linearsolver.MPSolutionResponse.getAdditionalSolutionsOrBuilder ( int index)
[Advanced usage.]
If `MPModelRequest.populate_additional_solutions_up_to` > 0, up to that
number of additional solutions may be populated here, if available. These
additional solutions are different than the main solution described by the
above fields `objective_value` and `variable_value`.

repeated .operations_research.MPSolution additional_solutions = 8;

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 527 of file MPSolutionResponse.java.

◆ getAdditionalSolutionsOrBuilderList()

java.util.List<? extends com.google.ortools.linearsolver.MPSolutionOrBuilder > com.google.ortools.linearsolver.MPSolutionResponse.getAdditionalSolutionsOrBuilderList ( )
[Advanced usage.]
If `MPModelRequest.populate_additional_solutions_up_to` > 0, up to that
number of additional solutions may be populated here, if available. These
additional solutions are different than the main solution described by the
above fields `objective_value` and `variable_value`.

repeated .operations_research.MPSolution additional_solutions = 8;

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 482 of file MPSolutionResponse.java.

◆ getBestObjectiveBound()

double com.google.ortools.linearsolver.MPSolutionResponse.getBestObjectiveBound ( )
This field is only filled for MIP problems. For a minimization problem,
this is a lower bound on the optimal objective value. For a maximization
problem, it is an upper bound. It is only filled if the status is OPTIMAL
or FEASIBLE. In the former case, best_objective_bound should be equal to
objective_value (modulo numerical errors).

optional double best_objective_bound = 5;

Returns
The bestObjectiveBound.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 212 of file MPSolutionResponse.java.

◆ getDefaultInstance()

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

Definition at line 2678 of file MPSolutionResponse.java.

◆ getDefaultInstanceForType()

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

Definition at line 2714 of file MPSolutionResponse.java.

◆ getDescriptor()

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

Definition at line 41 of file MPSolutionResponse.java.

◆ getDualValue()

double com.google.ortools.linearsolver.MPSolutionResponse.getDualValue ( int index)
[Advanced usage.]
Values of the dual variables values in the same order as the
MPModelProto::constraint field. This is a dense representation.
These are not set if the problem was solved with a MIP solver (even if
it is actually a linear program).
These are set iff 'status' is OPTIMAL or FEASIBLE.

repeated double dual_value = 4 [packed = true];

Parameters
indexThe index of the element to return.
Returns
The dualValue at the given index.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 389 of file MPSolutionResponse.java.

◆ getDualValueCount()

int com.google.ortools.linearsolver.MPSolutionResponse.getDualValueCount ( )
[Advanced usage.]
Values of the dual variables values in the same order as the
MPModelProto::constraint field. This is a dense representation.
These are not set if the problem was solved with a MIP solver (even if
it is actually a linear program).
These are set iff 'status' is OPTIMAL or FEASIBLE.

repeated double dual_value = 4 [packed = true];

Returns
The count of dualValue.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 372 of file MPSolutionResponse.java.

◆ getDualValueList()

java.util.List< java.lang.Double > com.google.ortools.linearsolver.MPSolutionResponse.getDualValueList ( )
[Advanced usage.]
Values of the dual variables values in the same order as the
MPModelProto::constraint field. This is a dense representation.
These are not set if the problem was solved with a MIP solver (even if
it is actually a linear program).
These are set iff 'status' is OPTIMAL or FEASIBLE.

repeated double dual_value = 4 [packed = true];

Returns
A list containing the dualValue.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 356 of file MPSolutionResponse.java.

◆ getObjectiveValue()

double com.google.ortools.linearsolver.MPSolutionResponse.getObjectiveValue ( )
Objective value corresponding to the "variable_value" below, taking into
account the source "objective_offset" and "objective_coefficient".
This is set iff 'status' is OPTIMAL or FEASIBLE.

optional double objective_value = 2;

Returns
The objectiveValue.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 177 of file MPSolutionResponse.java.

◆ getParserForType()

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

Definition at line 2709 of file MPSolutionResponse.java.

◆ getReducedCost()

double com.google.ortools.linearsolver.MPSolutionResponse.getReducedCost ( int index)
[Advanced usage.]
Values of the reduced cost of the variables in the same order as the
MPModelProto::variable. This is a dense representation.
These are not set if the problem was solved with a MIP solver (even if it
is actually a linear program).
These are set iff 'status' is OPTIMAL or FEASIBLE.

repeated double reduced_cost = 6 [packed = true];

Parameters
indexThe index of the element to return.
Returns
The reducedCost at the given index.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 446 of file MPSolutionResponse.java.

◆ getReducedCostCount()

int com.google.ortools.linearsolver.MPSolutionResponse.getReducedCostCount ( )
[Advanced usage.]
Values of the reduced cost of the variables in the same order as the
MPModelProto::variable. This is a dense representation.
These are not set if the problem was solved with a MIP solver (even if it
is actually a linear program).
These are set iff 'status' is OPTIMAL or FEASIBLE.

repeated double reduced_cost = 6 [packed = true];

Returns
The count of reducedCost.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 429 of file MPSolutionResponse.java.

◆ getReducedCostList()

java.util.List< java.lang.Double > com.google.ortools.linearsolver.MPSolutionResponse.getReducedCostList ( )
[Advanced usage.]
Values of the reduced cost of the variables in the same order as the
MPModelProto::variable. This is a dense representation.
These are not set if the problem was solved with a MIP solver (even if it
is actually a linear program).
These are set iff 'status' is OPTIMAL or FEASIBLE.

repeated double reduced_cost = 6 [packed = true];

Returns
A list containing the reducedCost.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 413 of file MPSolutionResponse.java.

◆ getSerializedSize()

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

Definition at line 593 of file MPSolutionResponse.java.

◆ getSolveInfo()

com.google.ortools.linearsolver.MPSolveInfo com.google.ortools.linearsolver.MPSolutionResponse.getSolveInfo ( )
Contains extra information about the solve, populated if the underlying
solver (and its interface) supports it. As of 2021/07/19 this is supported
by SCIP and Gurobi proto solves.

optional .operations_research.MPSolveInfo solve_info = 10;

Returns
The solveInfo.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 291 of file MPSolutionResponse.java.

◆ getSolveInfoOrBuilder()

com.google.ortools.linearsolver.MPSolveInfoOrBuilder com.google.ortools.linearsolver.MPSolutionResponse.getSolveInfoOrBuilder ( )
Contains extra information about the solve, populated if the underlying
solver (and its interface) supports it. As of 2021/07/19 this is supported
by SCIP and Gurobi proto solves.

optional .operations_research.MPSolveInfo solve_info = 10;

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 304 of file MPSolutionResponse.java.

◆ getSolverSpecificInfo()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPSolutionResponse.getSolverSpecificInfo ( )
Opaque solver-specific information.
For the PDLP solver, this is a serialized pdlp::SolveLog proto.

optional bytes solver_specific_info = 11;

Returns
The solverSpecificInfo.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 333 of file MPSolutionResponse.java.

◆ getStatus()

com.google.ortools.linearsolver.MPSolverResponseStatus com.google.ortools.linearsolver.MPSolutionResponse.getStatus ( )
Result of the optimization.

optional .operations_research.MPSolverResponseStatus status = 1 [default = MPSOLVER_UNKNOWN_STATUS];

Returns
The status.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 75 of file MPSolutionResponse.java.

◆ getStatusStr()

java.lang.String com.google.ortools.linearsolver.MPSolutionResponse.getStatusStr ( )
Human-readable string giving more details about the status. For example,
when the status is MPSOLVER_INVALID_MODE, this can hold a description of
why the model is invalid.
This isn't always filled: don't depend on its value or even its presence.

optional string status_str = 7;

Returns
The statusStr.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 110 of file MPSolutionResponse.java.

◆ getStatusStrBytes()

com.google.protobuf.ByteString com.google.ortools.linearsolver.MPSolutionResponse.getStatusStrBytes ( )
Human-readable string giving more details about the status. For example,
when the status is MPSOLVER_INVALID_MODE, this can hold a description of
why the model is invalid.
This isn't always filled: don't depend on its value or even its presence.

optional string status_str = 7;

Returns
The bytes for statusStr.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 137 of file MPSolutionResponse.java.

◆ getVariableValue()

double com.google.ortools.linearsolver.MPSolutionResponse.getVariableValue ( int index)
Variable values in the same order as the MPModelProto::variable field.
This is a dense representation. These are set iff 'status' is OPTIMAL or
FEASIBLE.

repeated double variable_value = 3 [packed = true];

Parameters
indexThe index of the element to return.
Returns
The variableValue at the given index.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 259 of file MPSolutionResponse.java.

◆ getVariableValueCount()

int com.google.ortools.linearsolver.MPSolutionResponse.getVariableValueCount ( )
Variable values in the same order as the MPModelProto::variable field.
This is a dense representation. These are set iff 'status' is OPTIMAL or
FEASIBLE.

repeated double variable_value = 3 [packed = true];

Returns
The count of variableValue.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 245 of file MPSolutionResponse.java.

◆ getVariableValueList()

java.util.List< java.lang.Double > com.google.ortools.linearsolver.MPSolutionResponse.getVariableValueList ( )
Variable values in the same order as the MPModelProto::variable field.
This is a dense representation. These are set iff 'status' is OPTIMAL or
FEASIBLE.

repeated double variable_value = 3 [packed = true];

Returns
A list containing the variableValue.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 232 of file MPSolutionResponse.java.

◆ hasBestObjectiveBound()

boolean com.google.ortools.linearsolver.MPSolutionResponse.hasBestObjectiveBound ( )
This field is only filled for MIP problems. For a minimization problem,
this is a lower bound on the optimal objective value. For a maximization
problem, it is an upper bound. It is only filled if the status is OPTIMAL
or FEASIBLE. In the former case, best_objective_bound should be equal to
objective_value (modulo numerical errors).

optional double best_objective_bound = 5;

Returns
Whether the bestObjectiveBound field is set.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 196 of file MPSolutionResponse.java.

◆ hashCode()

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

Definition at line 717 of file MPSolutionResponse.java.

◆ hasObjectiveValue()

boolean com.google.ortools.linearsolver.MPSolutionResponse.hasObjectiveValue ( )
Objective value corresponding to the "variable_value" below, taking into
account the source "objective_offset" and "objective_coefficient".
This is set iff 'status' is OPTIMAL or FEASIBLE.

optional double objective_value = 2;

Returns
Whether the objectiveValue field is set.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 163 of file MPSolutionResponse.java.

◆ hasSolveInfo()

boolean com.google.ortools.linearsolver.MPSolutionResponse.hasSolveInfo ( )
Contains extra information about the solve, populated if the underlying
solver (and its interface) supports it. As of 2021/07/19 this is supported
by SCIP and Gurobi proto solves.

optional .operations_research.MPSolveInfo solve_info = 10;

Returns
Whether the solveInfo field is set.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 277 of file MPSolutionResponse.java.

◆ hasSolverSpecificInfo()

boolean com.google.ortools.linearsolver.MPSolutionResponse.hasSolverSpecificInfo ( )
Opaque solver-specific information.
For the PDLP solver, this is a serialized pdlp::SolveLog proto.

optional bytes solver_specific_info = 11;

Returns
Whether the solverSpecificInfo field is set.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 320 of file MPSolutionResponse.java.

◆ hasStatus()

boolean com.google.ortools.linearsolver.MPSolutionResponse.hasStatus ( )
Result of the optimization.

optional .operations_research.MPSolverResponseStatus status = 1 [default = MPSOLVER_UNKNOWN_STATUS];

Returns
Whether the status field is set.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 64 of file MPSolutionResponse.java.

◆ hasStatusStr()

boolean com.google.ortools.linearsolver.MPSolutionResponse.hasStatusStr ( )
Human-readable string giving more details about the status. For example,
when the status is MPSOLVER_INVALID_MODE, this can hold a description of
why the model is invalid.
This isn't always filled: don't depend on its value or even its presence.

optional string status_str = 7;

Returns
Whether the statusStr field is set.

Implements com.google.ortools.linearsolver.MPSolutionResponseOrBuilder.

Definition at line 95 of file MPSolutionResponse.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.ortools.linearsolver.MPSolutionResponse.internalGetFieldAccessorTable ( )
protected

Definition at line 47 of file MPSolutionResponse.java.

◆ isInitialized()

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

Definition at line 534 of file MPSolutionResponse.java.

◆ newBuilder() [1/2]

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

Definition at line 844 of file MPSolutionResponse.java.

◆ newBuilder() [2/2]

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

Definition at line 847 of file MPSolutionResponse.java.

◆ newBuilderForType() [1/2]

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

Definition at line 843 of file MPSolutionResponse.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.linearsolver.MPSolutionResponse.newBuilderForType ( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected

Definition at line 857 of file MPSolutionResponse.java.

◆ newInstance()

java.lang.Object com.google.ortools.linearsolver.MPSolutionResponse.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 35 of file MPSolutionResponse.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 815 of file MPSolutionResponse.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 821 of file MPSolutionResponse.java.

◆ parseFrom() [1/10]

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

Definition at line 792 of file MPSolutionResponse.java.

◆ parseFrom() [2/10]

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

Definition at line 796 of file MPSolutionResponse.java.

◆ parseFrom() [3/10]

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

Definition at line 781 of file MPSolutionResponse.java.

◆ parseFrom() [4/10]

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

Definition at line 786 of file MPSolutionResponse.java.

◆ parseFrom() [5/10]

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

Definition at line 828 of file MPSolutionResponse.java.

◆ parseFrom() [6/10]

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

Definition at line 834 of file MPSolutionResponse.java.

◆ parseFrom() [7/10]

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

Definition at line 802 of file MPSolutionResponse.java.

◆ parseFrom() [8/10]

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

Definition at line 807 of file MPSolutionResponse.java.

◆ parseFrom() [9/10]

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

Definition at line 770 of file MPSolutionResponse.java.

◆ parseFrom() [10/10]

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

Definition at line 775 of file MPSolutionResponse.java.

◆ parser()

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

Definition at line 2704 of file MPSolutionResponse.java.

◆ toBuilder()

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

Definition at line 851 of file MPSolutionResponse.java.

◆ writeTo()

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

Definition at line 544 of file MPSolutionResponse.java.

Member Data Documentation

◆ ADDITIONAL_SOLUTIONS_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.ADDITIONAL_SOLUTIONS_FIELD_NUMBER = 8
static

Definition at line 451 of file MPSolutionResponse.java.

◆ BEST_OBJECTIVE_BOUND_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.BEST_OBJECTIVE_BOUND_FIELD_NUMBER = 5
static

Definition at line 181 of file MPSolutionResponse.java.

◆ DUAL_VALUE_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.DUAL_VALUE_FIELD_NUMBER = 4
static

Definition at line 337 of file MPSolutionResponse.java.

◆ OBJECTIVE_VALUE_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.OBJECTIVE_VALUE_FIELD_NUMBER = 2
static

Definition at line 150 of file MPSolutionResponse.java.

◆ PARSER

final com.google.protobuf.Parser<MPSolutionResponse> com.google.ortools.linearsolver.MPSolutionResponse.PARSER
static
Initial value:
= new com.google.protobuf.AbstractParser<MPSolutionResponse>() {
@java.lang.Override
public MPSolutionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
}

Definition at line 2683 of file MPSolutionResponse.java.

◆ REDUCED_COST_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.REDUCED_COST_FIELD_NUMBER = 6
static

Definition at line 394 of file MPSolutionResponse.java.

◆ SOLVE_INFO_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.SOLVE_INFO_FIELD_NUMBER = 10
static

Definition at line 264 of file MPSolutionResponse.java.

◆ SOLVER_SPECIFIC_INFO_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.SOLVER_SPECIFIC_INFO_FIELD_NUMBER = 11
static

Definition at line 308 of file MPSolutionResponse.java.

◆ STATUS_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.STATUS_FIELD_NUMBER = 1
static

Definition at line 54 of file MPSolutionResponse.java.

◆ STATUS_STR_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.STATUS_STR_FIELD_NUMBER = 7
static

Definition at line 80 of file MPSolutionResponse.java.

◆ VARIABLE_VALUE_FIELD_NUMBER

final int com.google.ortools.linearsolver.MPSolutionResponse.VARIABLE_VALUE_FIELD_NUMBER = 3
static

Definition at line 216 of file MPSolutionResponse.java.


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