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 class
Easy-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.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
optional double combined_bounds_avg = 11;
double
optional double combined_bounds_l2_norm = 24;
double
Statistics of the combined vector of the constraint lower and upper bounds.double
optional double combined_bounds_min = 10;
double
optional double combined_variable_bounds_avg = 30;
double
optional double combined_variable_bounds_l2_norm = 31;
double
Statistics of the combined vector of the variable lower and upper bounds.double
optional double combined_variable_bounds_min = 29;
double
optional double constraint_matrix_abs_avg = 8;
double
Max/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix.double
optional double constraint_matrix_abs_min = 7;
double
Minimum row and column infinity norms of the constraint matrix.double
optional double constraint_matrix_l2_norm = 25;
long
The number of (finite) nonzero entries in the constraint matrix.double
optional double constraint_matrix_row_min_l_inf_norm = 4;
static QuadraticProgramStats
static final com.google.protobuf.Descriptors.Descriptor
long
optional int64 num_constraints = 2;
long
optional int64 num_variables = 1;
double
optional double objective_matrix_abs_avg = 22;
double
Max/min/mean/l2_norm of absolute values of elements of the objective matrix.double
optional double objective_matrix_abs_min = 21;
double
optional double objective_matrix_l2_norm = 27;
long
optional int64 objective_matrix_num_nonzeros = 19;
double
optional double objective_vector_abs_avg = 18;
double
Statistics of the objective vector.double
optional double objective_vector_abs_min = 17;
double
optional double objective_vector_l2_norm = 23;
com.google.protobuf.Parser
<QuadraticProgramStats> int
double
optional double variable_bound_gaps_avg = 15;
double
optional double variable_bound_gaps_l2_norm = 26;
double
Max/min/mean/l2_norm over all finite variable bound gaps.double
optional double variable_bound_gaps_min = 14;
long
Number of finite variable bound gaps, which are the elementwise difference between the upper and lower bounds on primal feasible solutions.boolean
optional double combined_bounds_avg = 11;
boolean
optional double combined_bounds_l2_norm = 24;
boolean
Statistics of the combined vector of the constraint lower and upper bounds.boolean
optional double combined_bounds_min = 10;
boolean
optional double combined_variable_bounds_avg = 30;
boolean
optional double combined_variable_bounds_l2_norm = 31;
boolean
Statistics of the combined vector of the variable lower and upper bounds.boolean
optional double combined_variable_bounds_min = 29;
boolean
optional double constraint_matrix_abs_avg = 8;
boolean
Max/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix.boolean
optional double constraint_matrix_abs_min = 7;
boolean
Minimum row and column infinity norms of the constraint matrix.boolean
optional double constraint_matrix_l2_norm = 25;
boolean
The number of (finite) nonzero entries in the constraint matrix.boolean
optional double constraint_matrix_row_min_l_inf_norm = 4;
int
hashCode()
boolean
optional int64 num_constraints = 2;
boolean
optional int64 num_variables = 1;
boolean
optional double objective_matrix_abs_avg = 22;
boolean
Max/min/mean/l2_norm of absolute values of elements of the objective matrix.boolean
optional double objective_matrix_abs_min = 21;
boolean
optional double objective_matrix_l2_norm = 27;
boolean
optional int64 objective_matrix_num_nonzeros = 19;
boolean
optional double objective_vector_abs_avg = 18;
boolean
Statistics of the objective vector.boolean
optional double objective_vector_abs_min = 17;
boolean
optional double objective_vector_l2_norm = 23;
boolean
optional double variable_bound_gaps_avg = 15;
boolean
optional double variable_bound_gaps_l2_norm = 26;
boolean
Max/min/mean/l2_norm over all finite variable bound gaps.boolean
optional double variable_bound_gaps_min = 14;
boolean
Number 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.FieldAccessorTable
final boolean
newBuilder
(QuadraticProgramStats prototype) protected QuadraticProgramStats.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static QuadraticProgramStats
parseDelimitedFrom
(InputStream input) static QuadraticProgramStats
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStats
parseFrom
(byte[] data) static QuadraticProgramStats
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStats
parseFrom
(com.google.protobuf.ByteString data) static QuadraticProgramStats
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStats
parseFrom
(com.google.protobuf.CodedInputStream input) static QuadraticProgramStats
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStats
parseFrom
(InputStream input) static QuadraticProgramStats
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuadraticProgramStats
parseFrom
(ByteBuffer data) static QuadraticProgramStats
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<QuadraticProgramStats> parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasNumVariables
public boolean hasNumVariables()optional int64 num_variables = 1;
- Specified by:
hasNumVariables
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the numVariables field is set.
-
getNumVariables
public long getNumVariables()optional int64 num_variables = 1;
- Specified by:
getNumVariables
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The numVariables.
-
hasNumConstraints
public boolean hasNumConstraints()optional int64 num_constraints = 2;
- Specified by:
hasNumConstraints
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the numConstraints field is set.
-
getNumConstraints
public long getNumConstraints()optional int64 num_constraints = 2;
- Specified by:
getNumConstraints
in 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:
hasConstraintMatrixColMinLInfNorm
in 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:
getConstraintMatrixColMinLInfNorm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The constraintMatrixColMinLInfNorm.
-
hasConstraintMatrixRowMinLInfNorm
public boolean hasConstraintMatrixRowMinLInfNorm()optional double constraint_matrix_row_min_l_inf_norm = 4;
- Specified by:
hasConstraintMatrixRowMinLInfNorm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the constraintMatrixRowMinLInfNorm field is set.
-
getConstraintMatrixRowMinLInfNorm
public double getConstraintMatrixRowMinLInfNorm()optional double constraint_matrix_row_min_l_inf_norm = 4;
- Specified by:
getConstraintMatrixRowMinLInfNorm
in 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:
hasConstraintMatrixNumNonzeros
in 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:
getConstraintMatrixNumNonzeros
in 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:
hasConstraintMatrixAbsMax
in 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:
getConstraintMatrixAbsMax
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The constraintMatrixAbsMax.
-
hasConstraintMatrixAbsMin
public boolean hasConstraintMatrixAbsMin()optional double constraint_matrix_abs_min = 7;
- Specified by:
hasConstraintMatrixAbsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the constraintMatrixAbsMin field is set.
-
getConstraintMatrixAbsMin
public double getConstraintMatrixAbsMin()optional double constraint_matrix_abs_min = 7;
- Specified by:
getConstraintMatrixAbsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The constraintMatrixAbsMin.
-
hasConstraintMatrixAbsAvg
public boolean hasConstraintMatrixAbsAvg()optional double constraint_matrix_abs_avg = 8;
- Specified by:
hasConstraintMatrixAbsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the constraintMatrixAbsAvg field is set.
-
getConstraintMatrixAbsAvg
public double getConstraintMatrixAbsAvg()optional double constraint_matrix_abs_avg = 8;
- Specified by:
getConstraintMatrixAbsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The constraintMatrixAbsAvg.
-
hasConstraintMatrixL2Norm
public boolean hasConstraintMatrixL2Norm()optional double constraint_matrix_l2_norm = 25;
- Specified by:
hasConstraintMatrixL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the constraintMatrixL2Norm field is set.
-
getConstraintMatrixL2Norm
public double getConstraintMatrixL2Norm()optional double constraint_matrix_l2_norm = 25;
- Specified by:
getConstraintMatrixL2Norm
in 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:
hasCombinedBoundsMax
in 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:
getCombinedBoundsMax
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The combinedBoundsMax.
-
hasCombinedBoundsMin
public boolean hasCombinedBoundsMin()optional double combined_bounds_min = 10;
- Specified by:
hasCombinedBoundsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the combinedBoundsMin field is set.
-
getCombinedBoundsMin
public double getCombinedBoundsMin()optional double combined_bounds_min = 10;
- Specified by:
getCombinedBoundsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The combinedBoundsMin.
-
hasCombinedBoundsAvg
public boolean hasCombinedBoundsAvg()optional double combined_bounds_avg = 11;
- Specified by:
hasCombinedBoundsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the combinedBoundsAvg field is set.
-
getCombinedBoundsAvg
public double getCombinedBoundsAvg()optional double combined_bounds_avg = 11;
- Specified by:
getCombinedBoundsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The combinedBoundsAvg.
-
hasCombinedBoundsL2Norm
public boolean hasCombinedBoundsL2Norm()optional double combined_bounds_l2_norm = 24;
- Specified by:
hasCombinedBoundsL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the combinedBoundsL2Norm field is set.
-
getCombinedBoundsL2Norm
public double getCombinedBoundsL2Norm()optional double combined_bounds_l2_norm = 24;
- Specified by:
getCombinedBoundsL2Norm
in 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:
hasCombinedVariableBoundsMax
in 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:
getCombinedVariableBoundsMax
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The combinedVariableBoundsMax.
-
hasCombinedVariableBoundsMin
public boolean hasCombinedVariableBoundsMin()optional double combined_variable_bounds_min = 29;
- Specified by:
hasCombinedVariableBoundsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the combinedVariableBoundsMin field is set.
-
getCombinedVariableBoundsMin
public double getCombinedVariableBoundsMin()optional double combined_variable_bounds_min = 29;
- Specified by:
getCombinedVariableBoundsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The combinedVariableBoundsMin.
-
hasCombinedVariableBoundsAvg
public boolean hasCombinedVariableBoundsAvg()optional double combined_variable_bounds_avg = 30;
- Specified by:
hasCombinedVariableBoundsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the combinedVariableBoundsAvg field is set.
-
getCombinedVariableBoundsAvg
public double getCombinedVariableBoundsAvg()optional double combined_variable_bounds_avg = 30;
- Specified by:
getCombinedVariableBoundsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The combinedVariableBoundsAvg.
-
hasCombinedVariableBoundsL2Norm
public boolean hasCombinedVariableBoundsL2Norm()optional double combined_variable_bounds_l2_norm = 31;
- Specified by:
hasCombinedVariableBoundsL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the combinedVariableBoundsL2Norm field is set.
-
getCombinedVariableBoundsL2Norm
public double getCombinedVariableBoundsL2Norm()optional double combined_variable_bounds_l2_norm = 31;
- Specified by:
getCombinedVariableBoundsL2Norm
in 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:
hasVariableBoundGapsNumFinite
in 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:
getVariableBoundGapsNumFinite
in 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:
hasVariableBoundGapsMax
in 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:
getVariableBoundGapsMax
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The variableBoundGapsMax.
-
hasVariableBoundGapsMin
public boolean hasVariableBoundGapsMin()optional double variable_bound_gaps_min = 14;
- Specified by:
hasVariableBoundGapsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the variableBoundGapsMin field is set.
-
getVariableBoundGapsMin
public double getVariableBoundGapsMin()optional double variable_bound_gaps_min = 14;
- Specified by:
getVariableBoundGapsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The variableBoundGapsMin.
-
hasVariableBoundGapsAvg
public boolean hasVariableBoundGapsAvg()optional double variable_bound_gaps_avg = 15;
- Specified by:
hasVariableBoundGapsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the variableBoundGapsAvg field is set.
-
getVariableBoundGapsAvg
public double getVariableBoundGapsAvg()optional double variable_bound_gaps_avg = 15;
- Specified by:
getVariableBoundGapsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The variableBoundGapsAvg.
-
hasVariableBoundGapsL2Norm
public boolean hasVariableBoundGapsL2Norm()optional double variable_bound_gaps_l2_norm = 26;
- Specified by:
hasVariableBoundGapsL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the variableBoundGapsL2Norm field is set.
-
getVariableBoundGapsL2Norm
public double getVariableBoundGapsL2Norm()optional double variable_bound_gaps_l2_norm = 26;
- Specified by:
getVariableBoundGapsL2Norm
in 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:
hasObjectiveVectorAbsMax
in 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:
getObjectiveVectorAbsMax
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveVectorAbsMax.
-
hasObjectiveVectorAbsMin
public boolean hasObjectiveVectorAbsMin()optional double objective_vector_abs_min = 17;
- Specified by:
hasObjectiveVectorAbsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveVectorAbsMin field is set.
-
getObjectiveVectorAbsMin
public double getObjectiveVectorAbsMin()optional double objective_vector_abs_min = 17;
- Specified by:
getObjectiveVectorAbsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveVectorAbsMin.
-
hasObjectiveVectorAbsAvg
public boolean hasObjectiveVectorAbsAvg()optional double objective_vector_abs_avg = 18;
- Specified by:
hasObjectiveVectorAbsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveVectorAbsAvg field is set.
-
getObjectiveVectorAbsAvg
public double getObjectiveVectorAbsAvg()optional double objective_vector_abs_avg = 18;
- Specified by:
getObjectiveVectorAbsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveVectorAbsAvg.
-
hasObjectiveVectorL2Norm
public boolean hasObjectiveVectorL2Norm()optional double objective_vector_l2_norm = 23;
- Specified by:
hasObjectiveVectorL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveVectorL2Norm field is set.
-
getObjectiveVectorL2Norm
public double getObjectiveVectorL2Norm()optional double objective_vector_l2_norm = 23;
- Specified by:
getObjectiveVectorL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveVectorL2Norm.
-
hasObjectiveMatrixNumNonzeros
public boolean hasObjectiveMatrixNumNonzeros()optional int64 objective_matrix_num_nonzeros = 19;
- Specified by:
hasObjectiveMatrixNumNonzeros
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveMatrixNumNonzeros field is set.
-
getObjectiveMatrixNumNonzeros
public long getObjectiveMatrixNumNonzeros()optional int64 objective_matrix_num_nonzeros = 19;
- Specified by:
getObjectiveMatrixNumNonzeros
in 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:
hasObjectiveMatrixAbsMax
in 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:
getObjectiveMatrixAbsMax
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveMatrixAbsMax.
-
hasObjectiveMatrixAbsMin
public boolean hasObjectiveMatrixAbsMin()optional double objective_matrix_abs_min = 21;
- Specified by:
hasObjectiveMatrixAbsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveMatrixAbsMin field is set.
-
getObjectiveMatrixAbsMin
public double getObjectiveMatrixAbsMin()optional double objective_matrix_abs_min = 21;
- Specified by:
getObjectiveMatrixAbsMin
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveMatrixAbsMin.
-
hasObjectiveMatrixAbsAvg
public boolean hasObjectiveMatrixAbsAvg()optional double objective_matrix_abs_avg = 22;
- Specified by:
hasObjectiveMatrixAbsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveMatrixAbsAvg field is set.
-
getObjectiveMatrixAbsAvg
public double getObjectiveMatrixAbsAvg()optional double objective_matrix_abs_avg = 22;
- Specified by:
getObjectiveMatrixAbsAvg
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveMatrixAbsAvg.
-
hasObjectiveMatrixL2Norm
public boolean hasObjectiveMatrixL2Norm()optional double objective_matrix_l2_norm = 27;
- Specified by:
hasObjectiveMatrixL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- Whether the objectiveMatrixL2Norm field is set.
-
getObjectiveMatrixL2Norm
public double getObjectiveMatrixL2Norm()optional double objective_matrix_l2_norm = 27;
- Specified by:
getObjectiveMatrixL2Norm
in interfaceQuadraticProgramStatsOrBuilder
- Returns:
- The objectiveMatrixL2Norm.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuadraticProgramStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-