Class SolveLog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
com.google.ortools.pdlp.SolveLog.Builder
- All Implemented Interfaces:
SolveLogOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
SolveLog
public static final class SolveLog.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
implements SolveLogOrBuilder
Protobuf type
operations_research.pdlp.SolveLog
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFeasibilityPolishingDetails
(Iterable<? extends FeasibilityPolishingDetails> values) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.addAllIterationStats
(Iterable<? extends IterationStats> values) A history of iteration stats for the solve.addFeasibilityPolishingDetails
(int index, FeasibilityPolishingDetails value) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.addFeasibilityPolishingDetails
(int index, FeasibilityPolishingDetails.Builder builderForValue) 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.addFeasibilityPolishingDetails
(FeasibilityPolishingDetails.Builder builderForValue) 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.addFeasibilityPolishingDetailsBuilder
(int index) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.addIterationStats
(int index, IterationStats value) A history of iteration stats for the solve.addIterationStats
(int index, IterationStats.Builder builderForValue) A history of iteration stats for the solve.addIterationStats
(IterationStats value) A history of iteration stats for the solve.addIterationStats
(IterationStats.Builder builderForValue) A history of iteration stats for the solve.A history of iteration stats for the solve.addIterationStatsBuilder
(int index) A history of iteration stats for the solve.build()
clear()
If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.The name of the optimization problem.The total number of iterations during the solve.A history of iteration stats for the solve.Statistics of the original problem.If solved with PDLP, the parameters for this solve.Statistics of the problem after preprocessing.Time for preprocessing (everything before iteration 0).The `IterationStats` for the final iteration of the solver.The type of the output point that the solver returned.The runtime of the solve.The reason that the solve terminated.Optional extra information about the termination reason.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFeasibilityPolishingDetails
(int index) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.getFeasibilityPolishingDetailsBuilder
(int index) 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.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.getIterationStatsBuilder
(int index) A history of iteration stats for the solve.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.Statistics of the original problem.If solved with PDLP, the parameters for this solve.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.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 `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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Statistics of the original problem.If solved with PDLP, the parameters for this solve.Statistics of the problem after preprocessing.mergeSolutionStats
(IterationStats value) The `IterationStats` for the final iteration of the solver.removeFeasibilityPolishingDetails
(int index) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.removeIterationStats
(int index) A history of iteration stats for the solve.setFeasibilityPolishingDetails
(int index, FeasibilityPolishingDetails value) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.setFeasibilityPolishingDetails
(int index, FeasibilityPolishingDetails.Builder builderForValue) If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.setInstanceName
(String value) The name of the optimization problem.setInstanceNameBytes
(com.google.protobuf.ByteString value) The name of the optimization problem.setIterationCount
(int value) The total number of iterations during the solve.setIterationStats
(int index, IterationStats value) A history of iteration stats for the solve.setIterationStats
(int index, IterationStats.Builder builderForValue) A history of iteration stats for the solve.Statistics of the original problem.setOriginalProblemStats
(QuadraticProgramStats.Builder builderForValue) Statistics of the original problem.If solved with PDLP, the parameters for this solve.setParams
(PrimalDualHybridGradientParams.Builder builderForValue) If solved with PDLP, the parameters for this solve.Statistics of the problem after preprocessing.setPreprocessedProblemStats
(QuadraticProgramStats.Builder builderForValue) Statistics of the problem after preprocessing.setPreprocessingTimeSec
(double value) Time for preprocessing (everything before iteration 0).setSolutionStats
(IterationStats value) The `IterationStats` for the final iteration of the solver.setSolutionStats
(IterationStats.Builder builderForValue) The `IterationStats` for the final iteration of the solver.setSolutionType
(PointType value) The type of the output point that the solver returned.setSolveTimeSec
(double value) The runtime of the solve.The reason that the solve terminated.setTerminationString
(String value) Optional extra information about the termination reason.setTerminationStringBytes
(com.google.protobuf.ByteString value) Optional extra information about the termination reason.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
mergeFrom
public SolveLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
- Throws:
IOException
-
hasInstanceName
public boolean hasInstanceName()The name of the optimization problem.
optional string instance_name = 1;
- Specified by:
hasInstanceName
in interfaceSolveLogOrBuilder
- Returns:
- Whether the instanceName field is set.
-
getInstanceName
The name of the optimization problem.
optional string instance_name = 1;
- Specified by:
getInstanceName
in interfaceSolveLogOrBuilder
- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()The name of the optimization problem.
optional string instance_name = 1;
- Specified by:
getInstanceNameBytes
in interfaceSolveLogOrBuilder
- Returns:
- The bytes for instanceName.
-
setInstanceName
The name of the optimization problem.
optional string instance_name = 1;
- Parameters:
value
- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
The name of the optimization problem.
optional string instance_name = 1;
- Returns:
- This builder for chaining.
-
setInstanceNameBytes
The name of the optimization problem.
optional string instance_name = 1;
- Parameters:
value
- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
- Specified by:
hasParams
in interfaceSolveLogOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
- Specified by:
getParams
in interfaceSolveLogOrBuilder
- Returns:
- The params.
-
setParams
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
-
setParams
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
-
mergeParams
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
-
clearParams
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
-
getParamsBuilder
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
-
getParamsOrBuilder
If solved with PDLP, the parameters for this solve.
optional .operations_research.pdlp.PrimalDualHybridGradientParams params = 14;
- Specified by:
getParamsOrBuilder
in interfaceSolveLogOrBuilder
-
hasTerminationReason
public boolean hasTerminationReason()The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;
- Specified by:
hasTerminationReason
in interfaceSolveLogOrBuilder
- Returns:
- Whether the terminationReason field is set.
-
getTerminationReason
The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;
- Specified by:
getTerminationReason
in interfaceSolveLogOrBuilder
- Returns:
- The terminationReason.
-
setTerminationReason
The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;
- Parameters:
value
- The terminationReason to set.- Returns:
- This builder for chaining.
-
clearTerminationReason
The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;
- Returns:
- This builder for chaining.
-
hasTerminationString
public boolean hasTerminationString()Optional extra information about the termination reason.
optional string termination_string = 4;
- Specified by:
hasTerminationString
in interfaceSolveLogOrBuilder
- Returns:
- Whether the terminationString field is set.
-
getTerminationString
Optional extra information about the termination reason.
optional string termination_string = 4;
- Specified by:
getTerminationString
in interfaceSolveLogOrBuilder
- Returns:
- The terminationString.
-
getTerminationStringBytes
public com.google.protobuf.ByteString getTerminationStringBytes()Optional extra information about the termination reason.
optional string termination_string = 4;
- Specified by:
getTerminationStringBytes
in interfaceSolveLogOrBuilder
- Returns:
- The bytes for terminationString.
-
setTerminationString
Optional extra information about the termination reason.
optional string termination_string = 4;
- Parameters:
value
- The terminationString to set.- Returns:
- This builder for chaining.
-
clearTerminationString
Optional extra information about the termination reason.
optional string termination_string = 4;
- Returns:
- This builder for chaining.
-
setTerminationStringBytes
Optional extra information about the termination reason.
optional string termination_string = 4;
- Parameters:
value
- The bytes for terminationString to set.- Returns:
- This builder for chaining.
-
hasIterationCount
public 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;
- Specified by:
hasIterationCount
in interfaceSolveLogOrBuilder
- Returns:
- Whether the iterationCount field is set.
-
getIterationCount
public 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;
- Specified by:
getIterationCount
in interfaceSolveLogOrBuilder
- Returns:
- The iterationCount.
-
setIterationCount
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:
value
- The iterationCount to set.- Returns:
- This builder for chaining.
-
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.
-
hasPreprocessingTimeSec
public boolean hasPreprocessingTimeSec()Time for preprocessing (everything before iteration 0). This is also included in `solve_time_sec`.
optional double preprocessing_time_sec = 13;
- Specified by:
hasPreprocessingTimeSec
in interfaceSolveLogOrBuilder
- Returns:
- Whether the preprocessingTimeSec field is set.
-
getPreprocessingTimeSec
public double getPreprocessingTimeSec()Time for preprocessing (everything before iteration 0). This is also included in `solve_time_sec`.
optional double preprocessing_time_sec = 13;
- Specified by:
getPreprocessingTimeSec
in interfaceSolveLogOrBuilder
- Returns:
- The preprocessingTimeSec.
-
setPreprocessingTimeSec
Time for preprocessing (everything before iteration 0). This is also included in `solve_time_sec`.
optional double preprocessing_time_sec = 13;
- Parameters:
value
- The preprocessingTimeSec to set.- Returns:
- This builder for chaining.
-
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.
-
hasSolveTimeSec
public 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;
- Specified by:
hasSolveTimeSec
in interfaceSolveLogOrBuilder
- Returns:
- Whether the solveTimeSec field is set.
-
getSolveTimeSec
public 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;
- Specified by:
getSolveTimeSec
in interfaceSolveLogOrBuilder
- Returns:
- The solveTimeSec.
-
setSolveTimeSec
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:
value
- The solveTimeSec to set.- Returns:
- This builder for chaining.
-
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.
-
hasSolutionStats
public 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;
- Specified by:
hasSolutionStats
in interfaceSolveLogOrBuilder
- Returns:
- Whether the solutionStats field is set.
-
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;
- Specified by:
getSolutionStats
in interfaceSolveLogOrBuilder
- Returns:
- The solutionStats.
-
setSolutionStats
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;
-
setSolutionStats
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;
-
mergeSolutionStats
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;
-
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;
-
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;
-
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;
- Specified by:
getSolutionStatsOrBuilder
in interfaceSolveLogOrBuilder
-
hasSolutionType
public 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;
- Specified by:
hasSolutionType
in interfaceSolveLogOrBuilder
- Returns:
- Whether the solutionType field is set.
-
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;
- Specified by:
getSolutionType
in interfaceSolveLogOrBuilder
- Returns:
- The solutionType.
-
setSolutionType
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:
value
- The solutionType to set.- Returns:
- This builder for chaining.
-
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.
-
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;
- Specified by:
getIterationStatsList
in interfaceSolveLogOrBuilder
-
getIterationStatsCount
public 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;
- Specified by:
getIterationStatsCount
in interfaceSolveLogOrBuilder
-
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;
- Specified by:
getIterationStats
in interfaceSolveLogOrBuilder
-
setIterationStats
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;
-
setIterationStats
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;
-
addIterationStats
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;
-
addIterationStats
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;
-
addIterationStats
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;
-
addIterationStats
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;
-
addAllIterationStats
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;
-
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;
-
removeIterationStats
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;
-
getIterationStatsBuilder
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;
- Specified by:
getIterationStatsOrBuilder
in interfaceSolveLogOrBuilder
-
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;
- Specified by:
getIterationStatsOrBuilderList
in interfaceSolveLogOrBuilder
-
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;
-
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;
-
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;
-
hasOriginalProblemStats
public boolean hasOriginalProblemStats()Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
- Specified by:
hasOriginalProblemStats
in interfaceSolveLogOrBuilder
- Returns:
- Whether the originalProblemStats field is set.
-
getOriginalProblemStats
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
- Specified by:
getOriginalProblemStats
in interfaceSolveLogOrBuilder
- Returns:
- The originalProblemStats.
-
setOriginalProblemStats
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
-
setOriginalProblemStats
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
-
mergeOriginalProblemStats
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
-
clearOriginalProblemStats
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
-
getOriginalProblemStatsBuilder
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
-
getOriginalProblemStatsOrBuilder
Statistics of the original problem.
optional .operations_research.pdlp.QuadraticProgramStats original_problem_stats = 11;
- Specified by:
getOriginalProblemStatsOrBuilder
in interfaceSolveLogOrBuilder
-
hasPreprocessedProblemStats
public boolean hasPreprocessedProblemStats()Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
- Specified by:
hasPreprocessedProblemStats
in interfaceSolveLogOrBuilder
- Returns:
- Whether the preprocessedProblemStats field is set.
-
getPreprocessedProblemStats
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
- Specified by:
getPreprocessedProblemStats
in interfaceSolveLogOrBuilder
- Returns:
- The preprocessedProblemStats.
-
setPreprocessedProblemStats
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
-
setPreprocessedProblemStats
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
-
mergePreprocessedProblemStats
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
-
clearPreprocessedProblemStats
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
-
getPreprocessedProblemStatsBuilder
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
-
getPreprocessedProblemStatsOrBuilder
Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;
- Specified by:
getPreprocessedProblemStatsOrBuilder
in interfaceSolveLogOrBuilder
-
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;
- Specified by:
getFeasibilityPolishingDetailsList
in interfaceSolveLogOrBuilder
-
getFeasibilityPolishingDetailsCount
public 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;
- Specified by:
getFeasibilityPolishingDetailsCount
in interfaceSolveLogOrBuilder
-
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;
- Specified by:
getFeasibilityPolishingDetails
in interfaceSolveLogOrBuilder
-
setFeasibilityPolishingDetails
public SolveLog.Builder setFeasibilityPolishingDetails(int index, 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;
-
setFeasibilityPolishingDetails
public SolveLog.Builder setFeasibilityPolishingDetails(int index, 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;
-
addFeasibilityPolishingDetails
If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.
repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
-
addFeasibilityPolishingDetails
public SolveLog.Builder addFeasibilityPolishingDetails(int index, 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;
-
addFeasibilityPolishingDetails
public SolveLog.Builder addFeasibilityPolishingDetails(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;
-
addFeasibilityPolishingDetails
public SolveLog.Builder addFeasibilityPolishingDetails(int index, 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;
-
addAllFeasibilityPolishingDetails
public SolveLog.Builder addAllFeasibilityPolishingDetails(Iterable<? extends 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;
-
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;
-
removeFeasibilityPolishingDetails
If solving with `use_feasibility_polishing`, details about the primal and dual feasibility polishing phases.
repeated .operations_research.pdlp.FeasibilityPolishingDetails feasibility_polishing_details = 15;
-
getFeasibilityPolishingDetailsBuilder
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;
- Specified by:
getFeasibilityPolishingDetailsOrBuilder
in interfaceSolveLogOrBuilder
-
getFeasibilityPolishingDetailsOrBuilderList
public 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;
- Specified by:
getFeasibilityPolishingDetailsOrBuilderList
in interfaceSolveLogOrBuilder
-
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;
-
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;
-
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;
-