pykp.solvers.
Solution#
- class pykp.solvers.Solution(value: bool | Arrangement | list[Arrangement], type: SolutionType, statistics: SolutionStatistics)#
Represents a solution returned by a solver.
- Parameters:
- value: bool | Arrangement | list[Arrangement]
The arrangement of items in the solution.
- type: SolutionType
The type of the solution.
- statistics: SolutionStatistics
Statistics about the algorithm to obtain the solution.
See also
SolutionTypeTypes of solutions that can be returned by a solver.
SolutionStatisticsStatistics about the solution returned by a solver.