For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
balanced_packing
balanced_packing()
max.pipelines.lib.eplb_rebalance.balanced_packing(weight, num_packs)
Pack n weighted objects into num_packs packs evenly.
Each pack contains exactly n / num_packs objects, with weights balanced as much as possible by greedy assignment.