English
Languages
English
Bengali
Japanese
Shortcuts



BinPacking.get_figure

BinPacking.get_figure(result)[source]

Get plot of the solution of the Bin Packing Problem.

Parameters

result (Union[OptimizationResult, ndarray]) – The calculated result of the problem

Returns

A plot of the solution, where x and y represent the bins and sum of the weights respectively.

Return type

fig