Shelf Space Optimization Routine
1 次查看(过去 30 天)
显示 更早的评论
From where do I start, given a number of paint tins of different heights and diameters I need to maximise the number of tins in a given shelf space with given length, breadth and height?
An optimization problem ...
Thanks
4 个评论
John D'Errico
2020-7-4
Start by deciding what you need to optimize. What do you want to solve? This is not even close to being a MATLAB problem. Not until you understand the mathematics does anything really become a programming problem. What shape are the tins? Circular cans, so right circular cylinders with varying radii and heights? Rectangular, in some shapes? Are the shapes and sizes known in advance, or are they random from some distribution?
You might want to read about packing problems. Perhaps the knapsack problem. Perhaps circle packing might be appropriate. You could also read about the cutting stock problem. We don't know, becaue you have said nothing about the shape of the objects you will be packing. But don't bother trying to write code to do anything at all, until you know what you need to solve.
And no. We won't write your code for you, in case that is where you might be going. I will point out that all of the named problems of this form are difficult to solve.
You do need to do some reading however.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!