Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate best material length
Message
From
16/02/2001 00:20:18
 
 
To
14/02/2001 15:38:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00476005
Message ID:
00476580
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform