Math beginner here. Say I have the following items
Marsbar: sugar 100/lb, salt 5/lb, price $4/lb, inventory: 40lb
Twix: sugar 100/lb, salt 9/lb, price $7/lb, inventory: 9lb
Bounty: sugar 105/lb, salt 4/lb, price $3/lb, inventory: 10lb
and I need to make a 3 lb blend of these items to the lowest price, where the minimum criteria for the blend is:
sugar: 101/lb, salt: 6/lb
Does anyone know how to solve this or can maybe give me a hint, and potentially with more properties than sugar and salt?