MLopez-Ibanez / irace

Iterated Racing for Automatic Algorithm Configuration
https://mlopez-ibanez.github.io/irace/
GNU General Public License v2.0
58 stars 14 forks source link

<NA> does not match configuration file format #55

Closed TheIronBorn closed 1 year ago

TheIronBorn commented 1 year ago

The <NA> value of not applicable categorical parameters in the elite configuration list does not match the expected format of the configurations file. To make it match I have to change all occurrences to NA.

Changing either the output format or the expected file format to match would be appreciated

MLopez-Ibanez commented 1 year ago

Hi, could you give me an example that I can reproduce? I will be more than happy to fix this if I knew how to trigger the problem.

TheIronBorn commented 1 year ago

configurations.txt: (from the elite configuration list output)

  foo  foo2
1   0 false
2   1  <NA>

parameters.txt:

foo "--foo " i (0, 1)
foo2 "--foo2 " c (true, false) | foo == 0

Produces:

Error: == irace == Configuration number 2 from file /configurations.txt is invalid because parameter "foo2" is not enabled because of condition "foo == 0" but its value is "" instead of NA