This is my second contest participation. Unfortunately I couldn't attend the first stages of the contest, so I studied the best entries a the begin of the Daylight. During the wiring contest I succeeded in speeding up the entries of other participants (however I didn't succeed in winning). This time, on the contrary, it was nearly impossible to speed up the existent entries, so I decided to study other strategies:
- to use the scent of the opposing ants (ignored by the best entries)
- to use the death scent (ignored by the best entries)
- to avoid to have my ants walking together
Unfortunately these ideas came to nothing on my notebook. The result of an entry is rather determined by the behavior of the random generator, so I had to run very long simulations in order to understand which was the best algorithm (I extended also the sample testsuite with some hand-designed tests, as I had done in the wiring contest).
All the tested solvers didn't seem to be particularly good. The parameters tuning was difficult too and anyway it had already been done by other participants.
During the last day I did not planned to participate to the final rush because I had not good ideas. However I thought suddenly to a smart (?) tweaking strategy: to alter the behavior of the best entries only when the game is well developed. Precisely, if some ant of mine find a lot of scent of the opposing ants, then the game is probably in a intermediate/late stage, so it could be a good moment to change the behavior of the random generator in order to explore the solution space without losing the good job done by the original solver.
Surely I was lucky, the point is that in my final attempts there were the entry with the best score of the last day (but with a bad execution time) and the entry with the best result (the winner one!).
Finally, I congratulate the MathWorks staff for these interesting contests and the participants: I have improved my MATLAB programming skills reading the code written by other people with the goal of efficiency and performance.