Solving the Travelling Salesman Problem using Ant Colony Optimization

Поділитися
Вставка
  • Опубліковано 15 лип 2024
  • I was tinkering around with the Godot game engine, and decided to write this TSP solver using ACO over a weekend. Hope you enjoy the video!
    The code can be found here : github.com/hsaikia/Travelling...

КОМЕНТАРІ • 14

  • @patrickstival6179
    @patrickstival6179 2 роки тому +2

    Nice video. I should probably try to implement this

  • @wolfinthesuit
    @wolfinthesuit 2 роки тому +21

    I hate those damn salesmen can't they solve they problems? I already have problems by my own!!

  • @CosmicLF
    @CosmicLF Рік тому

    You are amazing this helped me so much

  • @mohsenabdelaziz9476
    @mohsenabdelaziz9476 3 роки тому +1

    thanks alot for ur great work

  • @aenber
    @aenber Рік тому

    Really good Video:) thank you 😊

  • @greglouis5779
    @greglouis5779 2 роки тому

    What if my graph have n number of nodes, how can I modify the ACO to travel from a specific source to a specific destination without passing through all the n number of nodes but only the nodes to the destination and that's it?

    • @learnbyexample24
      @learnbyexample24  2 роки тому

      You just have to sample paths from the source S to the destination D, rather than all sources and destinations.

  • @tamseel101
    @tamseel101 Рік тому

    I used your code but it only generated graph. What do u do to auto solve after run?

    • @learnbyexample24
      @learnbyexample24  Рік тому

      You got to check the key binding for the 'optimize' action.

  • @36nibs
    @36nibs 2 роки тому

    this doesnt account for alternative directions and axis since its an ant colony you should have 6 axis (up and down) of direction instead of 4 (compass directions)

    • @learnbyexample24
      @learnbyexample24  2 роки тому +1

      The graph is a planar embedding only, actual physical paths can be three dimensional sure.

  • @cheezeworm
    @cheezeworm Рік тому

    tsp is not np-complete...