CodePudding user response:
Linear programming, the optimal solution to iterate through all the situation,Feel there should be two direction, profile priority, priority, or joint is the high cost of costs (the cost of materials, workload),
The final cost may draw an intermediate value,
Iterate through all the routes, cloth cut profiles, until more cloth a route, more than
And then according to the residual length from long to short,
Traverse line, until all the line fill out
Judgment to be distributed library [there is always 1. The whole profile] whether there is a suitable material [here is likely to set the parameters, more than the percentage (or length), direct use, remaining discarded, avoid], residual volume cutting by route, the rest of the a in the library to be distributed
For distribution in the library than the entire length of profiles, retrieval matches the range line, such as accuracy, direct use,
A train of thought, don't know what wrong,