Skip to content
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

Error when adding configurationsFile to scenario.txt in ACOTSP example #71

Closed
ivan1arriola opened this issue Oct 9, 2024 · 1 comment

Comments

@ivan1arriola
Copy link

Description

I encountered an error when adding the line configurationsFile = 'default.txt' to scenario.txt and executing irace -c. The process fails with an assertion error related to column names.

## end of irace scenario
# 2024-10-09 17:32:18 -03: Checking target runner.
# 2024-10-09 17:32:18 -03: Read 1 configuration(s) from file '/home/ivan/acotsp/default.txt'
  algorithm localsearch alpha beta  rho ants nnls  dlb   q0 rasrank elitistants
1        as           0   1.0  1.0 0.95   10 <NA> <NA> <NA>    <NA>        <NA>
Error: == irace == 'all(colnames(configurations) == colnames(initConfigurations))' is not TRUE
4: irace.assert(all(colnames(configurations) == colnames(initConfigurations)))
3: checkTargetFiles(scenario = scenario)
2: checkIraceScenario(scenario)
1: irace_cmdline()
== irace == An unexpected condition occurred. Please report this bug to the authors of the irace package <https://github.com/MLopez-Ibanez/irace/issues>
@MLopez-Ibanez
Copy link
Owner

MLopez-Ibanez commented Oct 11, 2024

Could you attach (or paste in the reply) the scenario.txt and parameters.txt file that you are using? Also, which version is printed at the top when you run irace?

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

No branches or pull requests

2 participants