로컬에서 처리됨Rust WASM컴퓨팅 집중적2-opt

경로 최적화

Rust WASM의 근접 이웃 + 2-opt를 사용하여 여행 판매자 문제를 해결하고, 점을 추가하거나 무작위로 지정하여 최단 경로를 SVG로 내보내세요.

컴퓨팅 집중적

2-opt evaluates swaps across many pairs of points; more points and iterations take longer.

Route optimization

40 points
Points40
Route length—
Time0.00s

Click the canvas to add points; the shortest route appears after optimization.

Route canvas

Not optimized