Why is Developer.packBins restricted to "maximum of 2 bins"?
Posted: Wed Aug 30, 2023 11:02 am
HI there,
The documentation of PTV Developer.LoadingSpaceOptimization.packBins says:
Bernd
The documentation of PTV Developer.LoadingSpaceOptimization.packBins says:
This raises two questions:Specifies a packing problem consisting of a number of up to 100 items of various types that get packed into up to 2 bins of various types. Items as well as bins are always of cuboid shape.
- Why is it restricted to 2 bins? - Answer: "Hi Bernd, you are referring here to the synchronous packBins request. Since it is synchronous, it is expected to quickly return an answer. And because the calculation time can increase sensitively when multiple bins are used, we decided to focus only on the use case of optimizing load for a truck that may have an additional trailer (thus 2 bins), for the sync operation."
- How to get rid of this obstacle if you need to plan more than 2 bins? - Answer: "If more bins are needed, then it is possible to use the asynchronous operations."
Bernd