The Matlab Semi-Annual Contest Grand Finale is Knots.
This Challenge is to Speed up the Scoring routine that counts the number of Knots.
Details and examples are at Knots Rules.
Input: [adjacency xy]
Output: nKnots; Number of Knots
Scoring: Speed; Based on cumulative time of Knots [ 3 6 15 18 24 30 37 42 46 49]; Nominal Time 9.7 sec
Baseline Knot Contest Knot scoring for all 50 test cases is 63 seconds on Cody.
The Knots Contest GradeIt function is not the number of Knots. FYI
if possible could you fix the url in this problem testsuite? (and perhaps also in the Rubik's series as well? it seems tinyurls tend to have a short life...)
not really sure, but perhaps there are some numerical precision issues for some of the near-colinear cases in the testsuite? (if so perhaps it would be useful to resample the testsuite nodes to remove colinear or near-colinear cases?)
The expected knots table was based upon the Official slow scoring method. The docross function creates many warning messages "Warning: Matrix is singular to working precision. ". A single case, #3, takes >0.3 seconds versus expected 0.01 seconds.
5736 Solvers
153 Solvers
367 Solvers
25 Solvers
Find the list of all open files
35 Solvers