It turns out that it is not trivial to solve. The average of the participant locations is not necessarily the optimal point. The actual optimal point is called the geometric median.
I made a HTML5 page which visualizes the geometric median, along with the convex cost function: http://www.byronknoll.com/median.html

No comments:
Post a Comment