Hello again,
You can try this logFile: https://drive.google.com/file/d/1ihbeKFxCdK9A-ZHGWpZ06zUYmi_Lbjgh/view?usp=sharing
and execute these lines:
all.exp <- iraceResults$experiments[,as.character(c(1,2,3))]
all.exp
pair.id <- which(!is.na(all.exp),arr.ind = TRUE)[,"row"]
pair.id <- which(!is.na(all.exp))
#Get index of each instance used
index_instances <- iraceResults$state$.irace$instancesList[pair.id, "instance"]
tmp <- iraceResults$scenario$instances[index_instances]
You will see that with the version in the pdf: you get 25 instances used while the matrix all.exp shows that there are 10 on the first three config.
Hi Thomas,
The example there is designed to work when all.exp is a vector, so is.na() and which() return vectors.
If you select two configurations or more, then all.exp is a matrix and, you would need to choose of these two options: