Skip to content

Fixed item quantity bug in shirts.xml.json#179

Merged
fontanf merged 2 commits intofontanf:masterfrom
JeroenGar:master
Mar 27, 2025
Merged

Fixed item quantity bug in shirts.xml.json#179
fontanf merged 2 commits intofontanf:masterfrom
JeroenGar:master

Conversation

@JeroenGar
Copy link
Contributor

Fixed a bug with the quantity of one of the items in the shirts benchmark instance.
It is supposed to have 99 items in total.

Before:

Instance
--------
Objective:                    OpenDimensionX
Number of item types:         8
Number of items:              85
Number of bin types:          1

After:

Instance
--------
Objective:                    OpenDimensionX
Number of item types:         8
Number of items:              99
Number of bin types:          1

@fontanf
Copy link
Owner

fontanf commented Mar 27, 2025

There seems to be a mismatch between the original txt file and xml file

<piece id="piece4" quantity="1">
<orientation>
<enumeration angle="0" />
<enumeration angle="180" />
</orientation>
<component idPolygon="polygon5" type="0" xOffset="0" yOffset="0" />
</piece>

PIECE 5
QUANTITY
15
NUMBER OF VERTICES
4
VERTICES (X,Y)
0 0
8 0
7 1
1 1

It's probably worth reporting there as well

@JeroenGar
Copy link
Contributor Author

JeroenGar commented Mar 27, 2025

Good catch, now the xml file is fixed too.
And I also uploaded a fixed shirts_2007-05-15.zip to the ESICUP website.

@fontanf fontanf merged commit 8dca7f9 into fontanf:master Mar 27, 2025
4 checks passed
@fontanf
Copy link
Owner

fontanf commented Mar 27, 2025

Perfect, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants