Hi,
I am trying to optimize the process of cutting pieces of wood of different lengths from precut planks. In other words, I would like to waste the least amount of wood after the jof is done.
Here is the example.
I need to buy "n" 12in planks
I have to cut (neglecting the 1/16 waste produced by the cutting blade):
8 pieces of 1in
5 pieces of 3in
2 pieces of 5in
The trick is to find "n" and provide a list of the pieces per plank.
I need help creating a formula, macro or VB script to sort the pieces such that I maximize the total length of the cuts with respect to the plank length.
Cheers/
Bookmarks