Class Stats
A class whose data members reflect statistics about a CPLEX
problem.
An instance of this class is returned by the Cplex.get_stats()
method.
The __str__ method of this class returns a string containing a
summary of the problem statistics in human readable form.
An instance of this class always has the following integer members:
- num_objectives
- num_variables
- num_nonnegative
- num_fixed
- num_boxed
- num_free
- num_other
- num_binary
- num_integer
- num_semicontinuous
- num_semiinteger
- num_quadratic_variables
- num_linear_objective_nz
- num_quadratic_objective_nz
- num_linear_constraints
- num_linear_less
- num_linear_equal
- num_linear_greater
- num_linear_range
- num_linear_nz
- num_linear_rhs_nz
- num_indicator_constraints
- num_indicator_less
- num_indicator_equal
- num_indicator_greater
- num_indicator_complemented
- num_indicator_nz
- num_indicator_rhs_nz
- num_quadratic_constraints
- num_quadratic_less
- num_quadratic_greater
- num_quadratic_linear_nz
- num_quadratic_nz
- num_quadratic_rhs_nz
- num_SOS_constraints
- num_SOS1
- num_SOS1_members
- type_SOS1
- num_SOS2
- num_SOS2_members
- type_SOS2
- num_lazy_constraints
- num_lazy_nnz
- num_lazy_lt
- num_lazy_eq
- num_lazy_gt
- num_lazy_rhs_nnz
- num_user_cuts
- num_user_cuts_nnz
- num_user_cuts_lt
- num_user_cuts_eq
- num_user_cuts_gt
- num_user_cuts_rhs_nnz
- num_pwl_constraints
- num_pwl_breaks
An instance of this class always has the following float members:
- min_lower_bound
- max_upper_bound
- min_linear_objective
- max_linear_objective
- min_linear_constraints
- max_linear_constraints
- min_linear_constraints_rhs
- max_linear_constraints_rhs
An instance of this class returned by an instance of the Cplex
class with a quadratic objective also has the following float
members:
- min_quadratic_objective
- max_quadratic_objective
An instance of this class returned by an instance of the Cplex
class with ranged constraints also has the following float
members:
- min_linear_range
- max_linear_range
An instance of this class returned by an instance of the Cplex
class with quadratic constraints also has the following float
members:
- min_quadratic_linear
- max_quadratic_linear
- min_quadratic
- max_quadratic
- min_quadratic_rhs
- max_quadratic_rhs
An instance of this class returned by an instance of the Cplex
class with indicator constraints also has the following float
members:
- min_indicator
- max_indicator
- min_indicator_rhs
- max_indicator_rhs
An instance of this class returned by an instance of the Cplex
class with lazy constraints also has the following float members:
- min_lazy_constraint
- max_lazy_constraint
- min_lazy_constraint_rhs
- max_lazy_constraint_rhs
An instance of this class returned by an instance of the Cplex
class with user cuts also has the following float members:
- min_user_cut
- max_user_cut
- min_user_cut_rhs
- max_user_cut_rhs
|
|
__str__(self)
Returns a string containing a summary of the problem
statistics in human readable form. |
|
|