>I need to calculate the best material length to cut parts from. The inputs are quantity and length. The choice of lengths is 20', 24', 40'. So from a list of quantitys and lengths I need to calculate the least waste and print a list of what to cut from each length. Does any one know a good way to calculate this?
>
>Thanks
I suspect there are more boundary conditions you haven't told us yet - such as availability of each material length, requirements to cut parts in a specific order, etc.
These conditions determine whether the problem is trivial or quite complex.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up