Y
Hacker News
new
|
ask
|
show
|
jobs
by
NotOscarWilde
3099 days ago
Your solution works only in metric spaces. In non-metric spaces (distances are arbitrary and you are forced to return a cycle, not a tour that repeats vertices) no constant-factor approximation is possible.