A logging firm gets logs from its supplier of and (and can get as many of each as he needs). The firm needs to produce logs of lengths , , and and needs , , and of these lengths respectively. The firm needs to know how to cut the logs up so the total excess is minimized. How should the firm cut up the logs? The firm can stockpile any excess logs of , , or lengths at no cost.

So let number of logs cut, number of logs cut and number of logs cut.

Then we want to minimize: subject to constraints .

Can you rule out the case altogether because (excess = 0)? Then formulate as s.t. the same constraints as above?

Is this correct?