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

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.pdlp.SolveLog getDefaultInstanceForType ()
 
com.google.ortools.pdlp.SolveLog build ()
 
com.google.ortools.pdlp.SolveLog buildPartial ()
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.pdlp.SolveLog other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
boolean hasInstanceName ()
 
java.lang.String getInstanceName ()
 
com.google.protobuf.ByteString getInstanceNameBytes ()
 
Builder setInstanceName (java.lang.String value)
 
Builder clearInstanceName ()
 
Builder setInstanceNameBytes (com.google.protobuf.ByteString value)
 
boolean hasParams ()
 
com.google.ortools.pdlp.PrimalDualHybridGradientParams getParams ()
 
Builder setParams (com.google.ortools.pdlp.PrimalDualHybridGradientParams value)
 
Builder setParams (com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder builderForValue)
 
Builder mergeParams (com.google.ortools.pdlp.PrimalDualHybridGradientParams value)
 
Builder clearParams ()
 
com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder getParamsBuilder ()
 
com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder getParamsOrBuilder ()
 
boolean hasTerminationReason ()
 
com.google.ortools.pdlp.TerminationReason getTerminationReason ()
 
Builder setTerminationReason (com.google.ortools.pdlp.TerminationReason value)
 
Builder clearTerminationReason ()
 
boolean hasTerminationString ()
 
java.lang.String getTerminationString ()
 
com.google.protobuf.ByteString getTerminationStringBytes ()
 
Builder setTerminationString (java.lang.String value)
 
Builder clearTerminationString ()
 
Builder setTerminationStringBytes (com.google.protobuf.ByteString value)
 
boolean hasIterationCount ()
 
int getIterationCount ()
 
Builder setIterationCount (int value)
 
Builder clearIterationCount ()
 
boolean hasPreprocessingTimeSec ()
 
double getPreprocessingTimeSec ()
 
Builder setPreprocessingTimeSec (double value)
 
Builder clearPreprocessingTimeSec ()
 
boolean hasSolveTimeSec ()
 
double getSolveTimeSec ()
 
Builder setSolveTimeSec (double value)
 
Builder clearSolveTimeSec ()
 
boolean hasSolutionStats ()
 
com.google.ortools.pdlp.IterationStats getSolutionStats ()
 
Builder setSolutionStats (com.google.ortools.pdlp.IterationStats value)
 
Builder setSolutionStats (com.google.ortools.pdlp.IterationStats.Builder builderForValue)
 
Builder mergeSolutionStats (com.google.ortools.pdlp.IterationStats value)
 
Builder clearSolutionStats ()
 
com.google.ortools.pdlp.IterationStats.Builder getSolutionStatsBuilder ()
 
com.google.ortools.pdlp.IterationStatsOrBuilder getSolutionStatsOrBuilder ()
 
boolean hasSolutionType ()
 
com.google.ortools.pdlp.PointType getSolutionType ()
 
Builder setSolutionType (com.google.ortools.pdlp.PointType value)
 
Builder clearSolutionType ()
 
java.util.List< com.google.ortools.pdlp.IterationStatsgetIterationStatsList ()
 
int getIterationStatsCount ()
 
com.google.ortools.pdlp.IterationStats getIterationStats (int index)
 
Builder setIterationStats (int index, com.google.ortools.pdlp.IterationStats value)
 
Builder setIterationStats (int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue)
 
Builder addIterationStats (com.google.ortools.pdlp.IterationStats value)
 
Builder addIterationStats (int index, com.google.ortools.pdlp.IterationStats value)
 
Builder addIterationStats (com.google.ortools.pdlp.IterationStats.Builder builderForValue)
 
Builder addIterationStats (int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue)
 
Builder addAllIterationStats (java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats > values)
 
Builder clearIterationStats ()
 
Builder removeIterationStats (int index)
 
com.google.ortools.pdlp.IterationStats.Builder getIterationStatsBuilder (int index)
 
com.google.ortools.pdlp.IterationStatsOrBuilder getIterationStatsOrBuilder (int index)
 
java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuildergetIterationStatsOrBuilderList ()
 
com.google.ortools.pdlp.IterationStats.Builder addIterationStatsBuilder ()
 
com.google.ortools.pdlp.IterationStats.Builder addIterationStatsBuilder (int index)
 
java.util.List< com.google.ortools.pdlp.IterationStats.BuildergetIterationStatsBuilderList ()
 
boolean hasOriginalProblemStats ()
 
com.google.ortools.pdlp.QuadraticProgramStats getOriginalProblemStats ()
 
Builder setOriginalProblemStats (com.google.ortools.pdlp.QuadraticProgramStats value)
 
Builder setOriginalProblemStats (com.google.ortools.pdlp.QuadraticProgramStats.Builder builderForValue)
 
Builder mergeOriginalProblemStats (com.google.ortools.pdlp.QuadraticProgramStats value)
 
Builder clearOriginalProblemStats ()
 
com.google.ortools.pdlp.QuadraticProgramStats.Builder getOriginalProblemStatsBuilder ()
 
com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder getOriginalProblemStatsOrBuilder ()
 
boolean hasPreprocessedProblemStats ()
 
com.google.ortools.pdlp.QuadraticProgramStats getPreprocessedProblemStats ()
 
Builder setPreprocessedProblemStats (com.google.ortools.pdlp.QuadraticProgramStats value)
 
Builder setPreprocessedProblemStats (com.google.ortools.pdlp.QuadraticProgramStats.Builder builderForValue)
 
Builder mergePreprocessedProblemStats (com.google.ortools.pdlp.QuadraticProgramStats value)
 
Builder clearPreprocessedProblemStats ()
 
com.google.ortools.pdlp.QuadraticProgramStats.Builder getPreprocessedProblemStatsBuilder ()
 
com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder getPreprocessedProblemStatsOrBuilder ()
 
java.util.List< com.google.ortools.pdlp.FeasibilityPolishingDetailsgetFeasibilityPolishingDetailsList ()
 
int getFeasibilityPolishingDetailsCount ()
 
com.google.ortools.pdlp.FeasibilityPolishingDetails getFeasibilityPolishingDetails (int index)
 
Builder setFeasibilityPolishingDetails (int index, com.google.ortools.pdlp.FeasibilityPolishingDetails value)
 
Builder setFeasibilityPolishingDetails (int index, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue)
 
Builder addFeasibilityPolishingDetails (com.google.ortools.pdlp.FeasibilityPolishingDetails value)
 
Builder addFeasibilityPolishingDetails (int index, com.google.ortools.pdlp.FeasibilityPolishingDetails value)
 
Builder addFeasibilityPolishingDetails (com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue)
 
Builder addFeasibilityPolishingDetails (int index, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue)
 
Builder addAllFeasibilityPolishingDetails (java.lang.Iterable<? extends com.google.ortools.pdlp.FeasibilityPolishingDetails > values)
 
Builder clearFeasibilityPolishingDetails ()
 
Builder removeFeasibilityPolishingDetails (int index)
 
com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder getFeasibilityPolishingDetailsBuilder (int index)
 
com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder getFeasibilityPolishingDetailsOrBuilder (int index)
 
java.util.List<? extends com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuildergetFeasibilityPolishingDetailsOrBuilderList ()
 
com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder addFeasibilityPolishingDetailsBuilder ()
 
com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder addFeasibilityPolishingDetailsBuilder (int index)
 
java.util.List< com.google.ortools.pdlp.FeasibilityPolishingDetails.BuildergetFeasibilityPolishingDetailsBuilderList ()
 

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

Protobuf type operations_research.pdlp.SolveLog

Definition at line 1028 of file SolveLog.java.

Member Function Documentation

◆ addAllFeasibilityPolishingDetails()

Builder com.google.ortools.pdlp.SolveLog.Builder.addAllFeasibilityPolishingDetails ( java.lang.Iterable<? extends com.google.ortools.pdlp.FeasibilityPolishingDetails > values)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3344 of file SolveLog.java.

◆ addAllIterationStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.addAllIterationStats ( java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats > values)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2652 of file SolveLog.java.

◆ addFeasibilityPolishingDetails() [1/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addFeasibilityPolishingDetails ( com.google.ortools.pdlp.FeasibilityPolishingDetails value)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3263 of file SolveLog.java.

◆ addFeasibilityPolishingDetails() [2/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addFeasibilityPolishingDetails ( com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3306 of file SolveLog.java.

◆ addFeasibilityPolishingDetails() [3/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addFeasibilityPolishingDetails ( int index,
com.google.ortools.pdlp.FeasibilityPolishingDetails value )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3284 of file SolveLog.java.

◆ addFeasibilityPolishingDetails() [4/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addFeasibilityPolishingDetails ( int index,
com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3325 of file SolveLog.java.

◆ addFeasibilityPolishingDetailsBuilder() [1/2]

com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder com.google.ortools.pdlp.SolveLog.Builder.addFeasibilityPolishingDetailsBuilder ( )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3443 of file SolveLog.java.

◆ addFeasibilityPolishingDetailsBuilder() [2/2]

com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder com.google.ortools.pdlp.SolveLog.Builder.addFeasibilityPolishingDetailsBuilder ( int index)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3455 of file SolveLog.java.

◆ addIterationStats() [1/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addIterationStats ( com.google.ortools.pdlp.IterationStats value)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2547 of file SolveLog.java.

◆ addIterationStats() [2/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addIterationStats ( com.google.ortools.pdlp.IterationStats.Builder builderForValue)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2602 of file SolveLog.java.

◆ addIterationStats() [3/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addIterationStats ( int index,
com.google.ortools.pdlp.IterationStats value )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2574 of file SolveLog.java.

◆ addIterationStats() [4/4]

Builder com.google.ortools.pdlp.SolveLog.Builder.addIterationStats ( int index,
com.google.ortools.pdlp.IterationStats.Builder builderForValue )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2627 of file SolveLog.java.

◆ addIterationStatsBuilder() [1/2]

com.google.ortools.pdlp.IterationStats.Builder com.google.ortools.pdlp.SolveLog.Builder.addIterationStatsBuilder ( )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2787 of file SolveLog.java.

◆ addIterationStatsBuilder() [2/2]

com.google.ortools.pdlp.IterationStats.Builder com.google.ortools.pdlp.SolveLog.Builder.addIterationStatsBuilder ( int index)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2805 of file SolveLog.java.

◆ build()

com.google.ortools.pdlp.SolveLog com.google.ortools.pdlp.SolveLog.Builder.build ( )

Definition at line 1126 of file SolveLog.java.

◆ buildPartial()

com.google.ortools.pdlp.SolveLog com.google.ortools.pdlp.SolveLog.Builder.buildPartial ( )

Definition at line 1135 of file SolveLog.java.

◆ clear()

Builder com.google.ortools.pdlp.SolveLog.Builder.clear ( )

Definition at line 1067 of file SolveLog.java.

◆ clearFeasibilityPolishingDetails()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearFeasibilityPolishingDetails ( )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3364 of file SolveLog.java.

◆ clearInstanceName()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearInstanceName ( )
The name of the optimization problem.

optional string instance_name = 1;

Returns
This builder for chaining.

Definition at line 1549 of file SolveLog.java.

◆ clearIterationCount()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearIterationCount ( )
The total number of iterations during the solve. For a solve with
`use_feasibility_polishing` this count includes the iterations from
the feasibility polishing phases.

optional int32 iteration_count = 5;

Returns
This builder for chaining.

Definition at line 1949 of file SolveLog.java.

◆ clearIterationStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearIterationStats ( )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2678 of file SolveLog.java.

◆ clearOriginalProblemStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearOriginalProblemStats ( )
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Definition at line 2942 of file SolveLog.java.

◆ clearParams()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearParams ( )
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Definition at line 1672 of file SolveLog.java.

◆ clearPreprocessedProblemStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearPreprocessedProblemStats ( )
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Definition at line 3099 of file SolveLog.java.

◆ clearPreprocessingTimeSec()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearPreprocessingTimeSec ( )
Time for preprocessing (everything before iteration 0). This is also
included in `solve_time_sec`.

optional double preprocessing_time_sec = 13;

Returns
This builder for chaining.

Definition at line 2009 of file SolveLog.java.

◆ clearSolutionStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearSolutionStats ( )
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Definition at line 2219 of file SolveLog.java.

◆ clearSolutionType()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearSolutionType ( )
The type of the output point that the solver returned. The quality of the
point is reported in the corresponding entry of
solution_stats.convergence_information and/or
solution_stats.infeasibility_information. If termination_reason is
TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
solution_stats.convergence_information satisfies the optimality conditions.
Similarly, if termination_reason is either
TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
the corresponding entry of solution_stats.infeasibility_information
satisifes conditions for declaring primal or dual infeasibility,
respectively.
If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
satisfy the optimality or infeasibility conditions.

optional .operations_research.pdlp.PointType solution_type = 10;

Returns
This builder for chaining.

Definition at line 2398 of file SolveLog.java.

◆ clearSolveTimeSec()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearSolveTimeSec ( )
The runtime of the solve. Note: This should not be used for comparing
methods unless care is taken to control for noise in runtime measurement.
For a solve with `use_feasibility_polishing` this count includes the
iterations from the feasibility polishing phases.

optional double solve_time_sec = 6;

Returns
This builder for chaining.

Definition at line 2077 of file SolveLog.java.

◆ clearTerminationReason()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearTerminationReason ( )
The reason that the solve terminated.

optional .operations_research.pdlp.TerminationReason termination_reason = 3;

Returns
This builder for chaining.

Definition at line 1781 of file SolveLog.java.

◆ clearTerminationString()

Builder com.google.ortools.pdlp.SolveLog.Builder.clearTerminationString ( )
Optional extra information about the termination reason.

optional string termination_string = 4;

Returns
This builder for chaining.

Definition at line 1868 of file SolveLog.java.

◆ getDefaultInstanceForType()

com.google.ortools.pdlp.SolveLog com.google.ortools.pdlp.SolveLog.Builder.getDefaultInstanceForType ( )

Definition at line 1121 of file SolveLog.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.pdlp.SolveLog.Builder.getDescriptor ( )
static

Definition at line 1033 of file SolveLog.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.pdlp.SolveLog.Builder.getDescriptorForType ( )

Definition at line 1116 of file SolveLog.java.

◆ getFeasibilityPolishingDetails()

com.google.ortools.pdlp.FeasibilityPolishingDetails com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetails ( int index)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3207 of file SolveLog.java.

◆ getFeasibilityPolishingDetailsBuilder()

com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetailsBuilder ( int index)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3400 of file SolveLog.java.

◆ getFeasibilityPolishingDetailsBuilderList()

java.util.List< com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder > com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetailsBuilderList ( )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3469 of file SolveLog.java.

◆ getFeasibilityPolishingDetailsCount()

int com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetailsCount ( )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3192 of file SolveLog.java.

◆ getFeasibilityPolishingDetailsList()

java.util.List< com.google.ortools.pdlp.FeasibilityPolishingDetails > com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetailsList ( )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3177 of file SolveLog.java.

◆ getFeasibilityPolishingDetailsOrBuilder()

com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetailsOrBuilder ( int index)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3412 of file SolveLog.java.

◆ getFeasibilityPolishingDetailsOrBuilderList()

java.util.List<? extends com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder > com.google.ortools.pdlp.SolveLog.Builder.getFeasibilityPolishingDetailsOrBuilderList ( )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3428 of file SolveLog.java.

◆ getInstanceName()

java.lang.String com.google.ortools.pdlp.SolveLog.Builder.getInstanceName ( )
The name of the optimization problem.

optional string instance_name = 1;

Returns
The instanceName.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1489 of file SolveLog.java.

◆ getInstanceNameBytes()

com.google.protobuf.ByteString com.google.ortools.pdlp.SolveLog.Builder.getInstanceNameBytes ( )
The name of the optimization problem.

optional string instance_name = 1;

Returns
The bytes for instanceName.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1512 of file SolveLog.java.

◆ getIterationCount()

int com.google.ortools.pdlp.SolveLog.Builder.getIterationCount ( )
The total number of iterations during the solve. For a solve with
`use_feasibility_polishing` this count includes the iterations from
the feasibility polishing phases.

optional int32 iteration_count = 5;

Returns
The iterationCount.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1918 of file SolveLog.java.

◆ getIterationStats()

com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.SolveLog.Builder.getIterationStats ( int index)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2473 of file SolveLog.java.

◆ getIterationStatsBuilder()

com.google.ortools.pdlp.IterationStats.Builder com.google.ortools.pdlp.SolveLog.Builder.getIterationStatsBuilder ( int index)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2726 of file SolveLog.java.

◆ getIterationStatsBuilderList()

java.util.List< com.google.ortools.pdlp.IterationStats.Builder > com.google.ortools.pdlp.SolveLog.Builder.getIterationStatsBuilderList ( )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2825 of file SolveLog.java.

◆ getIterationStatsCount()

int com.google.ortools.pdlp.SolveLog.Builder.getIterationStatsCount ( )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2452 of file SolveLog.java.

◆ getIterationStatsList()

java.util.List< com.google.ortools.pdlp.IterationStats > com.google.ortools.pdlp.SolveLog.Builder.getIterationStatsList ( )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2431 of file SolveLog.java.

◆ getIterationStatsOrBuilder()

com.google.ortools.pdlp.IterationStatsOrBuilder com.google.ortools.pdlp.SolveLog.Builder.getIterationStatsOrBuilder ( int index)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2744 of file SolveLog.java.

◆ getIterationStatsOrBuilderList()

java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder > com.google.ortools.pdlp.SolveLog.Builder.getIterationStatsOrBuilderList ( )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2766 of file SolveLog.java.

◆ getOriginalProblemStats()

com.google.ortools.pdlp.QuadraticProgramStats com.google.ortools.pdlp.SolveLog.Builder.getOriginalProblemStats ( )
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Returns
The originalProblemStats.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2865 of file SolveLog.java.

◆ getOriginalProblemStatsBuilder()

com.google.ortools.pdlp.QuadraticProgramStats.Builder com.google.ortools.pdlp.SolveLog.Builder.getOriginalProblemStatsBuilder ( )
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Definition at line 2959 of file SolveLog.java.

◆ getOriginalProblemStatsOrBuilder()

com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder com.google.ortools.pdlp.SolveLog.Builder.getOriginalProblemStatsOrBuilder ( )
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2971 of file SolveLog.java.

◆ getParams()

com.google.ortools.pdlp.PrimalDualHybridGradientParams com.google.ortools.pdlp.SolveLog.Builder.getParams ( )
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Returns
The params.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1595 of file SolveLog.java.

◆ getParamsBuilder()

com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder com.google.ortools.pdlp.SolveLog.Builder.getParamsBuilder ( )
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Definition at line 1689 of file SolveLog.java.

◆ getParamsOrBuilder()

com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder com.google.ortools.pdlp.SolveLog.Builder.getParamsOrBuilder ( )
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1701 of file SolveLog.java.

◆ getPreprocessedProblemStats()

com.google.ortools.pdlp.QuadraticProgramStats com.google.ortools.pdlp.SolveLog.Builder.getPreprocessedProblemStats ( )
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Returns
The preprocessedProblemStats.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3022 of file SolveLog.java.

◆ getPreprocessedProblemStatsBuilder()

com.google.ortools.pdlp.QuadraticProgramStats.Builder com.google.ortools.pdlp.SolveLog.Builder.getPreprocessedProblemStatsBuilder ( )
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Definition at line 3116 of file SolveLog.java.

◆ getPreprocessedProblemStatsOrBuilder()

com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder com.google.ortools.pdlp.SolveLog.Builder.getPreprocessedProblemStatsOrBuilder ( )
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3128 of file SolveLog.java.

◆ getPreprocessingTimeSec()

double com.google.ortools.pdlp.SolveLog.Builder.getPreprocessingTimeSec ( )
Time for preprocessing (everything before iteration 0). This is also
included in `solve_time_sec`.

optional double preprocessing_time_sec = 13;

Returns
The preprocessingTimeSec.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1980 of file SolveLog.java.

◆ getSolutionStats()

com.google.ortools.pdlp.IterationStats com.google.ortools.pdlp.SolveLog.Builder.getSolutionStats ( )
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Returns
The solutionStats.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2118 of file SolveLog.java.

◆ getSolutionStatsBuilder()

com.google.ortools.pdlp.IterationStats.Builder com.google.ortools.pdlp.SolveLog.Builder.getSolutionStatsBuilder ( )
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Definition at line 2242 of file SolveLog.java.

◆ getSolutionStatsOrBuilder()

com.google.ortools.pdlp.IterationStatsOrBuilder com.google.ortools.pdlp.SolveLog.Builder.getSolutionStatsOrBuilder ( )
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2260 of file SolveLog.java.

◆ getSolutionType()

com.google.ortools.pdlp.PointType com.google.ortools.pdlp.SolveLog.Builder.getSolutionType ( )
The type of the output point that the solver returned. The quality of the
point is reported in the corresponding entry of
solution_stats.convergence_information and/or
solution_stats.infeasibility_information. If termination_reason is
TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
solution_stats.convergence_information satisfies the optimality conditions.
Similarly, if termination_reason is either
TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
the corresponding entry of solution_stats.infeasibility_information
satisifes conditions for declaring primal or dual infeasibility,
respectively.
If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
satisfy the optimality or infeasibility conditions.

optional .operations_research.pdlp.PointType solution_type = 10;

Returns
The solutionType.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2342 of file SolveLog.java.

◆ getSolveTimeSec()

double com.google.ortools.pdlp.SolveLog.Builder.getSolveTimeSec ( )
The runtime of the solve. Note: This should not be used for comparing
methods unless care is taken to control for noise in runtime measurement.
For a solve with `use_feasibility_polishing` this count includes the
iterations from the feasibility polishing phases.

optional double solve_time_sec = 6;

Returns
The solveTimeSec.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2044 of file SolveLog.java.

◆ getTerminationReason()

com.google.ortools.pdlp.TerminationReason com.google.ortools.pdlp.SolveLog.Builder.getTerminationReason ( )
The reason that the solve terminated.

optional .operations_research.pdlp.TerminationReason termination_reason = 3;

Returns
The terminationReason.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1751 of file SolveLog.java.

◆ getTerminationString()

java.lang.String com.google.ortools.pdlp.SolveLog.Builder.getTerminationString ( )
Optional extra information about the termination reason.

optional string termination_string = 4;

Returns
The terminationString.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1808 of file SolveLog.java.

◆ getTerminationStringBytes()

com.google.protobuf.ByteString com.google.ortools.pdlp.SolveLog.Builder.getTerminationStringBytes ( )
Optional extra information about the termination reason.

optional string termination_string = 4;

Returns
The bytes for terminationString.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1831 of file SolveLog.java.

◆ hasInstanceName()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasInstanceName ( )
The name of the optimization problem.

optional string instance_name = 1;

Returns
Whether the instanceName field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1478 of file SolveLog.java.

◆ hasIterationCount()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasIterationCount ( )
The total number of iterations during the solve. For a solve with
`use_feasibility_polishing` this count includes the iterations from
the feasibility polishing phases.

optional int32 iteration_count = 5;

Returns
Whether the iterationCount field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1904 of file SolveLog.java.

◆ hasOriginalProblemStats()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasOriginalProblemStats ( )
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Returns
Whether the originalProblemStats field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2854 of file SolveLog.java.

◆ hasParams()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasParams ( )
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Returns
Whether the params field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1584 of file SolveLog.java.

◆ hasPreprocessedProblemStats()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasPreprocessedProblemStats ( )
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Returns
Whether the preprocessedProblemStats field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 3011 of file SolveLog.java.

◆ hasPreprocessingTimeSec()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasPreprocessingTimeSec ( )
Time for preprocessing (everything before iteration 0). This is also
included in `solve_time_sec`.

optional double preprocessing_time_sec = 13;

Returns
Whether the preprocessingTimeSec field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1967 of file SolveLog.java.

◆ hasSolutionStats()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasSolutionStats ( )
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Returns
Whether the solutionStats field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2101 of file SolveLog.java.

◆ hasSolutionType()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasSolutionType ( )
The type of the output point that the solver returned. The quality of the
point is reported in the corresponding entry of
solution_stats.convergence_information and/or
solution_stats.infeasibility_information. If termination_reason is
TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
solution_stats.convergence_information satisfies the optimality conditions.
Similarly, if termination_reason is either
TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
the corresponding entry of solution_stats.infeasibility_information
satisifes conditions for declaring primal or dual infeasibility,
respectively.
If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
satisfy the optimality or infeasibility conditions.

optional .operations_research.pdlp.PointType solution_type = 10;

Returns
Whether the solutionType field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2317 of file SolveLog.java.

◆ hasSolveTimeSec()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasSolveTimeSec ( )
The runtime of the solve. Note: This should not be used for comparing
methods unless care is taken to control for noise in runtime measurement.
For a solve with `use_feasibility_polishing` this count includes the
iterations from the feasibility polishing phases.

optional double solve_time_sec = 6;

Returns
Whether the solveTimeSec field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 2029 of file SolveLog.java.

◆ hasTerminationReason()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasTerminationReason ( )
The reason that the solve terminated.

optional .operations_research.pdlp.TerminationReason termination_reason = 3;

Returns
Whether the terminationReason field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1739 of file SolveLog.java.

◆ hasTerminationString()

boolean com.google.ortools.pdlp.SolveLog.Builder.hasTerminationString ( )
Optional extra information about the termination reason.

optional string termination_string = 4;

Returns
Whether the terminationString field is set.

Implements com.google.ortools.pdlp.SolveLogOrBuilder.

Definition at line 1797 of file SolveLog.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.pdlp.SolveLog.Builder.internalGetFieldAccessorTable ( )
protected

Definition at line 1039 of file SolveLog.java.

◆ isInitialized()

final boolean com.google.ortools.pdlp.SolveLog.Builder.isInitialized ( )

Definition at line 1329 of file SolveLog.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.pdlp.SolveLog.Builder.mergeFrom ( com.google.ortools.pdlp.SolveLog other)

Definition at line 1232 of file SolveLog.java.

◆ mergeFrom() [2/3]

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

Definition at line 1334 of file SolveLog.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.pdlp.SolveLog.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 1223 of file SolveLog.java.

◆ mergeOriginalProblemStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.mergeOriginalProblemStats ( com.google.ortools.pdlp.QuadraticProgramStats value)
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Definition at line 2917 of file SolveLog.java.

◆ mergeParams()

Builder com.google.ortools.pdlp.SolveLog.Builder.mergeParams ( com.google.ortools.pdlp.PrimalDualHybridGradientParams value)
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Definition at line 1647 of file SolveLog.java.

◆ mergePreprocessedProblemStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.mergePreprocessedProblemStats ( com.google.ortools.pdlp.QuadraticProgramStats value)
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Definition at line 3074 of file SolveLog.java.

◆ mergeSolutionStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.mergeSolutionStats ( com.google.ortools.pdlp.IterationStats value)
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Definition at line 2188 of file SolveLog.java.

◆ removeFeasibilityPolishingDetails()

Builder com.google.ortools.pdlp.SolveLog.Builder.removeFeasibilityPolishingDetails ( int index)
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3382 of file SolveLog.java.

◆ removeIterationStats()

Builder com.google.ortools.pdlp.SolveLog.Builder.removeIterationStats ( int index)
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2702 of file SolveLog.java.

◆ setFeasibilityPolishingDetails() [1/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setFeasibilityPolishingDetails ( int index,
com.google.ortools.pdlp.FeasibilityPolishingDetails value )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3222 of file SolveLog.java.

◆ setFeasibilityPolishingDetails() [2/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setFeasibilityPolishingDetails ( int index,
com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue )
If solving with `use_feasibility_polishing`, details about the primal and
dual feasibility polishing phases.

repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;

Definition at line 3244 of file SolveLog.java.

◆ setInstanceName()

Builder com.google.ortools.pdlp.SolveLog.Builder.setInstanceName ( java.lang.String value)
The name of the optimization problem.

optional string instance_name = 1;

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

Definition at line 1533 of file SolveLog.java.

◆ setInstanceNameBytes()

Builder com.google.ortools.pdlp.SolveLog.Builder.setInstanceNameBytes ( com.google.protobuf.ByteString value)
The name of the optimization problem.

optional string instance_name = 1;

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

Definition at line 1564 of file SolveLog.java.

◆ setIterationCount()

Builder com.google.ortools.pdlp.SolveLog.Builder.setIterationCount ( int value)
The total number of iterations during the solve. For a solve with
`use_feasibility_polishing` this count includes the iterations from
the feasibility polishing phases.

optional int32 iteration_count = 5;

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

Definition at line 1932 of file SolveLog.java.

◆ setIterationStats() [1/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setIterationStats ( int index,
com.google.ortools.pdlp.IterationStats value )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2494 of file SolveLog.java.

◆ setIterationStats() [2/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setIterationStats ( int index,
com.google.ortools.pdlp.IterationStats.Builder builderForValue )
A history of iteration stats for the solve. The iteration_number fields
should be in increasing order. The frequency at which these stats should be
recorded is not specified. This field is "more" optional than the others
because it often significantly increases the size of the message, and
because the information may not be available for third-party solvers.
For a solve with `use_feasibility_polishing`, these iteration stats will
only reflect the work done in the main iterations (not the feasibility
polishing phases).

repeated .operations_research.pdlp.IterationStats iteration_stats = 7;

Definition at line 2522 of file SolveLog.java.

◆ setOriginalProblemStats() [1/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setOriginalProblemStats ( com.google.ortools.pdlp.QuadraticProgramStats value)
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Definition at line 2879 of file SolveLog.java.

◆ setOriginalProblemStats() [2/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setOriginalProblemStats ( com.google.ortools.pdlp.QuadraticProgramStats.Builder builderForValue)
Statistics of the original problem.

optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;

Definition at line 2899 of file SolveLog.java.

◆ setParams() [1/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setParams ( com.google.ortools.pdlp.PrimalDualHybridGradientParams value)
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Definition at line 1609 of file SolveLog.java.

◆ setParams() [2/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setParams ( com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder builderForValue)
If solved with PDLP, the parameters for this solve.

optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;

Definition at line 1629 of file SolveLog.java.

◆ setPreprocessedProblemStats() [1/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setPreprocessedProblemStats ( com.google.ortools.pdlp.QuadraticProgramStats value)
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Definition at line 3036 of file SolveLog.java.

◆ setPreprocessedProblemStats() [2/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setPreprocessedProblemStats ( com.google.ortools.pdlp.QuadraticProgramStats.Builder builderForValue)
Statistics of the problem after preprocessing.

optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;

Definition at line 3056 of file SolveLog.java.

◆ setPreprocessingTimeSec()

Builder com.google.ortools.pdlp.SolveLog.Builder.setPreprocessingTimeSec ( double value)
Time for preprocessing (everything before iteration 0). This is also
included in `solve_time_sec`.

optional double preprocessing_time_sec = 13;

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

Definition at line 1993 of file SolveLog.java.

◆ setSolutionStats() [1/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setSolutionStats ( com.google.ortools.pdlp.IterationStats value)
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Definition at line 2138 of file SolveLog.java.

◆ setSolutionStats() [2/2]

Builder com.google.ortools.pdlp.SolveLog.Builder.setSolutionStats ( com.google.ortools.pdlp.IterationStats.Builder builderForValue)
The `IterationStats` for the final iteration of the solver. For a solve
with `use_feasibility_polishing`, the work metrics (iteration_count,
cumulative_kkt_matrix_passes, etc.) will include the work done in the
feasibility polishing phases.
NOTE: Regardless of preprocessing (i.e. scaling or presolve) the optimality
or infeasibility information is evaluated with respect to the original
problem.

optional .operations_research.pdlp.IterationStats solution_stats = 8;

Definition at line 2164 of file SolveLog.java.

◆ setSolutionType()

Builder com.google.ortools.pdlp.SolveLog.Builder.setSolutionType ( com.google.ortools.pdlp.PointType value)
The type of the output point that the solver returned. The quality of the
point is reported in the corresponding entry of
solution_stats.convergence_information and/or
solution_stats.infeasibility_information. If termination_reason is
TERMINATION_REASON_OPTIMAL, it's guaranteed that the corresponding entry of
solution_stats.convergence_information satisfies the optimality conditions.
Similarly, if termination_reason is either
TERMINATION_REASON_PRIMAL_INFEASIBLE or TERMINATION_REASON_DUAL_INFEASIBLE
the corresponding entry of solution_stats.infeasibility_information
satisifes conditions for declaring primal or dual infeasibility,
respectively.
If termination_reason is anything else, e.g. TERMINATION_REASON_TIME_LIMIT
or TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE, the solution may not
satisfy the optimality or infeasibility conditions.

optional .operations_research.pdlp.PointType solution_type = 10;

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

Definition at line 2368 of file SolveLog.java.

◆ setSolveTimeSec()

Builder com.google.ortools.pdlp.SolveLog.Builder.setSolveTimeSec ( double value)
The runtime of the solve. Note: This should not be used for comparing
methods unless care is taken to control for noise in runtime measurement.
For a solve with `use_feasibility_polishing` this count includes the
iterations from the feasibility polishing phases.

optional double solve_time_sec = 6;

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

Definition at line 2059 of file SolveLog.java.

◆ setTerminationReason()

Builder com.google.ortools.pdlp.SolveLog.Builder.setTerminationReason ( com.google.ortools.pdlp.TerminationReason value)
The reason that the solve terminated.

optional .operations_research.pdlp.TerminationReason termination_reason = 3;

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

Definition at line 1764 of file SolveLog.java.

◆ setTerminationString()

Builder com.google.ortools.pdlp.SolveLog.Builder.setTerminationString ( java.lang.String value)
Optional extra information about the termination reason.

optional string termination_string = 4;

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

Definition at line 1852 of file SolveLog.java.

◆ setTerminationStringBytes()

Builder com.google.ortools.pdlp.SolveLog.Builder.setTerminationStringBytes ( com.google.protobuf.ByteString value)
Optional extra information about the termination reason.

optional string termination_string = 4;

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

Definition at line 1883 of file SolveLog.java.


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