MATLAB Programming Contest Blog
May 16th, 2007
Yi Cao wins the prize
The contest is over, the queue is clear, and the results are in. Our heartiest congratulations go to contest veteran Yi Cao for his winning entry Buy a ticket. We’ll be sending him his Solitaire game board and some other assorted MATLAB goodies.
Yi has a highly decorated career as a MATLAB Programming Contest participant (see his multiple Hall of Fame entries) but this is his first Grand Prize. If you’re wondering what it takes to win a contest these days, be sure and read the fascinating discussion in the contest newsgroup thread. As the contest has evolved, winning strategies have gotten more subtle, to the point that they now include active surveillance of the competition, tracking and identifying people working under assumed names, and simultaneous combinations of code from multiple entries. Well done!
We’d love to hear about your favorite strategies, either in comments here or on the newsgroup. We especially enjoy hearing “war stories” about your how your entries were developed and the unexpected twists you encountered as you played the contest.
Thanks to everyone for playing, or just visiting and watching. We had a great time hosting the contest. See you in six months!
16:26 UTC |
Posted in Peg Solitaire |
Permalink |
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.
Leave a Reply
|
My Twilight code was developed through the following path:
1. Improve the initial Mathwork team code by retuning a maximum score move.
2. Convert the above code to be a loop until no move can be made.
3. Store scores contributed by each move, then at the end cut final negative moves.
4. Implement a way to check available second consective moves.
5. Introduce a tuning parameter to weight the score contributed by second consecutive moves.
The 4th step makes the code is more efficient than others while the last step enables me to win the twilight prize. As I expected, this code immediately was taken by contesters to tune and to improve. The improvement continued until the final.
During this contest, I did not have much time to work online, hence decided to work offline to concentrate on developing algorithms, for example, three consecutive moves, recurrent consecutive moves, but allmost all were beaten by well tuned leading codes. On Tuesday, I decided to submit my code (CollaborationSolver) with several improvements for the Leap prize. However, it even did not get to the top but was taken by Jin then SY to win the prize. That pushed me to find other improvements to the code and to hold the code until final minutes. I knew it is not enough to win the final by just submit the improved code. Hence, in the final hour, I kept watching the queue to find new codes and successful tuning parameters, combined these codes with my code into five different versions, and finally submitted them within final 5 minutes.
Allthough I have won several mid-contest prizes before, but this is my first time to win a mid-contest prize before datlight and to win a Grand Prize. This is the best contest I had. Thanks to MAthwork Team to organize this intersting event.
See you all in six months.
Yi Cao