Package cplex :: Class Stats
 

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:

An instance of this class always has the following float members:

An instance of this class returned by an instance of the Cplex class with a quadratic objective also has the following float members:

An instance of this class returned by an instance of the Cplex class with ranged constraints also has the following float members:

An instance of this class returned by an instance of the Cplex class with quadratic constraints also has the following float members:

An instance of this class returned by an instance of the Cplex class with indicator constraints also has the following float members:

An instance of this class returned by an instance of the Cplex class with lazy constraints also has the following float members:

An instance of this class returned by an instance of the Cplex class with user cuts also has the following float members:

Instance Methods
 
__str__(self)
Returns a string containing a summary of the problem statistics in human readable form.