ScratchData LogoScratchData
Back to Nishpish's profile

Simulated Annealing: Traveling Salesperson Problem

NINishpish•Created January 10, 2021
Simulated Annealing: Traveling Salesperson Problem
112
89
669 views
View on Scratch

Description

This project uses a technique called simulated annealing to find a good (if not optimal) solution to the traveling salesperson problem. The problem is to find the shortest possible route which visits each city (point) and returns to the first city. Press “Generate” to generate random points or “Place” to place your own. You can maximize the path length instead by toggling the switch. If you watch the path changing, you will notice how at first it seems to find random combinations, but then narrows down the path and makes progressively smaller tweaks. Similar project: https://www.fourmilab.ch/documents/travelling/anneal/ Same project at much faster speed: https://turbowarp.org/472033734/fullscreen?turbo&fps=60&hqpen

Project Details

Project ID472033734
CreatedJanuary 10, 2021
Last ModifiedAugust 8, 2021
SharedJanuary 10, 2021
Visibilityvisible
CommentsAllowed