Interface SolveLogOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SolveLog
,SolveLog.Builder
@Generated
public interface SolveLogOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFeasibilityPolishingDetails
(int index) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.int
If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.getFeasibilityPolishingDetailsOrBuilder
(int index) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.List
<? extends FeasibilityPolishingDetailsOrBuilder> If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.The name of the optimization problem.com.google.protobuf.ByteString
The name of the optimization problem.int
The total number of iterations during the solve.getIterationStats
(int index) A history of iteration stats for the solve.int
A history of iteration stats for the solve.A history of iteration stats for the solve.getIterationStatsOrBuilder
(int index) A history of iteration stats for the solve.List
<? extends IterationStatsOrBuilder> A history of iteration stats for the solve.Statistics of the original problem.Statistics of the original problem.If solved with PDLP, the parameters for this solve.If solved with PDLP, the parameters for this solve.Statistics of the problem after preprocessing.Statistics of the problem after preprocessing.double
Time for preprocessing (everything before iteration 0).The `IterationStats` for the final iteration of the solver.The `IterationStats` for the final iteration of the solver.The type of the output point that the solver returned.double
The runtime of the solve.The reason that the solve terminated.Optional extra information about the termination reason.com.google.protobuf.ByteString
Optional extra information about the termination reason.boolean
The name of the optimization problem.boolean
The total number of iterations during the solve.boolean
Statistics of the original problem.boolean
If solved with PDLP, the parameters for this solve.boolean
Statistics of the problem after preprocessing.boolean
Time for preprocessing (everything before iteration 0).boolean
The `IterationStats` for the final iteration of the solver.boolean
The type of the output point that the solver returned.boolean
The runtime of the solve.boolean
The reason that the solve terminated.boolean
Optional extra information about the termination reason.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInstanceName
boolean hasInstanceName()The name of the optimization problem.
optional string instance_name = 1;
- Returns:
- Whether the instanceName field is set.
-
getInstanceName
String getInstanceName()The name of the optimization problem.
optional string instance_name = 1;
- Returns:
- The instanceName.
-
getInstanceNameBytes
com.google.protobuf.ByteString getInstanceNameBytes()The name of the optimization problem.
optional string instance_name = 1;
- Returns:
- The bytes for instanceName.
-
hasParams
boolean hasParams()If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
- Returns:
- Whether the params field is set.
-
getParams
PrimalDualHybridGradientParams getParams()If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
- Returns:
- The params.
-
getParamsOrBuilder
PrimalDualHybridGradientParamsOrBuilder getParamsOrBuilder()If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
-
hasTerminationReason
boolean hasTerminationReason()The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;
- Returns:
- Whether the terminationReason field is set.
-
getTerminationReason
TerminationReason getTerminationReason()The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;
- Returns:
- The terminationReason.
-
hasTerminationString
boolean hasTerminationString()Optional extra information about the termination reason.
optional string termination_string = 4;
- Returns:
- Whether the terminationString field is set.
-
getTerminationString
String getTerminationString()Optional extra information about the termination reason.
optional string termination_string = 4;
- Returns:
- The terminationString.
-
getTerminationStringBytes
com.google.protobuf.ByteString getTerminationStringBytes()Optional extra information about the termination reason.
optional string termination_string = 4;
- Returns:
- The bytes for terminationString.
-
hasIterationCount
boolean 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.
-
getIterationCount
int 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.
-
hasPreprocessingTimeSec
boolean 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.
-
getPreprocessingTimeSec
double 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.
-
hasSolveTimeSec
boolean 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.
-
getSolveTimeSec
double 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.
-
hasSolutionStats
boolean 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.
-
getSolutionStats
IterationStats 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.
-
getSolutionStatsOrBuilder
IterationStatsOrBuilder 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;
-
hasSolutionType
boolean 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.
-
getSolutionType
PointType 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.
-
getIterationStatsList
List<IterationStats> 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;
-
getIterationStats
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;
-
getIterationStatsCount
int 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;
-
getIterationStatsOrBuilderList
List<? extends IterationStatsOrBuilder> 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;
-
getIterationStatsOrBuilder
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;
-
hasOriginalProblemStats
boolean hasOriginalProblemStats()Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
- Returns:
- Whether the originalProblemStats field is set.
-
getOriginalProblemStats
QuadraticProgramStats getOriginalProblemStats()Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
- Returns:
- The originalProblemStats.
-
getOriginalProblemStatsOrBuilder
QuadraticProgramStatsOrBuilder getOriginalProblemStatsOrBuilder()Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
-
hasPreprocessedProblemStats
boolean hasPreprocessedProblemStats()Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
- Returns:
- Whether the preprocessedProblemStats field is set.
-
getPreprocessedProblemStats
QuadraticProgramStats getPreprocessedProblemStats()Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
- Returns:
- The preprocessedProblemStats.
-
getPreprocessedProblemStatsOrBuilder
QuadraticProgramStatsOrBuilder getPreprocessedProblemStatsOrBuilder()Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
-
getFeasibilityPolishingDetailsList
List<FeasibilityPolishingDetails> 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;
-
getFeasibilityPolishingDetails
If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.
repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
-
getFeasibilityPolishingDetailsCount
int 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;
-
getFeasibilityPolishingDetailsOrBuilderList
List<? extends FeasibilityPolishingDetailsOrBuilder> 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;
-
getFeasibilityPolishingDetailsOrBuilder
If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.
repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
-