Uploading / validating solutions
Hi
I generated a few solutions according to the explanation from the website.
I am receiving the error:
The solution is invalid
%d format: a number is required, not NoneType

Could we have a better description of the error, or a better explanation for solution file format?

DATASET = VeRoLog challenge 2019 ORTEC Test Instances
NAME = VSC2019_EX01

TRUCK_DISTANCE = 85678
NUMBER_OF_TRUCK_DAYS = 50
NUMBER_OF_TRUCKS_USED = 10
TECHNICIAN_DISTANCE = 46388
NUMBER_OF_TECHNICIAN_DAYS = 55
NUMBER_OF_TECHNICIANS_USED = 12
IDLE_MACHINE_COSTS = 0
TOTAL_COST = 6506200

DAY = 1
NUMBER_OF_TRUCKS = 6
1 4 2 0 12 0 17
2 13 0 19 15
3 30 21 0 22 0 23
4 8 32 0 3 0 24
5 26 0 1 0 9
6 14 0 5
NUMBER_OF_TECHNICIANS = 0

DAY = 2
NUMBER_OF_TRUCKS = 9
1 61 31 0 41 0 47
2 46 0 42 57
3 58 0 64
4 65 0 67
5 68 0 70 0 52
6 72 0 74
7 10 11 0 53
8 33 0 49 0 35
9 40
NUMBER_OF_TECHNICIANS = 8
1 15 22 17
2 19
3 26
4 2 4 12 23 1
5 21 30 32 8 9
6 24
9 13 14 5
10 3

DAY = 3

Thanks in advance
dc
<hidden> - September 23, 2018 10:53 PM
3 Replies:
Dear dc,
try "IDLE_MACHINE_COST" instead of "IDLE_MACHINE_COSTS".
Does this resolve the issue?
Regards,
MJG
<hidden> - September 24, 2018 10:24 AM ( 6 years ago )
This should not be the case, thanks for pointing out this bug!
- VSC 2019 Organization
September 24, 2018 11:45 AM ( 6 years ago )
555
- <hidden>
September 5, 2021 9:23 PM ( 3 years ago )
Dear dc,

Indeed, there is some information missing in our solution format description when it comes to days where no trucks or technicians are used.

All days of the planning horizon should be mentioned in the solution, even when no trucks or technicians are used during that day.
Furthermore, for each day, the NUMBER_OF_TRUCKS and NUMBER_OF_TECHNICIANS parameters should always have a value, even when the value is 0 for that day.

The IDLE_MACHINE_COSTS token is correct, although our validation expects the token IDLE_MACHINE_COST.
This is a bug - thanks to MJG for pointing this out - and we will fix this as soon as possible.
Since this is an optional value in the solution format, we advise to leave it out for now.
When the bug is fixed, we will announce it on the home page of the web site.
Solutions containing the token IDLE_MACHINE_COST will give an error from that point on.

We are working on publishing our validation logic on the website, in order for everyone to validate their solutions locally.

Kind regards
VSC2019
VSC 2019 Organization - September 24, 2018 11:43 AM ( 6 years ago )
The bug in the validator has been fixed. The token IDLE_MACHINE_COSTS works as expected as described in the solution format.
- VSC 2019 Organization
September 28, 2018 1:35 PM ( 6 years ago )
555
- <hidden>
September 5, 2021 9:23 PM ( 3 years ago )
Dear VSC2019-organizers,
thank you for clarifying.
At the moment, the values of the "NUMBER_OF_TRUCKS" and "NUMBER_OF_TECHNICIANS" parameters appear to be ignored. I can successfully upload an (otherwise feasible) solution with incorrect numbers behind those parameters. Found this due to a bug I had which does not show up in the checker.
Sincerely,
MJG
<hidden> - September 24, 2018 1:06 PM ( 6 years ago )
Thanks for pointing this out! Those values were indeed ignored. The validator has been updated and now gives a warning if the values are incorrect.
- VSC 2019 Organization
October 3, 2018 5:09 PM ( 6 years ago )
555
- <hidden>
September 5, 2021 9:23 PM ( 3 years ago )