Cutting stock problem

Hello,

This is called the Cutting Stock problem and you will find some more discussions on this forum under similar names