Interface SolveLogOuterClass.QuadraticProgramStatsOrBuilder

    • Method Detail

      • hasNumVariables

        boolean hasNumVariables()
        optional int64 num_variables = 1;
        Returns:
        Whether the numVariables field is set.
      • getNumVariables

        long getNumVariables()
        optional int64 num_variables = 1;
        Returns:
        The numVariables.
      • hasNumConstraints

        boolean hasNumConstraints()
        optional int64 num_constraints = 2;
        Returns:
        Whether the numConstraints field is set.
      • getNumConstraints

        long getNumConstraints()
        optional int64 num_constraints = 2;
        Returns:
        The numConstraints.
      • hasConstraintMatrixColMinLInfNorm

        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;
        Returns:
        Whether the constraintMatrixColMinLInfNorm field is set.
      • getConstraintMatrixColMinLInfNorm

        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;
        Returns:
        The constraintMatrixColMinLInfNorm.
      • hasConstraintMatrixRowMinLInfNorm

        boolean hasConstraintMatrixRowMinLInfNorm()
        optional double constraint_matrix_row_min_l_inf_norm = 4;
        Returns:
        Whether the constraintMatrixRowMinLInfNorm field is set.
      • getConstraintMatrixRowMinLInfNorm

        double getConstraintMatrixRowMinLInfNorm()
        optional double constraint_matrix_row_min_l_inf_norm = 4;
        Returns:
        The constraintMatrixRowMinLInfNorm.
      • hasConstraintMatrixNumNonzeros

        boolean hasConstraintMatrixNumNonzeros()
         The number of (finite) nonzero entries in the constraint matrix.
         
        optional int64 constraint_matrix_num_nonzeros = 5;
        Returns:
        Whether the constraintMatrixNumNonzeros field is set.
      • getConstraintMatrixNumNonzeros

        long getConstraintMatrixNumNonzeros()
         The number of (finite) nonzero entries in the constraint matrix.
         
        optional int64 constraint_matrix_num_nonzeros = 5;
        Returns:
        The constraintMatrixNumNonzeros.
      • hasConstraintMatrixAbsMax

        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;
        Returns:
        Whether the constraintMatrixAbsMax field is set.
      • getConstraintMatrixAbsMax

        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;
        Returns:
        The constraintMatrixAbsMax.
      • hasConstraintMatrixAbsMin

        boolean hasConstraintMatrixAbsMin()
        optional double constraint_matrix_abs_min = 7;
        Returns:
        Whether the constraintMatrixAbsMin field is set.
      • getConstraintMatrixAbsMin

        double getConstraintMatrixAbsMin()
        optional double constraint_matrix_abs_min = 7;
        Returns:
        The constraintMatrixAbsMin.
      • hasConstraintMatrixAbsAvg

        boolean hasConstraintMatrixAbsAvg()
        optional double constraint_matrix_abs_avg = 8;
        Returns:
        Whether the constraintMatrixAbsAvg field is set.
      • getConstraintMatrixAbsAvg

        double getConstraintMatrixAbsAvg()
        optional double constraint_matrix_abs_avg = 8;
        Returns:
        The constraintMatrixAbsAvg.
      • hasConstraintMatrixL2Norm

        boolean hasConstraintMatrixL2Norm()
        optional double constraint_matrix_l2_norm = 25;
        Returns:
        Whether the constraintMatrixL2Norm field is set.
      • getConstraintMatrixL2Norm

        double getConstraintMatrixL2Norm()
        optional double constraint_matrix_l2_norm = 25;
        Returns:
        The constraintMatrixL2Norm.
      • hasCombinedBoundsMax

        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;
        Returns:
        Whether the combinedBoundsMax field is set.
      • getCombinedBoundsMax

        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;
        Returns:
        The combinedBoundsMax.
      • hasCombinedBoundsMin

        boolean hasCombinedBoundsMin()
        optional double combined_bounds_min = 10;
        Returns:
        Whether the combinedBoundsMin field is set.
      • getCombinedBoundsMin

        double getCombinedBoundsMin()
        optional double combined_bounds_min = 10;
        Returns:
        The combinedBoundsMin.
      • hasCombinedBoundsAvg

        boolean hasCombinedBoundsAvg()
        optional double combined_bounds_avg = 11;
        Returns:
        Whether the combinedBoundsAvg field is set.
      • getCombinedBoundsAvg

        double getCombinedBoundsAvg()
        optional double combined_bounds_avg = 11;
        Returns:
        The combinedBoundsAvg.
      • hasCombinedBoundsL2Norm

        boolean hasCombinedBoundsL2Norm()
        optional double combined_bounds_l2_norm = 24;
        Returns:
        Whether the combinedBoundsL2Norm field is set.
      • getCombinedBoundsL2Norm

        double getCombinedBoundsL2Norm()
        optional double combined_bounds_l2_norm = 24;
        Returns:
        The combinedBoundsL2Norm.
      • hasCombinedVariableBoundsMax

        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;
        Returns:
        Whether the combinedVariableBoundsMax field is set.
      • getCombinedVariableBoundsMax

        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;
        Returns:
        The combinedVariableBoundsMax.
      • hasCombinedVariableBoundsMin

        boolean hasCombinedVariableBoundsMin()
        optional double combined_variable_bounds_min = 29;
        Returns:
        Whether the combinedVariableBoundsMin field is set.
      • getCombinedVariableBoundsMin

        double getCombinedVariableBoundsMin()
        optional double combined_variable_bounds_min = 29;
        Returns:
        The combinedVariableBoundsMin.
      • hasCombinedVariableBoundsAvg

        boolean hasCombinedVariableBoundsAvg()
        optional double combined_variable_bounds_avg = 30;
        Returns:
        Whether the combinedVariableBoundsAvg field is set.
      • getCombinedVariableBoundsAvg

        double getCombinedVariableBoundsAvg()
        optional double combined_variable_bounds_avg = 30;
        Returns:
        The combinedVariableBoundsAvg.
      • hasCombinedVariableBoundsL2Norm

        boolean hasCombinedVariableBoundsL2Norm()
        optional double combined_variable_bounds_l2_norm = 31;
        Returns:
        Whether the combinedVariableBoundsL2Norm field is set.
      • getCombinedVariableBoundsL2Norm

        double getCombinedVariableBoundsL2Norm()
        optional double combined_variable_bounds_l2_norm = 31;
        Returns:
        The combinedVariableBoundsL2Norm.
      • hasVariableBoundGapsNumFinite

        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;
        Returns:
        Whether the variableBoundGapsNumFinite field is set.
      • getVariableBoundGapsNumFinite

        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;
        Returns:
        The variableBoundGapsNumFinite.
      • hasVariableBoundGapsMax

        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;
        Returns:
        Whether the variableBoundGapsMax field is set.
      • getVariableBoundGapsMax

        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;
        Returns:
        The variableBoundGapsMax.
      • hasVariableBoundGapsMin

        boolean hasVariableBoundGapsMin()
        optional double variable_bound_gaps_min = 14;
        Returns:
        Whether the variableBoundGapsMin field is set.
      • getVariableBoundGapsMin

        double getVariableBoundGapsMin()
        optional double variable_bound_gaps_min = 14;
        Returns:
        The variableBoundGapsMin.
      • hasVariableBoundGapsAvg

        boolean hasVariableBoundGapsAvg()
        optional double variable_bound_gaps_avg = 15;
        Returns:
        Whether the variableBoundGapsAvg field is set.
      • getVariableBoundGapsAvg

        double getVariableBoundGapsAvg()
        optional double variable_bound_gaps_avg = 15;
        Returns:
        The variableBoundGapsAvg.
      • hasVariableBoundGapsL2Norm

        boolean hasVariableBoundGapsL2Norm()
        optional double variable_bound_gaps_l2_norm = 26;
        Returns:
        Whether the variableBoundGapsL2Norm field is set.
      • getVariableBoundGapsL2Norm

        double getVariableBoundGapsL2Norm()
        optional double variable_bound_gaps_l2_norm = 26;
        Returns:
        The variableBoundGapsL2Norm.
      • hasObjectiveVectorAbsMax

        boolean hasObjectiveVectorAbsMax()
         Statistics of the objective vector. The min is over the nonzero terms.
         
        optional double objective_vector_abs_max = 16;
        Returns:
        Whether the objectiveVectorAbsMax field is set.
      • getObjectiveVectorAbsMax

        double getObjectiveVectorAbsMax()
         Statistics of the objective vector. The min is over the nonzero terms.
         
        optional double objective_vector_abs_max = 16;
        Returns:
        The objectiveVectorAbsMax.
      • hasObjectiveVectorAbsMin

        boolean hasObjectiveVectorAbsMin()
        optional double objective_vector_abs_min = 17;
        Returns:
        Whether the objectiveVectorAbsMin field is set.
      • getObjectiveVectorAbsMin

        double getObjectiveVectorAbsMin()
        optional double objective_vector_abs_min = 17;
        Returns:
        The objectiveVectorAbsMin.
      • hasObjectiveVectorAbsAvg

        boolean hasObjectiveVectorAbsAvg()
        optional double objective_vector_abs_avg = 18;
        Returns:
        Whether the objectiveVectorAbsAvg field is set.
      • getObjectiveVectorAbsAvg

        double getObjectiveVectorAbsAvg()
        optional double objective_vector_abs_avg = 18;
        Returns:
        The objectiveVectorAbsAvg.
      • hasObjectiveVectorL2Norm

        boolean hasObjectiveVectorL2Norm()
        optional double objective_vector_l2_norm = 23;
        Returns:
        Whether the objectiveVectorL2Norm field is set.
      • getObjectiveVectorL2Norm

        double getObjectiveVectorL2Norm()
        optional double objective_vector_l2_norm = 23;
        Returns:
        The objectiveVectorL2Norm.
      • hasObjectiveMatrixNumNonzeros

        boolean hasObjectiveMatrixNumNonzeros()
        optional int64 objective_matrix_num_nonzeros = 19;
        Returns:
        Whether the objectiveMatrixNumNonzeros field is set.
      • getObjectiveMatrixNumNonzeros

        long getObjectiveMatrixNumNonzeros()
        optional int64 objective_matrix_num_nonzeros = 19;
        Returns:
        The objectiveMatrixNumNonzeros.
      • hasObjectiveMatrixAbsMax

        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;
        Returns:
        Whether the objectiveMatrixAbsMax field is set.
      • getObjectiveMatrixAbsMax

        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;
        Returns:
        The objectiveMatrixAbsMax.
      • hasObjectiveMatrixAbsMin

        boolean hasObjectiveMatrixAbsMin()
        optional double objective_matrix_abs_min = 21;
        Returns:
        Whether the objectiveMatrixAbsMin field is set.
      • getObjectiveMatrixAbsMin

        double getObjectiveMatrixAbsMin()
        optional double objective_matrix_abs_min = 21;
        Returns:
        The objectiveMatrixAbsMin.
      • hasObjectiveMatrixAbsAvg

        boolean hasObjectiveMatrixAbsAvg()
        optional double objective_matrix_abs_avg = 22;
        Returns:
        Whether the objectiveMatrixAbsAvg field is set.
      • getObjectiveMatrixAbsAvg

        double getObjectiveMatrixAbsAvg()
        optional double objective_matrix_abs_avg = 22;
        Returns:
        The objectiveMatrixAbsAvg.
      • hasObjectiveMatrixL2Norm

        boolean hasObjectiveMatrixL2Norm()
        optional double objective_matrix_l2_norm = 27;
        Returns:
        Whether the objectiveMatrixL2Norm field is set.
      • getObjectiveMatrixL2Norm

        double getObjectiveMatrixL2Norm()
        optional double objective_matrix_l2_norm = 27;
        Returns:
        The objectiveMatrixL2Norm.