The Stagecoach Problem

Slides:



Advertisements
Similar presentations
Great Theoretical Ideas in Computer Science
Advertisements

Outline LP formulation of minimal cost flow problem
DIJKSTRA’s Algorithm. Definition fwd search Find the shortest paths from a given SOURCE node to ALL other nodes, by developing the paths in order of increasing.
Chapter 11 To accompany Quantitative Analysis for Management, Eleventh Edition, Global Edition by Render, Stair, and Hanna Power Point slides created by.
Great Theoretical Ideas in Computer Science for Some.
Chapter 11 Dynamic Programming.
Dynamic Programming In this handout A shortest path example
Deterministic Dynamic Programming.  Dynamic programming is a widely-used mathematical technique for solving problems that can be divided into stages.
Generated Waypoint Efficiency: The efficiency considered here is defined as follows: As can be seen from the graph, for the obstruction radius values (200,
The Out of Kilter Algorithm in Introduction The out of kilter algorithm is an example of a primal-dual algorithm. It works on both the primal.
Great Theoretical Ideas in Computer Science.
HW2 Solutions. Problem 1 Construct a bipartite graph where, every family represents a vertex in one partition, and table represents a vertex in another.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
© 2008 Prentice-Hall, Inc. Chapter 12 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides.
Norman W. Garrick Trip Assignment Trip assignment is the forth step of the FOUR STEP process It is used to determining how much traffic will use each link.
Shortest Path Problems
Network Flow Models Chapter 7.
Optimal binary search trees
Chapter 10 Dynamic Programming. 2 Agenda for This Week Dynamic Programming –Definition –Recursive Nature of Computations in DP –Forward and Backward Recursion.
The Shortest Path Problem
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 12-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 12.
Introduction to Management Science
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Matthew Guidry.  Ants have developed a technique for getting from one point to another  this must be efficient  this must have the ability to adapt.
Package Transportation Scheduling Albert Lee Robert Z. Lee.
7-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Network Flow Models Chapter 7.
Chapter 4: Finding the Shortest Path Lesson 1: Dijkstra’s Algorithm
Graph Theory Hamilton Paths and Hamilton Circuits.
Dynamic Programming Key characteristic of a Dynamic Program: Breaking up a large, unwieldy problem into a series of smaller, more tractable problems. Shortest.
Lecture 6 Introduction To Switching Circuit Switching.
Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Parametric Equations. You throw a ball from a height of 6 feet, with an initial velocity of 90 feet per second and at an angle of 40º with the horizontal.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Traveling Salesman Problem (TSP)
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 TCOM 5143 Lecture 10 Centralized Networks: Time Delay and Cost Tradeoffs.
TCP-IP: Sliding Window protocol Sameer --- Brief description about the concept (1-2 lines)‏
Network Problems A D O B T E C
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Chapter 8 - Project Management1 Lecture 2 Today’s lecture covers the followings: 1.To study “project crashing” concept 2.LP formulation for project management.
1 1 Slide © 2005 Thomson/South-Western Chapter 9 Network Models n Shortest-Route Problem n Minimal Spanning Tree Problem n Maximal Flow Problem.
Network Models Chapter 12
St. Edward’s University
Chapter 11 Dynamic Programming.
The minimum cost flow problem
Great Theoretical Ideas in Computer Science
Basic Network Analysis
Discrete Mathematics for Computer Science
Route Optimization Problems and Google Maps
Integer Programming (정수계획법)
Unit 4: Dynamic Programming
4-4 Graph Theory Trees.
Neural Networks Chapter 4
Route Choice Lecture 11 Norman W. Garrick
Chapter 4: Finding the Shortest Path Lesson 1: Dijkstra’s Algorithm
5 × 7 = × 7 = 70 9 × 7 = CONNECTIONS IN 7 × TABLE
5 × 8 = 40 4 × 8 = 32 9 × 8 = CONNECTIONS IN 8 × TABLE
4 × 6 = 24 8 × 6 = 48 7 × 6 = CONNECTIONS IN 6 × TABLE
5 × 6 = 30 2 × 6 = 12 7 × 6 = CONNECTIONS IN 6 × TABLE
Network Models Chapter 12
Chapter 4, Section 1 Speed and Velocity.
10.4 Parametric Equations.
10 × 8 = 80 5 × 8 = 40 6 × 8 = CONNECTIONS IN 8 × TABLE MULTIPLICATION.
3 × 12 = 36 6 × 12 = 72 7 × 12 = CONNECTIONS IN 12 × TABLE
5 × 12 = × 12 = × 12 = CONNECTIONS IN 12 × TABLE MULTIPLICATION.
5 × 9 = 45 6 × 9 = 54 7 × 9 = CONNECTIONS IN 9 × TABLE
CSCI 465 Data Communications and Networks Lecture 16
3 × 7 = 21 6 × 7 = 42 7 × 7 = CONNECTIONS IN 7 × TABLE
Presentation transcript:

The Stagecoach Problem A Dynamical Programming problem

A Minimum Path problem Given a series of paths from point A to point B A and B are not directly connected Each path has a value linked to it Find the best route from A to B

A sample minimum value route

The Stagecoach Problem The idea for this problem is that a salesman is traveling from one town to another town, in the old west. His means of travel is a stagecoach. Each leg of his trip cost a certain amount and he wants to find the minimum cost of his trip, given multiple paths.

A sample stagecoach problem Trying to get from Town 1 to Town 10

Begin by dividing the problem into stages like shown

Suppose you are at node i, you want to find the lowest cost route from i to 10 Start at node 10, and work backwards through the network. Define variables such that: cij = cost of travel from node i to node j xn = node chosen for stage n = 1; 2; 3; 4 s = current node Let fn (s; xn) be the total cost of the best path for stages n; n-1; . . . ; 1, where N = 4 is the total number of stages. Let x*n denote the value of xn that minimizes fn (s; xn) Let f*n(s)≡fn (s; x*n )

8 2 10 9 4 Start at Stage 1 (the last stage). Then s f*1(s) x* 1 At Stage 2 we compute f2(s; x2) = csx2 + f*1 (x2) for all possible (s; x2) At Stage 3 we compute f3(s; x3) = csx3 + f*2 (x3) for all possible (s; x3) At Stage 4 we compute f4(s; x4) = csx2 + f*3 (x4) for all possible (s; x4)

Working forwards from stage 4 to stage 1 you follow the best route from the tables. You then add up the numbers along the route and get you best solution from the problem

Still in Use This problem can be used in Computer Networks Plane travel Many other applications

The Stagecoach Problem A Dynamical Programming problem