pykp.solvers.

SolutionStatistics#

class pykp.solvers.SolutionStatistics(time: float, n_solutions: int, cost: int)#

Statistics about the solution returned by a solver.

Parameters:
timefloat

Time taken by the solver to find the solution.

cost: int

A measure of the computational effort required to find the solution. It is usually the number of iterations or the number of evaluations of the objective function.

n_solutionsint

Number of solutions found by the solver.