Algorithm · Roblox · Hard
An industrial bakery is designing an automated line from a catalog of equipment modules. Every module has one of three kinds: Mixer, Oven, or Packer. Catalog item i also has an upfront purchase price buildCost[i] and a steady-state capacity throughput[i], measured in loaves per hour. Each catalog item may be bought at most once. You are given the catalog, a total budget B, the revenue per loaf price, the direct production cost per loaf variableCost, and a depreciation rate…
Checking your access…