Class QuadraticProgramStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<QuadraticProgramStats.Builder>
com.google.protobuf.GeneratedMessage.Builder<QuadraticProgramStats.Builder>
com.google.ortools.pdlp.QuadraticProgramStats.Builder
All Implemented Interfaces:
QuadraticProgramStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QuadraticProgramStats

public static final class QuadraticProgramStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuadraticProgramStats.Builder> implements QuadraticProgramStatsOrBuilder
 Easy-to-compute statistics for the quadratic program.
 
Protobuf type operations_research.pdlp.QuadraticProgramStats
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QuadraticProgramStats.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<QuadraticProgramStats.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QuadraticProgramStats.Builder>
    • getDefaultInstanceForType

      public QuadraticProgramStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public QuadraticProgramStats build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QuadraticProgramStats buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public QuadraticProgramStats.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuadraticProgramStats.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QuadraticProgramStats.Builder>
    • mergeFrom

      public QuadraticProgramStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuadraticProgramStats.Builder>
      Throws:
      IOException
    • hasNumVariables

      public boolean hasNumVariables()
      optional int64 num_variables = 1;
      Specified by:
      hasNumVariables in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the numVariables field is set.
    • getNumVariables

      public long getNumVariables()
      optional int64 num_variables = 1;
      Specified by:
      getNumVariables in interface QuadraticProgramStatsOrBuilder
      Returns:
      The numVariables.
    • setNumVariables

      public QuadraticProgramStats.Builder setNumVariables(long value)
      optional int64 num_variables = 1;
      Parameters:
      value - The numVariables to set.
      Returns:
      This builder for chaining.
    • clearNumVariables

      public QuadraticProgramStats.Builder clearNumVariables()
      optional int64 num_variables = 1;
      Returns:
      This builder for chaining.
    • hasNumConstraints

      public boolean hasNumConstraints()
      optional int64 num_constraints = 2;
      Specified by:
      hasNumConstraints in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the numConstraints field is set.
    • getNumConstraints

      public long getNumConstraints()
      optional int64 num_constraints = 2;
      Specified by:
      getNumConstraints in interface QuadraticProgramStatsOrBuilder
      Returns:
      The numConstraints.
    • setNumConstraints

      public QuadraticProgramStats.Builder setNumConstraints(long value)
      optional int64 num_constraints = 2;
      Parameters:
      value - The numConstraints to set.
      Returns:
      This builder for chaining.
    • clearNumConstraints

      public QuadraticProgramStats.Builder clearNumConstraints()
      optional int64 num_constraints = 2;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixColMinLInfNorm.
    • setConstraintMatrixColMinLInfNorm

      public QuadraticProgramStats.Builder setConstraintMatrixColMinLInfNorm(double value)
       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;
      Parameters:
      value - The constraintMatrixColMinLInfNorm to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixColMinLInfNorm

      public QuadraticProgramStats.Builder clearConstraintMatrixColMinLInfNorm()
       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;
      Returns:
      This builder for chaining.
    • hasConstraintMatrixRowMinLInfNorm

      public boolean hasConstraintMatrixRowMinLInfNorm()
      optional double constraint_matrix_row_min_l_inf_norm = 4;
      Specified by:
      hasConstraintMatrixRowMinLInfNorm in interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixRowMinLInfNorm.
    • setConstraintMatrixRowMinLInfNorm

      public QuadraticProgramStats.Builder setConstraintMatrixRowMinLInfNorm(double value)
      optional double constraint_matrix_row_min_l_inf_norm = 4;
      Parameters:
      value - The constraintMatrixRowMinLInfNorm to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixRowMinLInfNorm

      public QuadraticProgramStats.Builder clearConstraintMatrixRowMinLInfNorm()
      optional double constraint_matrix_row_min_l_inf_norm = 4;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixNumNonzeros.
    • setConstraintMatrixNumNonzeros

      public QuadraticProgramStats.Builder setConstraintMatrixNumNonzeros(long value)
       The number of (finite) nonzero entries in the constraint matrix.
       
      optional int64 constraint_matrix_num_nonzeros = 5;
      Parameters:
      value - The constraintMatrixNumNonzeros to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixNumNonzeros

      public QuadraticProgramStats.Builder clearConstraintMatrixNumNonzeros()
       The number of (finite) nonzero entries in the constraint matrix.
       
      optional int64 constraint_matrix_num_nonzeros = 5;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixAbsMax.
    • setConstraintMatrixAbsMax

      public QuadraticProgramStats.Builder setConstraintMatrixAbsMax(double value)
       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;
      Parameters:
      value - The constraintMatrixAbsMax to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixAbsMax

      public QuadraticProgramStats.Builder clearConstraintMatrixAbsMax()
       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;
      Returns:
      This builder for chaining.
    • hasConstraintMatrixAbsMin

      public boolean hasConstraintMatrixAbsMin()
      optional double constraint_matrix_abs_min = 7;
      Specified by:
      hasConstraintMatrixAbsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the constraintMatrixAbsMin field is set.
    • getConstraintMatrixAbsMin

      public double getConstraintMatrixAbsMin()
      optional double constraint_matrix_abs_min = 7;
      Specified by:
      getConstraintMatrixAbsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixAbsMin.
    • setConstraintMatrixAbsMin

      public QuadraticProgramStats.Builder setConstraintMatrixAbsMin(double value)
      optional double constraint_matrix_abs_min = 7;
      Parameters:
      value - The constraintMatrixAbsMin to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixAbsMin

      public QuadraticProgramStats.Builder clearConstraintMatrixAbsMin()
      optional double constraint_matrix_abs_min = 7;
      Returns:
      This builder for chaining.
    • hasConstraintMatrixAbsAvg

      public boolean hasConstraintMatrixAbsAvg()
      optional double constraint_matrix_abs_avg = 8;
      Specified by:
      hasConstraintMatrixAbsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the constraintMatrixAbsAvg field is set.
    • getConstraintMatrixAbsAvg

      public double getConstraintMatrixAbsAvg()
      optional double constraint_matrix_abs_avg = 8;
      Specified by:
      getConstraintMatrixAbsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixAbsAvg.
    • setConstraintMatrixAbsAvg

      public QuadraticProgramStats.Builder setConstraintMatrixAbsAvg(double value)
      optional double constraint_matrix_abs_avg = 8;
      Parameters:
      value - The constraintMatrixAbsAvg to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixAbsAvg

      public QuadraticProgramStats.Builder clearConstraintMatrixAbsAvg()
      optional double constraint_matrix_abs_avg = 8;
      Returns:
      This builder for chaining.
    • hasConstraintMatrixL2Norm

      public boolean hasConstraintMatrixL2Norm()
      optional double constraint_matrix_l2_norm = 25;
      Specified by:
      hasConstraintMatrixL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the constraintMatrixL2Norm field is set.
    • getConstraintMatrixL2Norm

      public double getConstraintMatrixL2Norm()
      optional double constraint_matrix_l2_norm = 25;
      Specified by:
      getConstraintMatrixL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      The constraintMatrixL2Norm.
    • setConstraintMatrixL2Norm

      public QuadraticProgramStats.Builder setConstraintMatrixL2Norm(double value)
      optional double constraint_matrix_l2_norm = 25;
      Parameters:
      value - The constraintMatrixL2Norm to set.
      Returns:
      This builder for chaining.
    • clearConstraintMatrixL2Norm

      public QuadraticProgramStats.Builder clearConstraintMatrixL2Norm()
      optional double constraint_matrix_l2_norm = 25;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedBoundsMax.
    • setCombinedBoundsMax

      public QuadraticProgramStats.Builder setCombinedBoundsMax(double value)
       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;
      Parameters:
      value - The combinedBoundsMax to set.
      Returns:
      This builder for chaining.
    • clearCombinedBoundsMax

      public QuadraticProgramStats.Builder clearCombinedBoundsMax()
       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;
      Returns:
      This builder for chaining.
    • hasCombinedBoundsMin

      public boolean hasCombinedBoundsMin()
      optional double combined_bounds_min = 10;
      Specified by:
      hasCombinedBoundsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the combinedBoundsMin field is set.
    • getCombinedBoundsMin

      public double getCombinedBoundsMin()
      optional double combined_bounds_min = 10;
      Specified by:
      getCombinedBoundsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedBoundsMin.
    • setCombinedBoundsMin

      public QuadraticProgramStats.Builder setCombinedBoundsMin(double value)
      optional double combined_bounds_min = 10;
      Parameters:
      value - The combinedBoundsMin to set.
      Returns:
      This builder for chaining.
    • clearCombinedBoundsMin

      public QuadraticProgramStats.Builder clearCombinedBoundsMin()
      optional double combined_bounds_min = 10;
      Returns:
      This builder for chaining.
    • hasCombinedBoundsAvg

      public boolean hasCombinedBoundsAvg()
      optional double combined_bounds_avg = 11;
      Specified by:
      hasCombinedBoundsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the combinedBoundsAvg field is set.
    • getCombinedBoundsAvg

      public double getCombinedBoundsAvg()
      optional double combined_bounds_avg = 11;
      Specified by:
      getCombinedBoundsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedBoundsAvg.
    • setCombinedBoundsAvg

      public QuadraticProgramStats.Builder setCombinedBoundsAvg(double value)
      optional double combined_bounds_avg = 11;
      Parameters:
      value - The combinedBoundsAvg to set.
      Returns:
      This builder for chaining.
    • clearCombinedBoundsAvg

      public QuadraticProgramStats.Builder clearCombinedBoundsAvg()
      optional double combined_bounds_avg = 11;
      Returns:
      This builder for chaining.
    • hasCombinedBoundsL2Norm

      public boolean hasCombinedBoundsL2Norm()
      optional double combined_bounds_l2_norm = 24;
      Specified by:
      hasCombinedBoundsL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the combinedBoundsL2Norm field is set.
    • getCombinedBoundsL2Norm

      public double getCombinedBoundsL2Norm()
      optional double combined_bounds_l2_norm = 24;
      Specified by:
      getCombinedBoundsL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedBoundsL2Norm.
    • setCombinedBoundsL2Norm

      public QuadraticProgramStats.Builder setCombinedBoundsL2Norm(double value)
      optional double combined_bounds_l2_norm = 24;
      Parameters:
      value - The combinedBoundsL2Norm to set.
      Returns:
      This builder for chaining.
    • clearCombinedBoundsL2Norm

      public QuadraticProgramStats.Builder clearCombinedBoundsL2Norm()
      optional double combined_bounds_l2_norm = 24;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedVariableBoundsMax.
    • setCombinedVariableBoundsMax

      public QuadraticProgramStats.Builder setCombinedVariableBoundsMax(double value)
       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;
      Parameters:
      value - The combinedVariableBoundsMax to set.
      Returns:
      This builder for chaining.
    • clearCombinedVariableBoundsMax

      public QuadraticProgramStats.Builder clearCombinedVariableBoundsMax()
       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;
      Returns:
      This builder for chaining.
    • hasCombinedVariableBoundsMin

      public boolean hasCombinedVariableBoundsMin()
      optional double combined_variable_bounds_min = 29;
      Specified by:
      hasCombinedVariableBoundsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the combinedVariableBoundsMin field is set.
    • getCombinedVariableBoundsMin

      public double getCombinedVariableBoundsMin()
      optional double combined_variable_bounds_min = 29;
      Specified by:
      getCombinedVariableBoundsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedVariableBoundsMin.
    • setCombinedVariableBoundsMin

      public QuadraticProgramStats.Builder setCombinedVariableBoundsMin(double value)
      optional double combined_variable_bounds_min = 29;
      Parameters:
      value - The combinedVariableBoundsMin to set.
      Returns:
      This builder for chaining.
    • clearCombinedVariableBoundsMin

      public QuadraticProgramStats.Builder clearCombinedVariableBoundsMin()
      optional double combined_variable_bounds_min = 29;
      Returns:
      This builder for chaining.
    • hasCombinedVariableBoundsAvg

      public boolean hasCombinedVariableBoundsAvg()
      optional double combined_variable_bounds_avg = 30;
      Specified by:
      hasCombinedVariableBoundsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the combinedVariableBoundsAvg field is set.
    • getCombinedVariableBoundsAvg

      public double getCombinedVariableBoundsAvg()
      optional double combined_variable_bounds_avg = 30;
      Specified by:
      getCombinedVariableBoundsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedVariableBoundsAvg.
    • setCombinedVariableBoundsAvg

      public QuadraticProgramStats.Builder setCombinedVariableBoundsAvg(double value)
      optional double combined_variable_bounds_avg = 30;
      Parameters:
      value - The combinedVariableBoundsAvg to set.
      Returns:
      This builder for chaining.
    • clearCombinedVariableBoundsAvg

      public QuadraticProgramStats.Builder clearCombinedVariableBoundsAvg()
      optional double combined_variable_bounds_avg = 30;
      Returns:
      This builder for chaining.
    • hasCombinedVariableBoundsL2Norm

      public boolean hasCombinedVariableBoundsL2Norm()
      optional double combined_variable_bounds_l2_norm = 31;
      Specified by:
      hasCombinedVariableBoundsL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the combinedVariableBoundsL2Norm field is set.
    • getCombinedVariableBoundsL2Norm

      public double getCombinedVariableBoundsL2Norm()
      optional double combined_variable_bounds_l2_norm = 31;
      Specified by:
      getCombinedVariableBoundsL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      The combinedVariableBoundsL2Norm.
    • setCombinedVariableBoundsL2Norm

      public QuadraticProgramStats.Builder setCombinedVariableBoundsL2Norm(double value)
      optional double combined_variable_bounds_l2_norm = 31;
      Parameters:
      value - The combinedVariableBoundsL2Norm to set.
      Returns:
      This builder for chaining.
    • clearCombinedVariableBoundsL2Norm

      public QuadraticProgramStats.Builder clearCombinedVariableBoundsL2Norm()
      optional double combined_variable_bounds_l2_norm = 31;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The variableBoundGapsNumFinite.
    • setVariableBoundGapsNumFinite

      public QuadraticProgramStats.Builder setVariableBoundGapsNumFinite(long value)
       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;
      Parameters:
      value - The variableBoundGapsNumFinite to set.
      Returns:
      This builder for chaining.
    • clearVariableBoundGapsNumFinite

      public QuadraticProgramStats.Builder clearVariableBoundGapsNumFinite()
       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;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The variableBoundGapsMax.
    • setVariableBoundGapsMax

      public QuadraticProgramStats.Builder setVariableBoundGapsMax(double value)
       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;
      Parameters:
      value - The variableBoundGapsMax to set.
      Returns:
      This builder for chaining.
    • clearVariableBoundGapsMax

      public QuadraticProgramStats.Builder clearVariableBoundGapsMax()
       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;
      Returns:
      This builder for chaining.
    • hasVariableBoundGapsMin

      public boolean hasVariableBoundGapsMin()
      optional double variable_bound_gaps_min = 14;
      Specified by:
      hasVariableBoundGapsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the variableBoundGapsMin field is set.
    • getVariableBoundGapsMin

      public double getVariableBoundGapsMin()
      optional double variable_bound_gaps_min = 14;
      Specified by:
      getVariableBoundGapsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      The variableBoundGapsMin.
    • setVariableBoundGapsMin

      public QuadraticProgramStats.Builder setVariableBoundGapsMin(double value)
      optional double variable_bound_gaps_min = 14;
      Parameters:
      value - The variableBoundGapsMin to set.
      Returns:
      This builder for chaining.
    • clearVariableBoundGapsMin

      public QuadraticProgramStats.Builder clearVariableBoundGapsMin()
      optional double variable_bound_gaps_min = 14;
      Returns:
      This builder for chaining.
    • hasVariableBoundGapsAvg

      public boolean hasVariableBoundGapsAvg()
      optional double variable_bound_gaps_avg = 15;
      Specified by:
      hasVariableBoundGapsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the variableBoundGapsAvg field is set.
    • getVariableBoundGapsAvg

      public double getVariableBoundGapsAvg()
      optional double variable_bound_gaps_avg = 15;
      Specified by:
      getVariableBoundGapsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      The variableBoundGapsAvg.
    • setVariableBoundGapsAvg

      public QuadraticProgramStats.Builder setVariableBoundGapsAvg(double value)
      optional double variable_bound_gaps_avg = 15;
      Parameters:
      value - The variableBoundGapsAvg to set.
      Returns:
      This builder for chaining.
    • clearVariableBoundGapsAvg

      public QuadraticProgramStats.Builder clearVariableBoundGapsAvg()
      optional double variable_bound_gaps_avg = 15;
      Returns:
      This builder for chaining.
    • hasVariableBoundGapsL2Norm

      public boolean hasVariableBoundGapsL2Norm()
      optional double variable_bound_gaps_l2_norm = 26;
      Specified by:
      hasVariableBoundGapsL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the variableBoundGapsL2Norm field is set.
    • getVariableBoundGapsL2Norm

      public double getVariableBoundGapsL2Norm()
      optional double variable_bound_gaps_l2_norm = 26;
      Specified by:
      getVariableBoundGapsL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      The variableBoundGapsL2Norm.
    • setVariableBoundGapsL2Norm

      public QuadraticProgramStats.Builder setVariableBoundGapsL2Norm(double value)
      optional double variable_bound_gaps_l2_norm = 26;
      Parameters:
      value - The variableBoundGapsL2Norm to set.
      Returns:
      This builder for chaining.
    • clearVariableBoundGapsL2Norm

      public QuadraticProgramStats.Builder clearVariableBoundGapsL2Norm()
      optional double variable_bound_gaps_l2_norm = 26;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveVectorAbsMax.
    • setObjectiveVectorAbsMax

      public QuadraticProgramStats.Builder setObjectiveVectorAbsMax(double value)
       Statistics of the objective vector. The min is over the nonzero terms.
       
      optional double objective_vector_abs_max = 16;
      Parameters:
      value - The objectiveVectorAbsMax to set.
      Returns:
      This builder for chaining.
    • clearObjectiveVectorAbsMax

      public QuadraticProgramStats.Builder clearObjectiveVectorAbsMax()
       Statistics of the objective vector. The min is over the nonzero terms.
       
      optional double objective_vector_abs_max = 16;
      Returns:
      This builder for chaining.
    • hasObjectiveVectorAbsMin

      public boolean hasObjectiveVectorAbsMin()
      optional double objective_vector_abs_min = 17;
      Specified by:
      hasObjectiveVectorAbsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveVectorAbsMin field is set.
    • getObjectiveVectorAbsMin

      public double getObjectiveVectorAbsMin()
      optional double objective_vector_abs_min = 17;
      Specified by:
      getObjectiveVectorAbsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveVectorAbsMin.
    • setObjectiveVectorAbsMin

      public QuadraticProgramStats.Builder setObjectiveVectorAbsMin(double value)
      optional double objective_vector_abs_min = 17;
      Parameters:
      value - The objectiveVectorAbsMin to set.
      Returns:
      This builder for chaining.
    • clearObjectiveVectorAbsMin

      public QuadraticProgramStats.Builder clearObjectiveVectorAbsMin()
      optional double objective_vector_abs_min = 17;
      Returns:
      This builder for chaining.
    • hasObjectiveVectorAbsAvg

      public boolean hasObjectiveVectorAbsAvg()
      optional double objective_vector_abs_avg = 18;
      Specified by:
      hasObjectiveVectorAbsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveVectorAbsAvg field is set.
    • getObjectiveVectorAbsAvg

      public double getObjectiveVectorAbsAvg()
      optional double objective_vector_abs_avg = 18;
      Specified by:
      getObjectiveVectorAbsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveVectorAbsAvg.
    • setObjectiveVectorAbsAvg

      public QuadraticProgramStats.Builder setObjectiveVectorAbsAvg(double value)
      optional double objective_vector_abs_avg = 18;
      Parameters:
      value - The objectiveVectorAbsAvg to set.
      Returns:
      This builder for chaining.
    • clearObjectiveVectorAbsAvg

      public QuadraticProgramStats.Builder clearObjectiveVectorAbsAvg()
      optional double objective_vector_abs_avg = 18;
      Returns:
      This builder for chaining.
    • hasObjectiveVectorL2Norm

      public boolean hasObjectiveVectorL2Norm()
      optional double objective_vector_l2_norm = 23;
      Specified by:
      hasObjectiveVectorL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveVectorL2Norm field is set.
    • getObjectiveVectorL2Norm

      public double getObjectiveVectorL2Norm()
      optional double objective_vector_l2_norm = 23;
      Specified by:
      getObjectiveVectorL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveVectorL2Norm.
    • setObjectiveVectorL2Norm

      public QuadraticProgramStats.Builder setObjectiveVectorL2Norm(double value)
      optional double objective_vector_l2_norm = 23;
      Parameters:
      value - The objectiveVectorL2Norm to set.
      Returns:
      This builder for chaining.
    • clearObjectiveVectorL2Norm

      public QuadraticProgramStats.Builder clearObjectiveVectorL2Norm()
      optional double objective_vector_l2_norm = 23;
      Returns:
      This builder for chaining.
    • hasObjectiveMatrixNumNonzeros

      public boolean hasObjectiveMatrixNumNonzeros()
      optional int64 objective_matrix_num_nonzeros = 19;
      Specified by:
      hasObjectiveMatrixNumNonzeros in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveMatrixNumNonzeros field is set.
    • getObjectiveMatrixNumNonzeros

      public long getObjectiveMatrixNumNonzeros()
      optional int64 objective_matrix_num_nonzeros = 19;
      Specified by:
      getObjectiveMatrixNumNonzeros in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveMatrixNumNonzeros.
    • setObjectiveMatrixNumNonzeros

      public QuadraticProgramStats.Builder setObjectiveMatrixNumNonzeros(long value)
      optional int64 objective_matrix_num_nonzeros = 19;
      Parameters:
      value - The objectiveMatrixNumNonzeros to set.
      Returns:
      This builder for chaining.
    • clearObjectiveMatrixNumNonzeros

      public QuadraticProgramStats.Builder clearObjectiveMatrixNumNonzeros()
      optional int64 objective_matrix_num_nonzeros = 19;
      Returns:
      This builder for chaining.
    • 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 interface QuadraticProgramStatsOrBuilder
      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 interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveMatrixAbsMax.
    • setObjectiveMatrixAbsMax

      public QuadraticProgramStats.Builder setObjectiveMatrixAbsMax(double value)
       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;
      Parameters:
      value - The objectiveMatrixAbsMax to set.
      Returns:
      This builder for chaining.
    • clearObjectiveMatrixAbsMax

      public QuadraticProgramStats.Builder clearObjectiveMatrixAbsMax()
       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;
      Returns:
      This builder for chaining.
    • hasObjectiveMatrixAbsMin

      public boolean hasObjectiveMatrixAbsMin()
      optional double objective_matrix_abs_min = 21;
      Specified by:
      hasObjectiveMatrixAbsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveMatrixAbsMin field is set.
    • getObjectiveMatrixAbsMin

      public double getObjectiveMatrixAbsMin()
      optional double objective_matrix_abs_min = 21;
      Specified by:
      getObjectiveMatrixAbsMin in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveMatrixAbsMin.
    • setObjectiveMatrixAbsMin

      public QuadraticProgramStats.Builder setObjectiveMatrixAbsMin(double value)
      optional double objective_matrix_abs_min = 21;
      Parameters:
      value - The objectiveMatrixAbsMin to set.
      Returns:
      This builder for chaining.
    • clearObjectiveMatrixAbsMin

      public QuadraticProgramStats.Builder clearObjectiveMatrixAbsMin()
      optional double objective_matrix_abs_min = 21;
      Returns:
      This builder for chaining.
    • hasObjectiveMatrixAbsAvg

      public boolean hasObjectiveMatrixAbsAvg()
      optional double objective_matrix_abs_avg = 22;
      Specified by:
      hasObjectiveMatrixAbsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveMatrixAbsAvg field is set.
    • getObjectiveMatrixAbsAvg

      public double getObjectiveMatrixAbsAvg()
      optional double objective_matrix_abs_avg = 22;
      Specified by:
      getObjectiveMatrixAbsAvg in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveMatrixAbsAvg.
    • setObjectiveMatrixAbsAvg

      public QuadraticProgramStats.Builder setObjectiveMatrixAbsAvg(double value)
      optional double objective_matrix_abs_avg = 22;
      Parameters:
      value - The objectiveMatrixAbsAvg to set.
      Returns:
      This builder for chaining.
    • clearObjectiveMatrixAbsAvg

      public QuadraticProgramStats.Builder clearObjectiveMatrixAbsAvg()
      optional double objective_matrix_abs_avg = 22;
      Returns:
      This builder for chaining.
    • hasObjectiveMatrixL2Norm

      public boolean hasObjectiveMatrixL2Norm()
      optional double objective_matrix_l2_norm = 27;
      Specified by:
      hasObjectiveMatrixL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      Whether the objectiveMatrixL2Norm field is set.
    • getObjectiveMatrixL2Norm

      public double getObjectiveMatrixL2Norm()
      optional double objective_matrix_l2_norm = 27;
      Specified by:
      getObjectiveMatrixL2Norm in interface QuadraticProgramStatsOrBuilder
      Returns:
      The objectiveMatrixL2Norm.
    • setObjectiveMatrixL2Norm

      public QuadraticProgramStats.Builder setObjectiveMatrixL2Norm(double value)
      optional double objective_matrix_l2_norm = 27;
      Parameters:
      value - The objectiveMatrixL2Norm to set.
      Returns:
      This builder for chaining.
    • clearObjectiveMatrixL2Norm

      public QuadraticProgramStats.Builder clearObjectiveMatrixL2Norm()
      optional double objective_matrix_l2_norm = 27;
      Returns:
      This builder for chaining.