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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFeasibilityPolishingDetails(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.intIf 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.ByteStringThe name of the optimization problem.intThe 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.intA 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.doubleTime 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.doubleThe runtime of the solve.The reason that the solve terminated.Optional extra information about the termination reason.com.google.protobuf.ByteStringOptional extra information about the termination reason.booleanThe name of the optimization problem.booleanThe total number of iterations during the solve.booleanStatistics of the original problem.booleanIf solved with PDLP, the parameters for this solve.booleanStatistics of the problem after preprocessing.booleanTime for preprocessing (everything before iteration 0).booleanThe `IterationStats` for the final iteration of the solver.booleanThe type of the output point that the solver returned.booleanThe runtime of the solve.booleanThe reason that the solve terminated.booleanOptional extra information about the termination reason.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SolveLog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SolveLog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasInstanceNamein interfaceSolveLogOrBuilder- Returns:
- Whether the instanceName field is set.
-
getInstanceName
The name of the optimization problem.
optional string instance_name = 1;- Specified by:
getInstanceNamein interfaceSolveLogOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()The name of the optimization problem.
optional string instance_name = 1;- Specified by:
getInstanceNameBytesin 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:
hasParamsin 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:
getParamsin 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:
getParamsOrBuilderin interfaceSolveLogOrBuilder
-
hasTerminationReason
public boolean hasTerminationReason()The reason that the solve terminated.
optional .operations_research.pdlp.TerminationReason termination_reason = 3;- Specified by:
hasTerminationReasonin 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:
getTerminationReasonin 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:
hasTerminationStringin interfaceSolveLogOrBuilder- Returns:
- Whether the terminationString field is set.
-
getTerminationString
Optional extra information about the termination reason.
optional string termination_string = 4;- Specified by:
getTerminationStringin 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:
getTerminationStringBytesin 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:
hasIterationCountin 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:
getIterationCountin 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:
hasPreprocessingTimeSecin 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:
getPreprocessingTimeSecin 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:
hasSolveTimeSecin 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:
getSolveTimeSecin 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:
hasSolutionStatsin 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:
getSolutionStatsin 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:
getSolutionStatsOrBuilderin 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:
hasSolutionTypein 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:
getSolutionTypein 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:
getIterationStatsListin 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:
getIterationStatsCountin 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:
getIterationStatsin 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:
getIterationStatsOrBuilderin 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:
getIterationStatsOrBuilderListin 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:
hasOriginalProblemStatsin 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:
getOriginalProblemStatsin 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:
getOriginalProblemStatsOrBuilderin interfaceSolveLogOrBuilder
-
hasPreprocessedProblemStats
public boolean hasPreprocessedProblemStats()Statistics of the problem after preprocessing.
optional .operations_research.pdlp.QuadraticProgramStats preprocessed_problem_stats = 12;- Specified by:
hasPreprocessedProblemStatsin 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:
getPreprocessedProblemStatsin 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:
getPreprocessedProblemStatsOrBuilderin 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:
getFeasibilityPolishingDetailsListin 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:
getFeasibilityPolishingDetailsCountin 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:
getFeasibilityPolishingDetailsin 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:
getFeasibilityPolishingDetailsOrBuilderin 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:
getFeasibilityPolishingDetailsOrBuilderListin 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;
-