Package operations_research.pdlp
Class SolveLogOuterClass.IterationStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- operations_research.pdlp.SolveLogOuterClass.IterationStats
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,SolveLogOuterClass.IterationStatsOrBuilder
- Enclosing class:
- SolveLogOuterClass
public static final class SolveLogOuterClass.IterationStats extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSolveLogOuterClass.IterationStats.BuilderAll values in IterationStats assume that the primal quadratic program is a minimization problem and the dual is a maximization problem.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONVERGENCE_INFORMATION_FIELD_NUMBERstatic intCUMULATIVE_KKT_MATRIX_PASSES_FIELD_NUMBERstatic intCUMULATIVE_REJECTED_STEPS_FIELD_NUMBERstatic intCUMULATIVE_TIME_SEC_FIELD_NUMBERstatic intINFEASIBILITY_INFORMATION_FIELD_NUMBERstatic intITERATION_NUMBER_FIELD_NUMBERstatic com.google.protobuf.Parser<SolveLogOuterClass.IterationStats>PARSERDeprecated.static intPOINT_METADATA_FIELD_NUMBERstatic intPRIMAL_WEIGHT_FIELD_NUMBERstatic intRESTART_USED_FIELD_NUMBERstatic intSTEP_SIZE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SolveLogOuterClass.ConvergenceInformationgetConvergenceInformation(int index)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).static SolveLogOuterClass.IterationStatsgetDefaultInstance()SolveLogOuterClass.IterationStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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).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.com.google.protobuf.Parser<SolveLogOuterClass.IterationStats>getParserForType()SolveLogOuterClass.PointMetadatagetPointMetadata(int index)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.intgetSerializedSize()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).inthashCode()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()static SolveLogOuterClass.IterationStats.BuildernewBuilder()static SolveLogOuterClass.IterationStats.BuildernewBuilder(SolveLogOuterClass.IterationStats prototype)SolveLogOuterClass.IterationStats.BuildernewBuilderForType()protected SolveLogOuterClass.IterationStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SolveLogOuterClass.IterationStatsparseDelimitedFrom(java.io.InputStream input)static SolveLogOuterClass.IterationStatsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SolveLogOuterClass.IterationStatsparseFrom(byte[] data)static SolveLogOuterClass.IterationStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SolveLogOuterClass.IterationStatsparseFrom(com.google.protobuf.ByteString data)static SolveLogOuterClass.IterationStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SolveLogOuterClass.IterationStatsparseFrom(com.google.protobuf.CodedInputStream input)static SolveLogOuterClass.IterationStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SolveLogOuterClass.IterationStatsparseFrom(java.io.InputStream input)static SolveLogOuterClass.IterationStatsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SolveLogOuterClass.IterationStatsparseFrom(java.nio.ByteBuffer data)static SolveLogOuterClass.IterationStatsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SolveLogOuterClass.IterationStats>parser()SolveLogOuterClass.IterationStats.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ITERATION_NUMBER_FIELD_NUMBER
public static final int ITERATION_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERGENCE_INFORMATION_FIELD_NUMBER
public static final int CONVERGENCE_INFORMATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFEASIBILITY_INFORMATION_FIELD_NUMBER
public static final int INFEASIBILITY_INFORMATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POINT_METADATA_FIELD_NUMBER
public static final int POINT_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUMULATIVE_KKT_MATRIX_PASSES_FIELD_NUMBER
public static final int CUMULATIVE_KKT_MATRIX_PASSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUMULATIVE_REJECTED_STEPS_FIELD_NUMBER
public static final int CUMULATIVE_REJECTED_STEPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUMULATIVE_TIME_SEC_FIELD_NUMBER
public static final int CUMULATIVE_TIME_SEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTART_USED_FIELD_NUMBER
public static final int RESTART_USED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STEP_SIZE_FIELD_NUMBER
public static final int STEP_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMAL_WEIGHT_FIELD_NUMBER
public static final int PRIMAL_WEIGHT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<SolveLogOuterClass.IterationStats> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SolveLogOuterClass.IterationStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SolveLogOuterClass.IterationStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SolveLogOuterClass.IterationStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public SolveLogOuterClass.IterationStats.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SolveLogOuterClass.IterationStats.Builder newBuilder()
-
newBuilder
public static SolveLogOuterClass.IterationStats.Builder newBuilder(SolveLogOuterClass.IterationStats prototype)
-
toBuilder
public SolveLogOuterClass.IterationStats.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SolveLogOuterClass.IterationStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SolveLogOuterClass.IterationStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SolveLogOuterClass.IterationStats> parser()
-
getParserForType
public com.google.protobuf.Parser<SolveLogOuterClass.IterationStats> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SolveLogOuterClass.IterationStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-