Class QuadraticProgramStats
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ortools.pdlp.QuadraticProgramStats
- All Implemented Interfaces:
QuadraticProgramStatsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class QuadraticProgramStats
extends com.google.protobuf.GeneratedMessage
implements QuadraticProgramStatsOrBuilder
Easy-to-compute statistics for the quadratic program.Protobuf type
operations_research.pdlp.QuadraticProgramStats- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEasy-to-compute statistics for the quadratic program.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleoptional double combined_bounds_avg = 11;doubleoptional double combined_bounds_l2_norm = 24;doubleStatistics of the combined vector of the constraint lower and upper bounds.doubleoptional double combined_bounds_min = 10;doubleoptional double combined_variable_bounds_avg = 30;doubleoptional double combined_variable_bounds_l2_norm = 31;doubleStatistics of the combined vector of the variable lower and upper bounds.doubleoptional double combined_variable_bounds_min = 29;doubleoptional double constraint_matrix_abs_avg = 8;doubleMax/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix.doubleoptional double constraint_matrix_abs_min = 7;doubleMinimum row and column infinity norms of the constraint matrix.doubleoptional double constraint_matrix_l2_norm = 25;longThe number of (finite) nonzero entries in the constraint matrix.doubleoptional double constraint_matrix_row_min_l_inf_norm = 4;static QuadraticProgramStatsstatic final com.google.protobuf.Descriptors.Descriptorlongoptional int64 num_constraints = 2;longoptional int64 num_variables = 1;doubleoptional double objective_matrix_abs_avg = 22;doubleMax/min/mean/l2_norm of absolute values of elements of the objective matrix.doubleoptional double objective_matrix_abs_min = 21;doubleoptional double objective_matrix_l2_norm = 27;longoptional int64 objective_matrix_num_nonzeros = 19;doubleoptional double objective_vector_abs_avg = 18;doubleStatistics of the objective vector.doubleoptional double objective_vector_abs_min = 17;doubleoptional double objective_vector_l2_norm = 23;com.google.protobuf.Parser<QuadraticProgramStats> intdoubleoptional double variable_bound_gaps_avg = 15;doubleoptional double variable_bound_gaps_l2_norm = 26;doubleMax/min/mean/l2_norm over all finite variable bound gaps.doubleoptional double variable_bound_gaps_min = 14;longNumber of finite variable bound gaps, which are the elementwise difference between the upper and lower bounds on primal feasible solutions.booleanoptional double combined_bounds_avg = 11;booleanoptional double combined_bounds_l2_norm = 24;booleanStatistics of the combined vector of the constraint lower and upper bounds.booleanoptional double combined_bounds_min = 10;booleanoptional double combined_variable_bounds_avg = 30;booleanoptional double combined_variable_bounds_l2_norm = 31;booleanStatistics of the combined vector of the variable lower and upper bounds.booleanoptional double combined_variable_bounds_min = 29;booleanoptional double constraint_matrix_abs_avg = 8;booleanMax/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix.booleanoptional double constraint_matrix_abs_min = 7;booleanMinimum row and column infinity norms of the constraint matrix.booleanoptional double constraint_matrix_l2_norm = 25;booleanThe number of (finite) nonzero entries in the constraint matrix.booleanoptional double constraint_matrix_row_min_l_inf_norm = 4;inthashCode()booleanoptional int64 num_constraints = 2;booleanoptional int64 num_variables = 1;booleanoptional double objective_matrix_abs_avg = 22;booleanMax/min/mean/l2_norm of absolute values of elements of the objective matrix.booleanoptional double objective_matrix_abs_min = 21;booleanoptional double objective_matrix_l2_norm = 27;booleanoptional int64 objective_matrix_num_nonzeros = 19;booleanoptional double objective_vector_abs_avg = 18;booleanStatistics of the objective vector.booleanoptional double objective_vector_abs_min = 17;booleanoptional double objective_vector_l2_norm = 23;booleanoptional double variable_bound_gaps_avg = 15;booleanoptional double variable_bound_gaps_l2_norm = 26;booleanMax/min/mean/l2_norm over all finite variable bound gaps.booleanoptional double variable_bound_gaps_min = 14;booleanNumber of finite variable bound gaps, which are the elementwise difference between the upper and lower bounds on primal feasible solutions.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(QuadraticProgramStats prototype) protected QuadraticProgramStats.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static QuadraticProgramStatsparseDelimitedFrom(InputStream input) static QuadraticProgramStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStatsparseFrom(byte[] data) static QuadraticProgramStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStatsparseFrom(com.google.protobuf.ByteString data) static QuadraticProgramStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStatsparseFrom(com.google.protobuf.CodedInputStream input) static QuadraticProgramStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStatsparseFrom(InputStream input) static QuadraticProgramStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStatsparseFrom(ByteBuffer data) static QuadraticProgramStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QuadraticProgramStats> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NUM_VARIABLES_FIELD_NUMBER
public static final int NUM_VARIABLES_FIELD_NUMBER- See Also:
-
NUM_CONSTRAINTS_FIELD_NUMBER
public static final int NUM_CONSTRAINTS_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_COL_MIN_L_INF_NORM_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_COL_MIN_L_INF_NORM_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_ROW_MIN_L_INF_NORM_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_ROW_MIN_L_INF_NORM_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_NUM_NONZEROS_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_NUM_NONZEROS_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_ABS_MAX_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_ABS_MIN_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_ABS_AVG_FIELD_NUMBER- See Also:
-
CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER
public static final int CONSTRAINT_MATRIX_L2_NORM_FIELD_NUMBER- See Also:
-
COMBINED_BOUNDS_MAX_FIELD_NUMBER
public static final int COMBINED_BOUNDS_MAX_FIELD_NUMBER- See Also:
-
COMBINED_BOUNDS_MIN_FIELD_NUMBER
public static final int COMBINED_BOUNDS_MIN_FIELD_NUMBER- See Also:
-
COMBINED_BOUNDS_AVG_FIELD_NUMBER
public static final int COMBINED_BOUNDS_AVG_FIELD_NUMBER- See Also:
-
COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER
public static final int COMBINED_BOUNDS_L2_NORM_FIELD_NUMBER- See Also:
-
COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER
public static final int COMBINED_VARIABLE_BOUNDS_MAX_FIELD_NUMBER- See Also:
-
COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER
public static final int COMBINED_VARIABLE_BOUNDS_MIN_FIELD_NUMBER- See Also:
-
COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER
public static final int COMBINED_VARIABLE_BOUNDS_AVG_FIELD_NUMBER- See Also:
-
COMBINED_VARIABLE_BOUNDS_L2_NORM_FIELD_NUMBER
public static final int COMBINED_VARIABLE_BOUNDS_L2_NORM_FIELD_NUMBER- See Also:
-
VARIABLE_BOUND_GAPS_NUM_FINITE_FIELD_NUMBER
public static final int VARIABLE_BOUND_GAPS_NUM_FINITE_FIELD_NUMBER- See Also:
-
VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER
public static final int VARIABLE_BOUND_GAPS_MAX_FIELD_NUMBER- See Also:
-
VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER
public static final int VARIABLE_BOUND_GAPS_MIN_FIELD_NUMBER- See Also:
-
VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER
public static final int VARIABLE_BOUND_GAPS_AVG_FIELD_NUMBER- See Also:
-
VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER
public static final int VARIABLE_BOUND_GAPS_L2_NORM_FIELD_NUMBER- See Also:
-
OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER
public static final int OBJECTIVE_VECTOR_ABS_MAX_FIELD_NUMBER- See Also:
-
OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER
public static final int OBJECTIVE_VECTOR_ABS_MIN_FIELD_NUMBER- See Also:
-
OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER
public static final int OBJECTIVE_VECTOR_ABS_AVG_FIELD_NUMBER- See Also:
-
OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER
public static final int OBJECTIVE_VECTOR_L2_NORM_FIELD_NUMBER- See Also:
-
OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER
public static final int OBJECTIVE_MATRIX_NUM_NONZEROS_FIELD_NUMBER- See Also:
-
OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER
public static final int OBJECTIVE_MATRIX_ABS_MAX_FIELD_NUMBER- See Also:
-
OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER
public static final int OBJECTIVE_MATRIX_ABS_MIN_FIELD_NUMBER- See Also:
-
OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER
public static final int OBJECTIVE_MATRIX_ABS_AVG_FIELD_NUMBER- See Also:
-
OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER
public static final int OBJECTIVE_MATRIX_L2_NORM_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasNumVariables
public boolean hasNumVariables()optional int64 num_variables = 1;- Specified by:
hasNumVariablesin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the numVariables field is set.
-
getNumVariables
public long getNumVariables()optional int64 num_variables = 1;- Specified by:
getNumVariablesin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The numVariables.
-
hasNumConstraints
public boolean hasNumConstraints()optional int64 num_constraints = 2;- Specified by:
hasNumConstraintsin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the numConstraints field is set.
-
getNumConstraints
public long getNumConstraints()optional int64 num_constraints = 2;- Specified by:
getNumConstraintsin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The numConstraints.
-
hasConstraintMatrixColMinLInfNorm
public boolean hasConstraintMatrixColMinLInfNorm()Minimum row and column infinity norms of the constraint matrix. All-zero rows and columns are excluded. If the constraint matrix contains no nonzero entries, the values returned are 0.0.
optional double constraint_matrix_col_min_l_inf_norm = 3;- Specified by:
hasConstraintMatrixColMinLInfNormin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixColMinLInfNorm field is set.
-
getConstraintMatrixColMinLInfNorm
public double getConstraintMatrixColMinLInfNorm()Minimum row and column infinity norms of the constraint matrix. All-zero rows and columns are excluded. If the constraint matrix contains no nonzero entries, the values returned are 0.0.
optional double constraint_matrix_col_min_l_inf_norm = 3;- Specified by:
getConstraintMatrixColMinLInfNormin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixColMinLInfNorm.
-
hasConstraintMatrixRowMinLInfNorm
public boolean hasConstraintMatrixRowMinLInfNorm()optional double constraint_matrix_row_min_l_inf_norm = 4;- Specified by:
hasConstraintMatrixRowMinLInfNormin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixRowMinLInfNorm field is set.
-
getConstraintMatrixRowMinLInfNorm
public double getConstraintMatrixRowMinLInfNorm()optional double constraint_matrix_row_min_l_inf_norm = 4;- Specified by:
getConstraintMatrixRowMinLInfNormin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixRowMinLInfNorm.
-
hasConstraintMatrixNumNonzeros
public boolean hasConstraintMatrixNumNonzeros()The number of (finite) nonzero entries in the constraint matrix.
optional int64 constraint_matrix_num_nonzeros = 5;- Specified by:
hasConstraintMatrixNumNonzerosin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixNumNonzeros field is set.
-
getConstraintMatrixNumNonzeros
public long getConstraintMatrixNumNonzeros()The number of (finite) nonzero entries in the constraint matrix.
optional int64 constraint_matrix_num_nonzeros = 5;- Specified by:
getConstraintMatrixNumNonzerosin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixNumNonzeros.
-
hasConstraintMatrixAbsMax
public boolean hasConstraintMatrixAbsMax()Max/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix. Explicit zeros are included in the mean, but excluded from the min. Note that the maximum absolute value is also equal to the maximal row and column infinity norms of the constraint matrix. If the constraint matrix is empty, the values returned are 0.0 for the maximum, minimum, and l2_norm, and NaN for the average.
optional double constraint_matrix_abs_max = 6;- Specified by:
hasConstraintMatrixAbsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixAbsMax field is set.
-
getConstraintMatrixAbsMax
public double getConstraintMatrixAbsMax()Max/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix. Explicit zeros are included in the mean, but excluded from the min. Note that the maximum absolute value is also equal to the maximal row and column infinity norms of the constraint matrix. If the constraint matrix is empty, the values returned are 0.0 for the maximum, minimum, and l2_norm, and NaN for the average.
optional double constraint_matrix_abs_max = 6;- Specified by:
getConstraintMatrixAbsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixAbsMax.
-
hasConstraintMatrixAbsMin
public boolean hasConstraintMatrixAbsMin()optional double constraint_matrix_abs_min = 7;- Specified by:
hasConstraintMatrixAbsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixAbsMin field is set.
-
getConstraintMatrixAbsMin
public double getConstraintMatrixAbsMin()optional double constraint_matrix_abs_min = 7;- Specified by:
getConstraintMatrixAbsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixAbsMin.
-
hasConstraintMatrixAbsAvg
public boolean hasConstraintMatrixAbsAvg()optional double constraint_matrix_abs_avg = 8;- Specified by:
hasConstraintMatrixAbsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixAbsAvg field is set.
-
getConstraintMatrixAbsAvg
public double getConstraintMatrixAbsAvg()optional double constraint_matrix_abs_avg = 8;- Specified by:
getConstraintMatrixAbsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixAbsAvg.
-
hasConstraintMatrixL2Norm
public boolean hasConstraintMatrixL2Norm()optional double constraint_matrix_l2_norm = 25;- Specified by:
hasConstraintMatrixL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the constraintMatrixL2Norm field is set.
-
getConstraintMatrixL2Norm
public double getConstraintMatrixL2Norm()optional double constraint_matrix_l2_norm = 25;- Specified by:
getConstraintMatrixL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The constraintMatrixL2Norm.
-
hasCombinedBoundsMax
public boolean hasCombinedBoundsMax()Statistics of the combined vector of the constraint lower and upper bounds. Given parallel lower and upper bounds vectors, the "combined bounds" vector takes the maximum absolute value of each pair of bounds, ignoring all non- finite values. The comment in solvers.proto:TerminationCriteria provides an example of the combined bounds vector. The min is over the nonzero combined bounds. If there are no constraints, the values returned are 0 for the maximum, minimum, and l2 norm and NaN for the average.
optional double combined_bounds_max = 9;- Specified by:
hasCombinedBoundsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedBoundsMax field is set.
-
getCombinedBoundsMax
public double getCombinedBoundsMax()Statistics of the combined vector of the constraint lower and upper bounds. Given parallel lower and upper bounds vectors, the "combined bounds" vector takes the maximum absolute value of each pair of bounds, ignoring all non- finite values. The comment in solvers.proto:TerminationCriteria provides an example of the combined bounds vector. The min is over the nonzero combined bounds. If there are no constraints, the values returned are 0 for the maximum, minimum, and l2 norm and NaN for the average.
optional double combined_bounds_max = 9;- Specified by:
getCombinedBoundsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedBoundsMax.
-
hasCombinedBoundsMin
public boolean hasCombinedBoundsMin()optional double combined_bounds_min = 10;- Specified by:
hasCombinedBoundsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedBoundsMin field is set.
-
getCombinedBoundsMin
public double getCombinedBoundsMin()optional double combined_bounds_min = 10;- Specified by:
getCombinedBoundsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedBoundsMin.
-
hasCombinedBoundsAvg
public boolean hasCombinedBoundsAvg()optional double combined_bounds_avg = 11;- Specified by:
hasCombinedBoundsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedBoundsAvg field is set.
-
getCombinedBoundsAvg
public double getCombinedBoundsAvg()optional double combined_bounds_avg = 11;- Specified by:
getCombinedBoundsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedBoundsAvg.
-
hasCombinedBoundsL2Norm
public boolean hasCombinedBoundsL2Norm()optional double combined_bounds_l2_norm = 24;- Specified by:
hasCombinedBoundsL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedBoundsL2Norm field is set.
-
getCombinedBoundsL2Norm
public double getCombinedBoundsL2Norm()optional double combined_bounds_l2_norm = 24;- Specified by:
getCombinedBoundsL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedBoundsL2Norm.
-
hasCombinedVariableBoundsMax
public boolean hasCombinedVariableBoundsMax()Statistics of the combined vector of the variable lower and upper bounds. See the comment before `combined_bounds_max` for a description of the "combined bounds" vector. The min is over the nonzero combined bounds. If there are no variables, the values returned are 0 for the maximum, minimum, and l2 norm and NaN for the average.
optional double combined_variable_bounds_max = 28;- Specified by:
hasCombinedVariableBoundsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedVariableBoundsMax field is set.
-
getCombinedVariableBoundsMax
public double getCombinedVariableBoundsMax()Statistics of the combined vector of the variable lower and upper bounds. See the comment before `combined_bounds_max` for a description of the "combined bounds" vector. The min is over the nonzero combined bounds. If there are no variables, the values returned are 0 for the maximum, minimum, and l2 norm and NaN for the average.
optional double combined_variable_bounds_max = 28;- Specified by:
getCombinedVariableBoundsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedVariableBoundsMax.
-
hasCombinedVariableBoundsMin
public boolean hasCombinedVariableBoundsMin()optional double combined_variable_bounds_min = 29;- Specified by:
hasCombinedVariableBoundsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedVariableBoundsMin field is set.
-
getCombinedVariableBoundsMin
public double getCombinedVariableBoundsMin()optional double combined_variable_bounds_min = 29;- Specified by:
getCombinedVariableBoundsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedVariableBoundsMin.
-
hasCombinedVariableBoundsAvg
public boolean hasCombinedVariableBoundsAvg()optional double combined_variable_bounds_avg = 30;- Specified by:
hasCombinedVariableBoundsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedVariableBoundsAvg field is set.
-
getCombinedVariableBoundsAvg
public double getCombinedVariableBoundsAvg()optional double combined_variable_bounds_avg = 30;- Specified by:
getCombinedVariableBoundsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedVariableBoundsAvg.
-
hasCombinedVariableBoundsL2Norm
public boolean hasCombinedVariableBoundsL2Norm()optional double combined_variable_bounds_l2_norm = 31;- Specified by:
hasCombinedVariableBoundsL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the combinedVariableBoundsL2Norm field is set.
-
getCombinedVariableBoundsL2Norm
public double getCombinedVariableBoundsL2Norm()optional double combined_variable_bounds_l2_norm = 31;- Specified by:
getCombinedVariableBoundsL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The combinedVariableBoundsL2Norm.
-
hasVariableBoundGapsNumFinite
public boolean hasVariableBoundGapsNumFinite()Number of finite variable bound gaps, which are the elementwise difference between the upper and lower bounds on primal feasible solutions.
optional int64 variable_bound_gaps_num_finite = 12;- Specified by:
hasVariableBoundGapsNumFinitein interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the variableBoundGapsNumFinite field is set.
-
getVariableBoundGapsNumFinite
public long getVariableBoundGapsNumFinite()Number of finite variable bound gaps, which are the elementwise difference between the upper and lower bounds on primal feasible solutions.
optional int64 variable_bound_gaps_num_finite = 12;- Specified by:
getVariableBoundGapsNumFinitein interfaceQuadraticProgramStatsOrBuilder- Returns:
- The variableBoundGapsNumFinite.
-
hasVariableBoundGapsMax
public boolean hasVariableBoundGapsMax()Max/min/mean/l2_norm over all finite variable bound gaps. The min excludes zero bound gaps (i.e., fixed variables). When there are no finite gaps, the values returned are 0 for the maximum, minimum, and l2_norm, and NaN for the average.
optional double variable_bound_gaps_max = 13;- Specified by:
hasVariableBoundGapsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the variableBoundGapsMax field is set.
-
getVariableBoundGapsMax
public double getVariableBoundGapsMax()Max/min/mean/l2_norm over all finite variable bound gaps. The min excludes zero bound gaps (i.e., fixed variables). When there are no finite gaps, the values returned are 0 for the maximum, minimum, and l2_norm, and NaN for the average.
optional double variable_bound_gaps_max = 13;- Specified by:
getVariableBoundGapsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The variableBoundGapsMax.
-
hasVariableBoundGapsMin
public boolean hasVariableBoundGapsMin()optional double variable_bound_gaps_min = 14;- Specified by:
hasVariableBoundGapsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the variableBoundGapsMin field is set.
-
getVariableBoundGapsMin
public double getVariableBoundGapsMin()optional double variable_bound_gaps_min = 14;- Specified by:
getVariableBoundGapsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The variableBoundGapsMin.
-
hasVariableBoundGapsAvg
public boolean hasVariableBoundGapsAvg()optional double variable_bound_gaps_avg = 15;- Specified by:
hasVariableBoundGapsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the variableBoundGapsAvg field is set.
-
getVariableBoundGapsAvg
public double getVariableBoundGapsAvg()optional double variable_bound_gaps_avg = 15;- Specified by:
getVariableBoundGapsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The variableBoundGapsAvg.
-
hasVariableBoundGapsL2Norm
public boolean hasVariableBoundGapsL2Norm()optional double variable_bound_gaps_l2_norm = 26;- Specified by:
hasVariableBoundGapsL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the variableBoundGapsL2Norm field is set.
-
getVariableBoundGapsL2Norm
public double getVariableBoundGapsL2Norm()optional double variable_bound_gaps_l2_norm = 26;- Specified by:
getVariableBoundGapsL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The variableBoundGapsL2Norm.
-
hasObjectiveVectorAbsMax
public boolean hasObjectiveVectorAbsMax()Statistics of the objective vector. The min is over the nonzero terms.
optional double objective_vector_abs_max = 16;- Specified by:
hasObjectiveVectorAbsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveVectorAbsMax field is set.
-
getObjectiveVectorAbsMax
public double getObjectiveVectorAbsMax()Statistics of the objective vector. The min is over the nonzero terms.
optional double objective_vector_abs_max = 16;- Specified by:
getObjectiveVectorAbsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveVectorAbsMax.
-
hasObjectiveVectorAbsMin
public boolean hasObjectiveVectorAbsMin()optional double objective_vector_abs_min = 17;- Specified by:
hasObjectiveVectorAbsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveVectorAbsMin field is set.
-
getObjectiveVectorAbsMin
public double getObjectiveVectorAbsMin()optional double objective_vector_abs_min = 17;- Specified by:
getObjectiveVectorAbsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveVectorAbsMin.
-
hasObjectiveVectorAbsAvg
public boolean hasObjectiveVectorAbsAvg()optional double objective_vector_abs_avg = 18;- Specified by:
hasObjectiveVectorAbsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveVectorAbsAvg field is set.
-
getObjectiveVectorAbsAvg
public double getObjectiveVectorAbsAvg()optional double objective_vector_abs_avg = 18;- Specified by:
getObjectiveVectorAbsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveVectorAbsAvg.
-
hasObjectiveVectorL2Norm
public boolean hasObjectiveVectorL2Norm()optional double objective_vector_l2_norm = 23;- Specified by:
hasObjectiveVectorL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveVectorL2Norm field is set.
-
getObjectiveVectorL2Norm
public double getObjectiveVectorL2Norm()optional double objective_vector_l2_norm = 23;- Specified by:
getObjectiveVectorL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveVectorL2Norm.
-
hasObjectiveMatrixNumNonzeros
public boolean hasObjectiveMatrixNumNonzeros()optional int64 objective_matrix_num_nonzeros = 19;- Specified by:
hasObjectiveMatrixNumNonzerosin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveMatrixNumNonzeros field is set.
-
getObjectiveMatrixNumNonzeros
public long getObjectiveMatrixNumNonzeros()optional int64 objective_matrix_num_nonzeros = 19;- Specified by:
getObjectiveMatrixNumNonzerosin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveMatrixNumNonzeros.
-
hasObjectiveMatrixAbsMax
public boolean hasObjectiveMatrixAbsMax()Max/min/mean/l2_norm of absolute values of elements of the objective matrix. The min is over nonzero terms. If the objective matrix is empty, the returned values are 0.0, 0.0, NaN, and 0.0 respectively.
optional double objective_matrix_abs_max = 20;- Specified by:
hasObjectiveMatrixAbsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveMatrixAbsMax field is set.
-
getObjectiveMatrixAbsMax
public double getObjectiveMatrixAbsMax()Max/min/mean/l2_norm of absolute values of elements of the objective matrix. The min is over nonzero terms. If the objective matrix is empty, the returned values are 0.0, 0.0, NaN, and 0.0 respectively.
optional double objective_matrix_abs_max = 20;- Specified by:
getObjectiveMatrixAbsMaxin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveMatrixAbsMax.
-
hasObjectiveMatrixAbsMin
public boolean hasObjectiveMatrixAbsMin()optional double objective_matrix_abs_min = 21;- Specified by:
hasObjectiveMatrixAbsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveMatrixAbsMin field is set.
-
getObjectiveMatrixAbsMin
public double getObjectiveMatrixAbsMin()optional double objective_matrix_abs_min = 21;- Specified by:
getObjectiveMatrixAbsMinin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveMatrixAbsMin.
-
hasObjectiveMatrixAbsAvg
public boolean hasObjectiveMatrixAbsAvg()optional double objective_matrix_abs_avg = 22;- Specified by:
hasObjectiveMatrixAbsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveMatrixAbsAvg field is set.
-
getObjectiveMatrixAbsAvg
public double getObjectiveMatrixAbsAvg()optional double objective_matrix_abs_avg = 22;- Specified by:
getObjectiveMatrixAbsAvgin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveMatrixAbsAvg.
-
hasObjectiveMatrixL2Norm
public boolean hasObjectiveMatrixL2Norm()optional double objective_matrix_l2_norm = 27;- Specified by:
hasObjectiveMatrixL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- Whether the objectiveMatrixL2Norm field is set.
-
getObjectiveMatrixL2Norm
public double getObjectiveMatrixL2Norm()optional double objective_matrix_l2_norm = 27;- Specified by:
getObjectiveMatrixL2Normin interfaceQuadraticProgramStatsOrBuilder- Returns:
- The objectiveMatrixL2Norm.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 QuadraticProgramStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuadraticProgramStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuadraticProgramStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuadraticProgramStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuadraticProgramStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuadraticProgramStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QuadraticProgramStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QuadraticProgramStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static QuadraticProgramStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QuadraticProgramStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuadraticProgramStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-