Package operations_research.pdlp
Class SolveLogOuterClass.IterationStats.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
- operations_research.pdlp.SolveLogOuterClass.IterationStats.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,SolveLogOuterClass.IterationStatsOrBuilder
- Enclosing class:
- SolveLogOuterClass.IterationStats
public static final class SolveLogOuterClass.IterationStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder> implements SolveLogOuterClass.IterationStatsOrBuilder
All values in IterationStats assume that the primal quadratic program is a minimization problem and the dual is a maximization problem. Problems should be transformed to this form if they are not already in this form. The dual vector is defined to be the vector of multipliers on the linear constraints, that is, excluding dual multipliers on variable bounds (reduced costs).
Protobuf typeoperations_research.pdlp.IterationStats
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SolveLogOuterClass.IterationStats.BuilderaddAllConvergenceInformation(java.lang.Iterable<? extends SolveLogOuterClass.ConvergenceInformation> values)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderaddAllInfeasibilityInformation(java.lang.Iterable<? extends SolveLogOuterClass.InfeasibilityInformation> values)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderaddAllPointMetadata(java.lang.Iterable<? extends SolveLogOuterClass.PointMetadata> values)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuilderaddConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation value)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderaddConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation.Builder builderForValue)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderaddConvergenceInformation(SolveLogOuterClass.ConvergenceInformation value)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderaddConvergenceInformation(SolveLogOuterClass.ConvergenceInformation.Builder builderForValue)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.ConvergenceInformation.BuilderaddConvergenceInformationBuilder()A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.ConvergenceInformation.BuilderaddConvergenceInformationBuilder(int index)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderaddInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation value)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderaddInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation.Builder builderForValue)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderaddInfeasibilityInformation(SolveLogOuterClass.InfeasibilityInformation value)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderaddInfeasibilityInformation(SolveLogOuterClass.InfeasibilityInformation.Builder builderForValue)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.InfeasibilityInformation.BuilderaddInfeasibilityInformationBuilder()A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.InfeasibilityInformation.BuilderaddInfeasibilityInformationBuilder(int index)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderaddPointMetadata(int index, SolveLogOuterClass.PointMetadata value)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuilderaddPointMetadata(int index, SolveLogOuterClass.PointMetadata.Builder builderForValue)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuilderaddPointMetadata(SolveLogOuterClass.PointMetadata value)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuilderaddPointMetadata(SolveLogOuterClass.PointMetadata.Builder builderForValue)Auxiliary statistics for each type of point.SolveLogOuterClass.PointMetadata.BuilderaddPointMetadataBuilder()Auxiliary statistics for each type of point.SolveLogOuterClass.PointMetadata.BuilderaddPointMetadataBuilder(int index)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SolveLogOuterClass.IterationStatsbuild()SolveLogOuterClass.IterationStatsbuildPartial()SolveLogOuterClass.IterationStats.Builderclear()SolveLogOuterClass.IterationStats.BuilderclearConvergenceInformation()A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderclearCumulativeKktMatrixPasses()The cumulative number of passes through the KKT matrix since the start of the solve.SolveLogOuterClass.IterationStats.BuilderclearCumulativeRejectedSteps()The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.SolveLogOuterClass.IterationStats.BuilderclearCumulativeTimeSec()The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).SolveLogOuterClass.IterationStats.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SolveLogOuterClass.IterationStats.BuilderclearInfeasibilityInformation()A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderclearIterationNumber()The iteration number at which these stats were recorded.SolveLogOuterClass.IterationStats.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SolveLogOuterClass.IterationStats.BuilderclearPointMetadata()Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuilderclearPrimalWeight()Primal weight controlling the relation between primal and dual step sizes.SolveLogOuterClass.IterationStats.BuilderclearRestartUsed()The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.SolveLogOuterClass.IterationStats.BuilderclearStepSize()Step size used at this iteration.SolveLogOuterClass.IterationStats.Builderclone()SolveLogOuterClass.ConvergenceInformationgetConvergenceInformation(int index)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.ConvergenceInformation.BuildergetConvergenceInformationBuilder(int index)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.java.util.List<SolveLogOuterClass.ConvergenceInformation.Builder>getConvergenceInformationBuilderList()A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.intgetConvergenceInformationCount()A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.java.util.List<SolveLogOuterClass.ConvergenceInformation>getConvergenceInformationList()A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.ConvergenceInformationOrBuildergetConvergenceInformationOrBuilder(int index)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.java.util.List<? extends SolveLogOuterClass.ConvergenceInformationOrBuilder>getConvergenceInformationOrBuilderList()A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.doublegetCumulativeKktMatrixPasses()The cumulative number of passes through the KKT matrix since the start of the solve.intgetCumulativeRejectedSteps()The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.doublegetCumulativeTimeSec()The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).SolveLogOuterClass.IterationStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()SolveLogOuterClass.InfeasibilityInformationgetInfeasibilityInformation(int index)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.InfeasibilityInformation.BuildergetInfeasibilityInformationBuilder(int index)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).java.util.List<SolveLogOuterClass.InfeasibilityInformation.Builder>getInfeasibilityInformationBuilderList()A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).intgetInfeasibilityInformationCount()A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).java.util.List<SolveLogOuterClass.InfeasibilityInformation>getInfeasibilityInformationList()A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.InfeasibilityInformationOrBuildergetInfeasibilityInformationOrBuilder(int index)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).java.util.List<? extends SolveLogOuterClass.InfeasibilityInformationOrBuilder>getInfeasibilityInformationOrBuilderList()A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).intgetIterationNumber()The iteration number at which these stats were recorded.SolveLogOuterClass.PointMetadatagetPointMetadata(int index)Auxiliary statistics for each type of point.SolveLogOuterClass.PointMetadata.BuildergetPointMetadataBuilder(int index)Auxiliary statistics for each type of point.java.util.List<SolveLogOuterClass.PointMetadata.Builder>getPointMetadataBuilderList()Auxiliary statistics for each type of point.intgetPointMetadataCount()Auxiliary statistics for each type of point.java.util.List<SolveLogOuterClass.PointMetadata>getPointMetadataList()Auxiliary statistics for each type of point.SolveLogOuterClass.PointMetadataOrBuildergetPointMetadataOrBuilder(int index)Auxiliary statistics for each type of point.java.util.List<? extends SolveLogOuterClass.PointMetadataOrBuilder>getPointMetadataOrBuilderList()Auxiliary statistics for each type of point.doublegetPrimalWeight()Primal weight controlling the relation between primal and dual step sizes.SolveLogOuterClass.RestartChoicegetRestartUsed()The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.doublegetStepSize()Step size used at this iteration.booleanhasCumulativeKktMatrixPasses()The cumulative number of passes through the KKT matrix since the start of the solve.booleanhasCumulativeRejectedSteps()The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.booleanhasCumulativeTimeSec()The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).booleanhasIterationNumber()The iteration number at which these stats were recorded.booleanhasPrimalWeight()Primal weight controlling the relation between primal and dual step sizes.booleanhasRestartUsed()The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.booleanhasStepSize()Step size used at this iteration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SolveLogOuterClass.IterationStats.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SolveLogOuterClass.IterationStats.BuildermergeFrom(com.google.protobuf.Message other)SolveLogOuterClass.IterationStats.BuildermergeFrom(SolveLogOuterClass.IterationStats other)SolveLogOuterClass.IterationStats.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SolveLogOuterClass.IterationStats.BuilderremoveConvergenceInformation(int index)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuilderremoveInfeasibilityInformation(int index)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuilderremovePointMetadata(int index)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuildersetConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation value)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuildersetConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation.Builder builderForValue)A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality.SolveLogOuterClass.IterationStats.BuildersetCumulativeKktMatrixPasses(double value)The cumulative number of passes through the KKT matrix since the start of the solve.SolveLogOuterClass.IterationStats.BuildersetCumulativeRejectedSteps(int value)The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.SolveLogOuterClass.IterationStats.BuildersetCumulativeTimeSec(double value)The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).SolveLogOuterClass.IterationStats.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SolveLogOuterClass.IterationStats.BuildersetInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation value)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuildersetInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation.Builder builderForValue)A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution).SolveLogOuterClass.IterationStats.BuildersetIterationNumber(int value)The iteration number at which these stats were recorded.SolveLogOuterClass.IterationStats.BuildersetPointMetadata(int index, SolveLogOuterClass.PointMetadata value)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuildersetPointMetadata(int index, SolveLogOuterClass.PointMetadata.Builder builderForValue)Auxiliary statistics for each type of point.SolveLogOuterClass.IterationStats.BuildersetPrimalWeight(double value)Primal weight controlling the relation between primal and dual step sizes.SolveLogOuterClass.IterationStats.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SolveLogOuterClass.IterationStats.BuildersetRestartUsed(SolveLogOuterClass.RestartChoice value)The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.SolveLogOuterClass.IterationStats.BuildersetStepSize(double value)Step size used at this iteration.SolveLogOuterClass.IterationStats.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
clear
public SolveLogOuterClass.IterationStats.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.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.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
getDefaultInstanceForType
public SolveLogOuterClass.IterationStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SolveLogOuterClass.IterationStats build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SolveLogOuterClass.IterationStats buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SolveLogOuterClass.IterationStats.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
setField
public SolveLogOuterClass.IterationStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
clearField
public SolveLogOuterClass.IterationStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
clearOneof
public SolveLogOuterClass.IterationStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
setRepeatedField
public SolveLogOuterClass.IterationStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
addRepeatedField
public SolveLogOuterClass.IterationStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
mergeFrom
public SolveLogOuterClass.IterationStats.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SolveLogOuterClass.IterationStats.Builder>
-
mergeFrom
public SolveLogOuterClass.IterationStats.Builder mergeFrom(SolveLogOuterClass.IterationStats other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
mergeFrom
public SolveLogOuterClass.IterationStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SolveLogOuterClass.IterationStats.Builder>- Throws:
java.io.IOException
-
hasIterationNumber
public boolean hasIterationNumber()
The iteration number at which these stats were recorded. By convention, iteration counts start at 1, and the stats correspond to the solution *after* the iteration. Therefore stats from iteration 0 are the stats at the starting point.
optional int32 iteration_number = 1;- Specified by:
hasIterationNumberin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the iterationNumber field is set.
-
getIterationNumber
public int getIterationNumber()
The iteration number at which these stats were recorded. By convention, iteration counts start at 1, and the stats correspond to the solution *after* the iteration. Therefore stats from iteration 0 are the stats at the starting point.
optional int32 iteration_number = 1;- Specified by:
getIterationNumberin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The iterationNumber.
-
setIterationNumber
public SolveLogOuterClass.IterationStats.Builder setIterationNumber(int value)
The iteration number at which these stats were recorded. By convention, iteration counts start at 1, and the stats correspond to the solution *after* the iteration. Therefore stats from iteration 0 are the stats at the starting point.
optional int32 iteration_number = 1;- Parameters:
value- The iterationNumber to set.- Returns:
- This builder for chaining.
-
clearIterationNumber
public SolveLogOuterClass.IterationStats.Builder clearIterationNumber()
The iteration number at which these stats were recorded. By convention, iteration counts start at 1, and the stats correspond to the solution *after* the iteration. Therefore stats from iteration 0 are the stats at the starting point.
optional int32 iteration_number = 1;- Returns:
- This builder for chaining.
-
getConvergenceInformationList
public java.util.List<SolveLogOuterClass.ConvergenceInformation> getConvergenceInformationList()
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;- Specified by:
getConvergenceInformationListin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getConvergenceInformationCount
public int getConvergenceInformationCount()
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;- Specified by:
getConvergenceInformationCountin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getConvergenceInformation
public SolveLogOuterClass.ConvergenceInformation getConvergenceInformation(int index)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;- Specified by:
getConvergenceInformationin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
setConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder setConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation value)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
setConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder setConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation.Builder builderForValue)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
addConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder addConvergenceInformation(SolveLogOuterClass.ConvergenceInformation value)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
addConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder addConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation value)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
addConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder addConvergenceInformation(SolveLogOuterClass.ConvergenceInformation.Builder builderForValue)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
addConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder addConvergenceInformation(int index, SolveLogOuterClass.ConvergenceInformation.Builder builderForValue)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
addAllConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder addAllConvergenceInformation(java.lang.Iterable<? extends SolveLogOuterClass.ConvergenceInformation> values)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
clearConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder clearConvergenceInformation()
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
removeConvergenceInformation
public SolveLogOuterClass.IterationStats.Builder removeConvergenceInformation(int index)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
getConvergenceInformationBuilder
public SolveLogOuterClass.ConvergenceInformation.Builder getConvergenceInformationBuilder(int index)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
getConvergenceInformationOrBuilder
public SolveLogOuterClass.ConvergenceInformationOrBuilder getConvergenceInformationOrBuilder(int index)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;- Specified by:
getConvergenceInformationOrBuilderin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getConvergenceInformationOrBuilderList
public java.util.List<? extends SolveLogOuterClass.ConvergenceInformationOrBuilder> getConvergenceInformationOrBuilderList()
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;- Specified by:
getConvergenceInformationOrBuilderListin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
addConvergenceInformationBuilder
public SolveLogOuterClass.ConvergenceInformation.Builder addConvergenceInformationBuilder()
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
addConvergenceInformationBuilder
public SolveLogOuterClass.ConvergenceInformation.Builder addConvergenceInformationBuilder(int index)
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
getConvergenceInformationBuilderList
public java.util.List<SolveLogOuterClass.ConvergenceInformation.Builder> getConvergenceInformationBuilderList()
A set of statistics measuring how close a point is to establishing primal and dual feasibility and optimality. This field is repeated since there might be several different points that are considered.
repeated .operations_research.pdlp.ConvergenceInformation convergence_information = 2;
-
getInfeasibilityInformationList
public java.util.List<SolveLogOuterClass.InfeasibilityInformation> getInfeasibilityInformationList()
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;- Specified by:
getInfeasibilityInformationListin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getInfeasibilityInformationCount
public int getInfeasibilityInformationCount()
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;- Specified by:
getInfeasibilityInformationCountin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getInfeasibilityInformation
public SolveLogOuterClass.InfeasibilityInformation getInfeasibilityInformation(int index)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;- Specified by:
getInfeasibilityInformationin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
setInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder setInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation value)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
setInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder setInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation.Builder builderForValue)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
addInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder addInfeasibilityInformation(SolveLogOuterClass.InfeasibilityInformation value)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
addInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder addInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation value)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
addInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder addInfeasibilityInformation(SolveLogOuterClass.InfeasibilityInformation.Builder builderForValue)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
addInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder addInfeasibilityInformation(int index, SolveLogOuterClass.InfeasibilityInformation.Builder builderForValue)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
addAllInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder addAllInfeasibilityInformation(java.lang.Iterable<? extends SolveLogOuterClass.InfeasibilityInformation> values)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
clearInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder clearInfeasibilityInformation()
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
removeInfeasibilityInformation
public SolveLogOuterClass.IterationStats.Builder removeInfeasibilityInformation(int index)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
getInfeasibilityInformationBuilder
public SolveLogOuterClass.InfeasibilityInformation.Builder getInfeasibilityInformationBuilder(int index)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
getInfeasibilityInformationOrBuilder
public SolveLogOuterClass.InfeasibilityInformationOrBuilder getInfeasibilityInformationOrBuilder(int index)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;- Specified by:
getInfeasibilityInformationOrBuilderin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getInfeasibilityInformationOrBuilderList
public java.util.List<? extends SolveLogOuterClass.InfeasibilityInformationOrBuilder> getInfeasibilityInformationOrBuilderList()
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;- Specified by:
getInfeasibilityInformationOrBuilderListin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
addInfeasibilityInformationBuilder
public SolveLogOuterClass.InfeasibilityInformation.Builder addInfeasibilityInformationBuilder()
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
addInfeasibilityInformationBuilder
public SolveLogOuterClass.InfeasibilityInformation.Builder addInfeasibilityInformationBuilder(int index)
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
getInfeasibilityInformationBuilderList
public java.util.List<SolveLogOuterClass.InfeasibilityInformation.Builder> getInfeasibilityInformationBuilderList()
A set of statistics measuring how close a point is to establishing primal or dual infeasibility (i.e., has no solution). This field is repeated since there might be several different points that could establish infeasibility.
repeated .operations_research.pdlp.InfeasibilityInformation infeasibility_information = 3;
-
getPointMetadataList
public java.util.List<SolveLogOuterClass.PointMetadata> getPointMetadataList()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;- Specified by:
getPointMetadataListin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getPointMetadataCount
public int getPointMetadataCount()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;- Specified by:
getPointMetadataCountin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getPointMetadata
public SolveLogOuterClass.PointMetadata getPointMetadata(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;- Specified by:
getPointMetadatain interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
setPointMetadata
public SolveLogOuterClass.IterationStats.Builder setPointMetadata(int index, SolveLogOuterClass.PointMetadata value)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
setPointMetadata
public SolveLogOuterClass.IterationStats.Builder setPointMetadata(int index, SolveLogOuterClass.PointMetadata.Builder builderForValue)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
addPointMetadata
public SolveLogOuterClass.IterationStats.Builder addPointMetadata(SolveLogOuterClass.PointMetadata value)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
addPointMetadata
public SolveLogOuterClass.IterationStats.Builder addPointMetadata(int index, SolveLogOuterClass.PointMetadata value)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
addPointMetadata
public SolveLogOuterClass.IterationStats.Builder addPointMetadata(SolveLogOuterClass.PointMetadata.Builder builderForValue)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
addPointMetadata
public SolveLogOuterClass.IterationStats.Builder addPointMetadata(int index, SolveLogOuterClass.PointMetadata.Builder builderForValue)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
addAllPointMetadata
public SolveLogOuterClass.IterationStats.Builder addAllPointMetadata(java.lang.Iterable<? extends SolveLogOuterClass.PointMetadata> values)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
clearPointMetadata
public SolveLogOuterClass.IterationStats.Builder clearPointMetadata()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
removePointMetadata
public SolveLogOuterClass.IterationStats.Builder removePointMetadata(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
getPointMetadataBuilder
public SolveLogOuterClass.PointMetadata.Builder getPointMetadataBuilder(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
getPointMetadataOrBuilder
public SolveLogOuterClass.PointMetadataOrBuilder getPointMetadataOrBuilder(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;- Specified by:
getPointMetadataOrBuilderin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
getPointMetadataOrBuilderList
public java.util.List<? extends SolveLogOuterClass.PointMetadataOrBuilder> getPointMetadataOrBuilderList()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;- Specified by:
getPointMetadataOrBuilderListin interfaceSolveLogOuterClass.IterationStatsOrBuilder
-
addPointMetadataBuilder
public SolveLogOuterClass.PointMetadata.Builder addPointMetadataBuilder()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
addPointMetadataBuilder
public SolveLogOuterClass.PointMetadata.Builder addPointMetadataBuilder(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
getPointMetadataBuilderList
public java.util.List<SolveLogOuterClass.PointMetadata.Builder> getPointMetadataBuilderList()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;
-
hasCumulativeKktMatrixPasses
public boolean hasCumulativeKktMatrixPasses()
The cumulative number of passes through the KKT matrix since the start of the solve. One pass is a multply by the constraint matrix, its transpose and the matrix that defines the quadratic part of the objective. For example, each iteration of mirror saddle prox contributes 2.0 to this sum. This is a float because it can include fractional passes through the data. For example, in an active set method we may only use a submatrix with 20% of the nonzeros of the KKT matrix at each iteration in which case 0.2 would be added to the total.
optional double cumulative_kkt_matrix_passes = 4;- Specified by:
hasCumulativeKktMatrixPassesin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the cumulativeKktMatrixPasses field is set.
-
getCumulativeKktMatrixPasses
public double getCumulativeKktMatrixPasses()
The cumulative number of passes through the KKT matrix since the start of the solve. One pass is a multply by the constraint matrix, its transpose and the matrix that defines the quadratic part of the objective. For example, each iteration of mirror saddle prox contributes 2.0 to this sum. This is a float because it can include fractional passes through the data. For example, in an active set method we may only use a submatrix with 20% of the nonzeros of the KKT matrix at each iteration in which case 0.2 would be added to the total.
optional double cumulative_kkt_matrix_passes = 4;- Specified by:
getCumulativeKktMatrixPassesin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The cumulativeKktMatrixPasses.
-
setCumulativeKktMatrixPasses
public SolveLogOuterClass.IterationStats.Builder setCumulativeKktMatrixPasses(double value)
The cumulative number of passes through the KKT matrix since the start of the solve. One pass is a multply by the constraint matrix, its transpose and the matrix that defines the quadratic part of the objective. For example, each iteration of mirror saddle prox contributes 2.0 to this sum. This is a float because it can include fractional passes through the data. For example, in an active set method we may only use a submatrix with 20% of the nonzeros of the KKT matrix at each iteration in which case 0.2 would be added to the total.
optional double cumulative_kkt_matrix_passes = 4;- Parameters:
value- The cumulativeKktMatrixPasses to set.- Returns:
- This builder for chaining.
-
clearCumulativeKktMatrixPasses
public SolveLogOuterClass.IterationStats.Builder clearCumulativeKktMatrixPasses()
The cumulative number of passes through the KKT matrix since the start of the solve. One pass is a multply by the constraint matrix, its transpose and the matrix that defines the quadratic part of the objective. For example, each iteration of mirror saddle prox contributes 2.0 to this sum. This is a float because it can include fractional passes through the data. For example, in an active set method we may only use a submatrix with 20% of the nonzeros of the KKT matrix at each iteration in which case 0.2 would be added to the total.
optional double cumulative_kkt_matrix_passes = 4;- Returns:
- This builder for chaining.
-
hasCumulativeRejectedSteps
public boolean hasCumulativeRejectedSteps()
The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.
optional int32 cumulative_rejected_steps = 5;- Specified by:
hasCumulativeRejectedStepsin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the cumulativeRejectedSteps field is set.
-
getCumulativeRejectedSteps
public int getCumulativeRejectedSteps()
The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.
optional int32 cumulative_rejected_steps = 5;- Specified by:
getCumulativeRejectedStepsin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The cumulativeRejectedSteps.
-
setCumulativeRejectedSteps
public SolveLogOuterClass.IterationStats.Builder setCumulativeRejectedSteps(int value)
The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.
optional int32 cumulative_rejected_steps = 5;- Parameters:
value- The cumulativeRejectedSteps to set.- Returns:
- This builder for chaining.
-
clearCumulativeRejectedSteps
public SolveLogOuterClass.IterationStats.Builder clearCumulativeRejectedSteps()
The total number of rejected steps (e.g., within a line search procedure) since the start of the solve.
optional int32 cumulative_rejected_steps = 5;- Returns:
- This builder for chaining.
-
hasCumulativeTimeSec
public boolean hasCumulativeTimeSec()
The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).
optional double cumulative_time_sec = 6;- Specified by:
hasCumulativeTimeSecin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the cumulativeTimeSec field is set.
-
getCumulativeTimeSec
public double getCumulativeTimeSec()
The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).
optional double cumulative_time_sec = 6;- Specified by:
getCumulativeTimeSecin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The cumulativeTimeSec.
-
setCumulativeTimeSec
public SolveLogOuterClass.IterationStats.Builder setCumulativeTimeSec(double value)
The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).
optional double cumulative_time_sec = 6;- Parameters:
value- The cumulativeTimeSec to set.- Returns:
- This builder for chaining.
-
clearCumulativeTimeSec
public SolveLogOuterClass.IterationStats.Builder clearCumulativeTimeSec()
The amount of time passed since we started solving the problem (see solver log `solve_time_sec` which records total time).
optional double cumulative_time_sec = 6;- Returns:
- This builder for chaining.
-
hasRestartUsed
public boolean hasRestartUsed()
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
optional .operations_research.pdlp.RestartChoice restart_used = 7;- Specified by:
hasRestartUsedin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the restartUsed field is set.
-
getRestartUsed
public SolveLogOuterClass.RestartChoice getRestartUsed()
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
optional .operations_research.pdlp.RestartChoice restart_used = 7;- Specified by:
getRestartUsedin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The restartUsed.
-
setRestartUsed
public SolveLogOuterClass.IterationStats.Builder setRestartUsed(SolveLogOuterClass.RestartChoice value)
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
optional .operations_research.pdlp.RestartChoice restart_used = 7;- Parameters:
value- The restartUsed to set.- Returns:
- This builder for chaining.
-
clearRestartUsed
public SolveLogOuterClass.IterationStats.Builder clearRestartUsed()
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
optional .operations_research.pdlp.RestartChoice restart_used = 7;- Returns:
- This builder for chaining.
-
hasStepSize
public boolean hasStepSize()
Step size used at this iteration. Note that the step size used for the primal update is step_size / primal_weight, while the one used for the dual update is step_size * primal_weight.
optional double step_size = 8;- Specified by:
hasStepSizein interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the stepSize field is set.
-
getStepSize
public double getStepSize()
Step size used at this iteration. Note that the step size used for the primal update is step_size / primal_weight, while the one used for the dual update is step_size * primal_weight.
optional double step_size = 8;- Specified by:
getStepSizein interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The stepSize.
-
setStepSize
public SolveLogOuterClass.IterationStats.Builder setStepSize(double value)
Step size used at this iteration. Note that the step size used for the primal update is step_size / primal_weight, while the one used for the dual update is step_size * primal_weight.
optional double step_size = 8;- Parameters:
value- The stepSize to set.- Returns:
- This builder for chaining.
-
clearStepSize
public SolveLogOuterClass.IterationStats.Builder clearStepSize()
Step size used at this iteration. Note that the step size used for the primal update is step_size / primal_weight, while the one used for the dual update is step_size * primal_weight.
optional double step_size = 8;- Returns:
- This builder for chaining.
-
hasPrimalWeight
public boolean hasPrimalWeight()
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;- Specified by:
hasPrimalWeightin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- Whether the primalWeight field is set.
-
getPrimalWeight
public double getPrimalWeight()
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;- Specified by:
getPrimalWeightin interfaceSolveLogOuterClass.IterationStatsOrBuilder- Returns:
- The primalWeight.
-
setPrimalWeight
public SolveLogOuterClass.IterationStats.Builder setPrimalWeight(double value)
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;- Parameters:
value- The primalWeight to set.- Returns:
- This builder for chaining.
-
clearPrimalWeight
public SolveLogOuterClass.IterationStats.Builder clearPrimalWeight()
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for a detailed description.
optional double primal_weight = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
public final SolveLogOuterClass.IterationStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
mergeUnknownFields
public final SolveLogOuterClass.IterationStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SolveLogOuterClass.IterationStats.Builder>
-
-