What is the Traveling Salesman Problem?

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 31

  • @pamward7579
    @pamward7579 2 года назад +42

    I often use real-world examples to explain to my middle school math students why some of the more arcane things we do have applications. This video is really terrific and even my six graders understood it. They always ask what they’re ever going to do with some of the math subjects we cover, and now I can show them something practical.

  • @riyamani8161
    @riyamani8161 3 года назад +42

    The traveling salesman problem allows us to find the shortest or the longest path used to travel to all the given areas once and return to the starting point. There are various methods used to find this out. There is no perfect solution but an optimal solution can be selected and implemented.

  • @neerajmahapatra5239
    @neerajmahapatra5239 2 года назад +6

    This is amazing video! Lots of you tubers just start teaching the logic and solving the problem without stating the usage of the problem by relating it to real life scenarios.

  • @wolfinthesuit
    @wolfinthesuit 3 года назад +11

    Enroll in IT they said, it will be easy they said

  • @adityabehera3982
    @adityabehera3982 3 года назад +4

    Traveling Salesman Problem allows us to choose an optimal path, for example, when we need a school bus to visit many different houses in a city.

  • @Jkauppa
    @Jkauppa 2 года назад +2

    try sorting all edge lengths, amount ½n^2, n is location count, then try the permutations until you have a guaranteed shortest loop path

    • @Jkauppa
      @Jkauppa 2 года назад

      so you travel edges, not permutating the target (cities, locations)

    • @Jkauppa
      @Jkauppa 2 года назад

      it gives even more permutations to test, but gives an actual solution

    • @Jkauppa
      @Jkauppa 2 года назад

      graph theory solution

    • @Jkauppa
      @Jkauppa 2 года назад

      try djisktra shortest path algorithm, breadth first on all location starting points

    • @Jkauppa
      @Jkauppa 2 года назад

      please note, not all permutations are unique routes

  • @kloassie
    @kloassie Год назад +2

    Explain the christofian 1.5 solution and give an heuristic example as well please

  • @willjadsonevania9787
    @willjadsonevania9787 Год назад

    teacher I developed a heuristic and would like to share it. My heuristic uses topology and concentric circles. What do you think?.

  • @bastiyourdeveloper5744
    @bastiyourdeveloper5744 3 года назад +2

    Hi - perfect video - nice pics :-)
    Just FYI: the current fastest exact Algorithm is: Bellmann-Held-Karp O(2^n)

  • @Bioassasin01
    @Bioassasin01 2 года назад

    Wait... this makes no sense, why did you cut out the part with the farmer and the 3 holes in the wall?

  • @thatgameguy4929
    @thatgameguy4929 2 года назад

    Have you tried slime mold?

  • @marcusaurelius8030
    @marcusaurelius8030 Год назад

    how the hell is this O(n!) ??

  • @larubiano0
    @larubiano0 3 года назад

    Nice thanks

  • @johnstfleur3987
    @johnstfleur3987 2 года назад

    YES.

  • @EXEFaker
    @EXEFaker Год назад

    Imagine being a Salesman and this actually happens (I k it can happen irl on godddd it's a joke)

  • @EighthHouseTarot
    @EighthHouseTarot 3 года назад +5

    THIS GUY'S VOICE NEEDS TO BE LESS MOISTURE-SMACKING

    • @Ma_rkw589
      @Ma_rkw589 2 года назад +2

      Euuuugh god I know

  • @kaanakgul9691
    @kaanakgul9691 6 месяцев назад +2

    drink some water man

  • @dimitrijmaslov1209
    @dimitrijmaslov1209 3 года назад

    .

  • @aleksszukovskis2074
    @aleksszukovskis2074 3 года назад +2

    first