4.4.1. ビンパッキング問題¶
ビンパッキング問題を列生成法で解くサンプルです.
- class sample.bin_packing.BinPacking(binsize: int, sizevalue: dict[str, int])[ソース]¶
ベースクラス:
sample.column_generator.ColumnGenerator
ビンパッキング問題
- create_new_pattern(lmbval: pysimple.table.Table, *, silent: bool = True) tuple[pysimple.table.Table, pysimple.table.Table] [ソース]¶
ビンに収まるアイテムの組合せを 1 つ生成する
- visualize(zval: pysimple.table.Table) None [ソース]¶
結果表示
- sample.bin_packing.at_once(binsize: int, sizevalue: dict[str, int], *, silent: bool = True) None [ソース]¶
一度に全部解く