# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 166 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
Name |
---|
nothing about Codeforces Round #258?
i'm a bit disappointed! :(
EDIT: hmm, i guess it's because it was a Div-2 only round. Petr never mentions those in his blogs.
Can't find any discussion of your heuristic solution of TCO-Round-3A hard problem.
You have implemented (as far as I understand your solution) a heuristic for shortest Hamiltonian path, namely local search with random restarts. Local search checks every 2-opt operator (in random order) and applies it if it improves answer.
It is interesting to know what your intuition was and how much evidence you had that this heuristic will find optimal answers on 50-vertex graph of this problem, especially if we mind the fact that 2-opt heuristic is not the most powerful (unlike 3-opt or Lin–Kernighan for example)?
I'm planning to write a separate blog post about that solution.
Thanks for the links to 2-opt, 3-opt and Lin-Kernighan! I was not aware of the publications on this subject.
In short, my situation was quite straightforward: I understood the problem statement incorrectly (I didn't notice that tubes were not intersecting), and couldn't come up with a solution, so I decided to implement a heuristic which I remembered working well in a IOI 2002 practice problem (http://www.ioi2002.or.kr/eng/PracticeCompetitionMaterial/red.pdf). I was expecting it to fail :)