public final class IterationStats extends com.google.protobuf.GeneratedMessage implements 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 type
operations_research.pdlp.IterationStats| Modifier and Type | Class and Description |
|---|---|
static class |
IterationStats.Builder
All values in IterationStats assume that the primal quadratic program is a
minimization problem and the dual is a maximization problem.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONVERGENCE_INFORMATION_FIELD_NUMBER |
static int |
CUMULATIVE_KKT_MATRIX_PASSES_FIELD_NUMBER |
static int |
CUMULATIVE_REJECTED_STEPS_FIELD_NUMBER |
static int |
CUMULATIVE_TIME_SEC_FIELD_NUMBER |
static int |
INFEASIBILITY_INFORMATION_FIELD_NUMBER |
static int |
ITERATION_NUMBER_FIELD_NUMBER |
static int |
POINT_METADATA_FIELD_NUMBER |
static int |
PRIMAL_WEIGHT_FIELD_NUMBER |
static int |
RESTART_USED_FIELD_NUMBER |
static int |
STEP_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ConvergenceInformation |
getConvergenceInformation(int index)
A set of statistics measuring how close a point is to establishing primal
and dual feasibility and optimality.
|
int |
getConvergenceInformationCount()
A set of statistics measuring how close a point is to establishing primal
and dual feasibility and optimality.
|
java.util.List<ConvergenceInformation> |
getConvergenceInformationList()
A set of statistics measuring how close a point is to establishing primal
and dual feasibility and optimality.
|
ConvergenceInformationOrBuilder |
getConvergenceInformationOrBuilder(int index)
A set of statistics measuring how close a point is to establishing primal
and dual feasibility and optimality.
|
java.util.List<? extends ConvergenceInformationOrBuilder> |
getConvergenceInformationOrBuilderList()
A set of statistics measuring how close a point is to establishing primal
and dual feasibility and optimality.
|
double |
getCumulativeKktMatrixPasses()
The cumulative number of passes through the KKT matrix since the start of
the solve.
|
int |
getCumulativeRejectedSteps()
The total number of rejected steps (e.g., within a line search procedure)
since the start of the solve.
|
double |
getCumulativeTimeSec()
The amount of time passed since we started solving the problem (see solver
log `solve_time_sec` which records total time).
|
static IterationStats |
getDefaultInstance() |
IterationStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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).
|
int |
getInfeasibilityInformationCount()
A set of statistics measuring how close a point is to establishing primal
or dual infeasibility (i.e., has no solution).
|
java.util.List<InfeasibilityInformation> |
getInfeasibilityInformationList()
A set of statistics measuring how close a point is to establishing primal
or dual infeasibility (i.e., has no solution).
|
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).
|
java.util.List<? extends InfeasibilityInformationOrBuilder> |
getInfeasibilityInformationOrBuilderList()
A set of statistics measuring how close a point is to establishing primal
or dual infeasibility (i.e., has no solution).
|
int |
getIterationNumber()
The iteration number at which these stats were recorded.
|
com.google.protobuf.Parser<IterationStats> |
getParserForType() |
PointMetadata |
getPointMetadata(int index)
Auxiliary statistics for each type of point.
|
int |
getPointMetadataCount()
Auxiliary statistics for each type of point.
|
java.util.List<PointMetadata> |
getPointMetadataList()
Auxiliary statistics for each type of point.
|
PointMetadataOrBuilder |
getPointMetadataOrBuilder(int index)
Auxiliary statistics for each type of point.
|
java.util.List<? extends PointMetadataOrBuilder> |
getPointMetadataOrBuilderList()
Auxiliary statistics for each type of point.
|
double |
getPrimalWeight()
Primal weight controlling the relation between primal and dual step sizes.
|
RestartChoice |
getRestartUsed()
The kind of restart that occurred at this iteration, or NO_RESTART if a
restart did not occur.
|
int |
getSerializedSize() |
double |
getStepSize()
Step size used at this iteration.
|
boolean |
hasCumulativeKktMatrixPasses()
The cumulative number of passes through the KKT matrix since the start of
the solve.
|
boolean |
hasCumulativeRejectedSteps()
The total number of rejected steps (e.g., within a line search procedure)
since the start of the solve.
|
boolean |
hasCumulativeTimeSec()
The amount of time passed since we started solving the problem (see solver
log `solve_time_sec` which records total time).
|
int |
hashCode() |
boolean |
hasIterationNumber()
The iteration number at which these stats were recorded.
|
boolean |
hasPrimalWeight()
Primal weight controlling the relation between primal and dual step sizes.
|
boolean |
hasRestartUsed()
The kind of restart that occurred at this iteration, or NO_RESTART if a
restart did not occur.
|
boolean |
hasStepSize()
Step size used at this iteration.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IterationStats.Builder |
newBuilder() |
static IterationStats.Builder |
newBuilder(IterationStats prototype) |
IterationStats.Builder |
newBuilderForType() |
protected IterationStats.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static IterationStats |
parseDelimitedFrom(java.io.InputStream input) |
static IterationStats |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IterationStats |
parseFrom(byte[] data) |
static IterationStats |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IterationStats |
parseFrom(java.nio.ByteBuffer data) |
static IterationStats |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IterationStats |
parseFrom(com.google.protobuf.ByteString data) |
static IterationStats |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IterationStats |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IterationStats |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IterationStats |
parseFrom(java.io.InputStream input) |
static IterationStats |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IterationStats> |
parser() |
IterationStats.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ITERATION_NUMBER_FIELD_NUMBER
public static final int CONVERGENCE_INFORMATION_FIELD_NUMBER
public static final int INFEASIBILITY_INFORMATION_FIELD_NUMBER
public static final int POINT_METADATA_FIELD_NUMBER
public static final int CUMULATIVE_KKT_MATRIX_PASSES_FIELD_NUMBER
public static final int CUMULATIVE_REJECTED_STEPS_FIELD_NUMBER
public static final int CUMULATIVE_TIME_SEC_FIELD_NUMBER
public static final int RESTART_USED_FIELD_NUMBER
public static final int STEP_SIZE_FIELD_NUMBER
public static final int PRIMAL_WEIGHT_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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;hasIterationNumber in interface IterationStatsOrBuilderpublic 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;getIterationNumber in interface IterationStatsOrBuilderpublic java.util.List<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;getConvergenceInformationList in interface IterationStatsOrBuilderpublic java.util.List<? extends 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;getConvergenceInformationOrBuilderList in interface IterationStatsOrBuilderpublic 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;getConvergenceInformationCount in interface IterationStatsOrBuilderpublic 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;getConvergenceInformation in interface IterationStatsOrBuilderpublic 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;getConvergenceInformationOrBuilder in interface IterationStatsOrBuilderpublic java.util.List<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;getInfeasibilityInformationList in interface IterationStatsOrBuilderpublic java.util.List<? extends 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;getInfeasibilityInformationOrBuilderList in interface IterationStatsOrBuilderpublic 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;getInfeasibilityInformationCount in interface IterationStatsOrBuilderpublic 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;getInfeasibilityInformation in interface IterationStatsOrBuilderpublic 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;getInfeasibilityInformationOrBuilder in interface IterationStatsOrBuilderpublic java.util.List<PointMetadata> getPointMetadataList()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;getPointMetadataList in interface IterationStatsOrBuilderpublic java.util.List<? extends PointMetadataOrBuilder> getPointMetadataOrBuilderList()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;getPointMetadataOrBuilderList in interface IterationStatsOrBuilderpublic int getPointMetadataCount()
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;getPointMetadataCount in interface IterationStatsOrBuilderpublic PointMetadata getPointMetadata(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;getPointMetadata in interface IterationStatsOrBuilderpublic PointMetadataOrBuilder getPointMetadataOrBuilder(int index)
Auxiliary statistics for each type of point.
repeated .operations_research.pdlp.PointMetadata point_metadata = 11;getPointMetadataOrBuilder in interface IterationStatsOrBuilderpublic 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;hasCumulativeKktMatrixPasses in interface IterationStatsOrBuilderpublic 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;getCumulativeKktMatrixPasses in interface IterationStatsOrBuilderpublic 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;hasCumulativeRejectedSteps in interface IterationStatsOrBuilderpublic 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;getCumulativeRejectedSteps in interface IterationStatsOrBuilderpublic 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;hasCumulativeTimeSec in interface IterationStatsOrBuilderpublic 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;getCumulativeTimeSec in interface IterationStatsOrBuilderpublic 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;hasRestartUsed in interface IterationStatsOrBuilderpublic 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;getRestartUsed in interface IterationStatsOrBuilderpublic 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;hasStepSize in interface IterationStatsOrBuilderpublic 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;getStepSize in interface IterationStatsOrBuilderpublic 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;hasPrimalWeight in interface IterationStatsOrBuilderpublic 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;getPrimalWeight in interface IterationStatsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static IterationStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IterationStats parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IterationStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IterationStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IterationStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IterationStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IterationStats parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IterationStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IterationStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IterationStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IterationStats parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IterationStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic IterationStats.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static IterationStats.Builder newBuilder()
public static IterationStats.Builder newBuilder(IterationStats prototype)
public IterationStats.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected IterationStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static IterationStats getDefaultInstance()
public static com.google.protobuf.Parser<IterationStats> parser()
public com.google.protobuf.Parser<IterationStats> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic IterationStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.