You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote some 3D intersection code to exhaustively verify the box packer results (1. all packed items inside container. 2. all packed items are geometrically disjoint) and found that the optimal output for the input rnd04.txt seems odd. One of the boxes in rnd04.out has a negative COOR-Z, specifically box 409:
It's a 19 years old bug, I was about to create an issue when I saw yours.
I found it today while I was refactoring a java version of this.
The problem is at line 636.
There is no need to decrement cboxx twice from smallestz.cumx, to then define the x-position for the box.
I won't create a pull request, as the README says this repo is only for posterity.
I wrote some 3D intersection code to exhaustively verify the box packer results (1. all packed items inside container. 2. all packed items are geometrically disjoint) and found that the optimal output for the input
rnd04.txt
seems odd. One of the boxes inrnd04.out
has a negativeCOOR-Z
, specifically box 409:I also found this set of items (including Box 409) which violate the geometric constraints:
I have tested all other provided scenarios without fail, curious what your thoughts are!
Thanks,
Garrett
The text was updated successfully, but these errors were encountered: