ローカルで処理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 pointsPoints40
Route length—
Time0.00s
Click the canvas to add points; the shortest route appears after optimization.
Route canvas
Not optimized