NumberPartition.interpret

NumberPartition.interpret(result)[ソース]

Interpret a result as a list of subsets

パラメータ:

result (OptimizationResult | ndarray) – The calculated result of the problem

戻り値:

A list of subsets whose sum is the half of the total.

戻り値の型:

List[List[int]]