-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong result for self-defined inputs #1
Comments
The result of my test case is: It can be found that box 6 and box 7 are overlapped. |
Hey @Magic-Fang. is the problem still present? I see the overlap but I'm not sure what might be causing it. |
Hi @Magic-Fang were you able to fix the overlap error? I have the same issue when I use my own data sets. Also, I would like to add different dimensions of the pallet in a single run. Is it possible to do that? |
Hi @alanbato, and thank you very much for this library. I found the problem that causes the overlapping of boxes. Basically when the algorithm goes from right to left (situation 2) at a certain point the coordinates are updated considering the highest x of the last box placed, while there are previous boxes already packed which are occupying space. |
error solved:
|
Hi @lucabonno Thank you for your interest in the project and for finding a solution for this long-lasting problem. |
System: ubuntu 14.04 LTS
Environment: Python 3.6.4
Description: I set my own test case to run the palletier but the solver.print_solution() function print the wrong answer, in which two object are overlapped. My test case is as follow:
6.text
1
120, 100, 120
40, 26, 22, 4
35, 21, 29, 4
30, 44, 24, 4
Is it the problem of my setting of pallet dims?
The text was updated successfully, but these errors were encountered: