Shortest Path Problem: Formulation & Solution Using Solver

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 27

  • @karamjeetsingh-f5z
    @karamjeetsingh-f5z 4 місяці тому +1

    Thank you for this video and for explaining the concept.
    I have two questions which i hope you can answer regardimg this
    1) If i want the path to cover all nodes then how to set the constraint
    2) Does the concept allow two way direction like if a point is located at dead end and the only way possible is revisiting the prior nodes
    Really hop you can guide me on this. Thanks

  • @aplepaple9195
    @aplepaple9195 Рік тому +1

    Really neatly explained. Cheers man, I wish my lecturer could do that…

  • @kitirolai
    @kitirolai 3 роки тому +4

    If the path is a double-way, for example, like b can go c and c can go b in the video, what will be the difference in the constraint?

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

    Hello.
    Thank you for putting up your shortest path solution. I am trying to do something similar-but-more complex, and am having trouble, and I was wondering if you could give me some guidance.
    What I want to in Excel with shortest paths is:
    1) layout a large m-by-n matrix of nodes, with distances in meters between them. I'll use pseudo-chess-board nomenclature with one axis being A-Z and one axis being numbered 1-n (calling nodes "A1", "C3", "F7", etc)
    2) have the ability to request multiple shortest paths from (say) B3->F8, G2->A14, F2->R23, etc
    3) partially congest a route based on previous paths. For example, if a route is found it may be tagged as 25% congested between two nodes. Another route may add to this. Eventually the route would be congested, and an alternative shortest path would have to be found.
    4) ideally I'd like to make it iteratively optimise, but I realise that may be impossible to do in Excel, so the above congestion may have be sequentially built in
    Do you know of any examples where such a thing has been done?
    Thank you in advance,
    Adam

  • @رِهامعدنانحنونأبوالهيل

    Hlello
    What is the name of the program that we program this disktra's and prim 's algorithm on?
    And what is the algorithm for each grant?
    And thank you✨

  • @dhiazalfanadifah996
    @dhiazalfanadifah996 4 роки тому +2

    its very useful for me, Thank you so much

  • @hfdez
    @hfdez 3 роки тому +2

    Hello: Thank you, I used a lot.Hossein Fathi

  • @yashvichauhan1198
    @yashvichauhan1198 Рік тому +1

    Why are we using 100 or large numbers where no distance is given ??

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

      You can select any large number, but the condition is, it should be larger than any other number in the distance matrix.

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

    thank you. i used it. have a good day!

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

    please continue

  • @jiran1234
    @jiran1234  4 роки тому

    Please feel free to ask any questions.

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

    Hi Sir,
    May I ask if you own the Linear integer programming formulation of a shortest path problem presented in your YT video, so that I may cite you in my research studies? Hoping for a positive response. Thank you.

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

      If you find it useful, you are free to do that. This is a standard formulation, but I have adapted the same for this explanation.

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

      @@jiran1234 Thanks for the response, sir. In connection with that, may I know the reference (author) you cite for your equation? Hoping for a positive response. Thank you so much.

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

    why do we need to add the "large" numbers?

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

      Where there is no connection between the nodes in the network, you are not allowed to take that route and this can be assured in Excel calculation by putting a very large positive number ( much larger than any number in the distance matrix).

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

    Do you have a method for solving minimum spanning tree in excel?

    • @jiran1234
      @jiran1234  3 роки тому

      Yes, we can do it using easily downloadable external excel add in

  • @eka6176
    @eka6176 9 місяців тому

    thank you for tutorial.

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

    Good work
    Plz Can you give us Excel file ?

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

    Can you show us in Python? Thanks for the video

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

      I am sorry, I have not worked using python.