14. Shortest Path Problem | Optimization using Excel

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • This is the 14th video of the lecture series 'Optimization using Excel'. In this video, we have described how to solve a specific type of network flow model - The Shortest Path Problem using Excel. Viewers are required to watch the previous video (i.e., 13. Network Flow Models) in order to appreciate the use of the =SUMIF() function used in this model. In the shortest path problem, the goal is to find the shortest distance between a source and a sink node. The distances given in the network diagram can be either time or cost. The objective is to minimize the total cost. This is a specific example of a binary integer program.
    Further references:
    learnesy.com/shortest-path-pr...
    developerpublish.com/shortest...
    networkmodels.weebly.com/exce...
    www.google.co.in/books/editio...
    Complete module:
    1 Introduction: • 1.Introduction | Optim...
    2. Introduction to LP: • 2.Introduction to LP |...
    3. Graphical method to solve an LP: • 3.Graphical method an ...
    4. Introduction to Solver: • 4.Introduction to Solv...
    5. Product mix problem: • 5.Solving a Product Mi...
    6. Sensitivity analysis: • 6.Sensitvity and Answe...
    7. Integer programming: • 7.Integer programming ...
    8. Transportation problem: • 8.Transportation probl...
    9. Transshipment problem: • 9.Transshipment Proble...
    10. Assignment problem: • 10.Assignment Problem ...
    11. Set covering problem: • 10.Assignment Problem ...
    12. Blending: • 12.Blending or Diet pr...
    13. Network flow introduction: • 13.Network flow models...
    14. Shortest path problems: • 14. Shortest Path Prob...
    15. Maxflow problem: • 15. Maxflow problem | ...
    16. Minimum Spanning Tree problem (Kruskal’s): • 16. Minimum Spanning T...
    17. Minimum Spanning Tree problem (Prim’s): • 17. How to solve the M...
    18. Travelling Salesman Problem (ILP): • 18. Travelling Salesma...
    19. Introduction to NLP: • 19. Introduction to No...
    20. Use of GRG solver: • 20. Solving a non-line...
    21. Job sequencing model using Evolutionary solver: • 21. A Job Sequencing p...
    22. Travelling Salesman Problem using NLP: • 22. Travelling Salesma...

Komentáře • 1

  • @jafacam
    @jafacam Před rokem

    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