iRace & Matlab - Tutorial

218 views
Skip to first unread message

Amirhossein Moosavi

unread,
Jun 13, 2021, 4:14:27 PM6/13/21
to The irace package: Iterated Racing for Automatic Configuration
Hello,

I have prepared a brief tutorial for those who want to use iRace for algorithms coded in MATLAB. Hopefully, this is helpful for you.

Note that I have tested this method on Linux. Unfortunately, I have no idea how it is different on Windows OS.

Download the attachment from here.

Let me know if you have any problems.

Best, Amirhossein.

Manuel López-Ibáñez

unread,
Jun 25, 2021, 6:12:25 AM6/25/21
to The irace package: Iterated Racing for Automatic Configuration
Dear Amirhossein,

This is very cool and you even have a nice video! Have you thought about hosting the files in github or Zenodo for example and maybe also upload the video to Youtube? If the files are in github, people could suggest improvements over time.

I'm afraid that the files in sharepoint may disappear in a few years. Also, it seems in sharepoint I need to download everything before being able to read the PDF or watch the video.

Can I add a link to these files to the irace user-guide?

Best wishes,

Manuel.

Amirhossein Moosavi

unread,
Jul 16, 2021, 4:22:10 PM7/16/21
to The irace package: Iterated Racing for Automatic Configuration
Dear Manuel,

Sorry for my late reply. As per as your suggestion, I have created a repository on github: https://github.com/TheMadPro/iRace-for-MATLAB
Furthermore, I have uploaded the video on YouTube: https://youtu.be/dHg8blEteYg

You can definitely add a link to the irace-guide. Please let me know if I can do any other help.

Best, Amirhossein.

Manuel López-Ibáñez

unread,
Jul 28, 2021, 3:32:20 AM7/28/21
to The irace package: Iterated Racing for Automatic Configuration
Dear Amirhossein,

This is great. Just two minor things:

* I believe it will be better to upload the files to github uncompressed (without .rar) so that search engines can find them more easily and also people can browse the content of the files without having to use RAR to decompress them. If the files are uncompressed, it is also easy to link to specific lines of the files. See next example.

* I noticed that you do not use the 'seed' value passed by irace to target-runner. It is important to use this value to initialize the random number generator of MATLAB.
Otherwise, every run will use the same random numbers, which is wrong. An example is shown here: https://github.com/MLopez-Ibanez/irace/blob/d7e59aa132913a36fde47c0ee110c58252bc5621/inst/examples/matlab/Main.m#L8

Cheers,

Manuel.

D P

unread,
Oct 24, 2021, 10:46:06 PM10/24/21
to The irace package: Iterated Racing for Automatic Configuration
Hello, I used this code however it did not generate the final file irace.Rdata, can you help me?
Reply all
Reply to author
Forward
0 new messages