GRAPH: A network of NODES (or VERTICES) and ARCS (or EDGES) joining the nodes with each other

Similar documents
Economics 602 Macroeconomic Theory and Policy Problem Set 4 Suggested Solutions Professor Sanjay Chugh Summer 2010

Properties of the nonsymmetric Robinson-Schensted-Knuth algorithm

Economics 2202 (Section 05) Macroeconomic Theory Practice Problem Set 3 Suggested Solutions Professor Sanjay Chugh Fall 2014

Homework solutions, Chapter 8

Dynamic Pricing of Di erentiated Products

Output and Expenditure

An Estimation of the Size of Non-Compact Suffix Trees

Number, street, and room or suite no. (If a P.O. box, see page 5 of instructions.) C Date incorporated

Say you have $X today and can earn an annual interest rate r by investing it. Let FV denote the future value of your investment and t = time.

FOREST CITY INDUSTRIAL PARK FIN AN CIAL RETURNS EXECUTIVE SUMMARY

Problem Set 8 Topic BI: Externalities. a) What is the profit-maximizing level of output?

THE SCIENCE COUNCIL Regulations

Handout 4: Deterministic Systems and the Shortest Path Problem

Technische Universität Ilmenau Institut für Mathematik

Economics 325 Intermediate Macroeconomic Analysis Practice Problem Set 1 Suggested Solutions Professor Sanjay Chugh Spring 2011

Certificate of Foreign Intermediary, Foreign Flow-Through Entity, or Certain U.S. Branches for United States Tax Withholding and Reporting

Certificate of Foreign Intermediary, Foreign Flow-Through Entity, or Certain U.S. Branches for United States Tax Withholding and Reporting

Essays on Some Combinatorial Optimization Problems with Interval Data

Certificate of Foreign Intermediary, Foreign Flow-Through Entity, or Certain U.S. Branches for United States Tax Withholding and Reporting

UNIT 2. Greedy Method GENERAL METHOD

Problem Set #3 - Answers. Due October 15, 1997

Advanced Operations Research Prof. G. Srinivasan Dept of Management Studies Indian Institute of Technology, Madras

0NDERZOEKSRAPPORT NR TAXES, DEBT AND FINANCIAL INTERMEDIARIES C. VAN HULLE. Wettelijk Depot : D/1986/2376/4

IEOR E4004: Introduction to OR: Deterministic Models

Certificate of Foreign Intermediary, Foreign Flow-Through Entity, or Certain U.S. Branches for United States Tax Withholding and Reporting

TOTAL PART 1 / 50 TOTAL PART 2 / 50

Decision-making Method for Low-rent Housing Construction Investment. Wei Zhang*, Liwen You

Provably Near-Optimal Sampling-Based Policies for Stochastic Inventory Control Models

Practice Exam #2 Math 1160

D Accounting for management

Availability Analysis with Opportunistic Maintenance of a Two Component Deteriorating System

State of New Mexico Participation Agreement for Deferred Compensation Plan

i e SD No.2015/0206 PAYMENT SERVICES REGULATIONS 2015

56:171 Operations Research Midterm Examination Solutions PART ONE

i e SD No.2017/0343 PAYMENT SERVICES (AMENDMENT) REGULATIONS 2017

Microeconomics II. CIDE, Spring 2011 List of Problems

Form E Internal transfer of an approved person

Certificate of Foreign Intermediary, Foreign Flow-Through Entity, or Certain U.S. Branches for United States Tax Withholding and Reporting

Dynamic Programming: An overview. 1 Preliminaries: The basic principle underlying dynamic programming

Elastic demand solution methods

Certificate of Foreign Intermediary, Foreign Flow-Through Entity, or Certain U.S. Branches for United States Tax Withholding and Reporting

Ranking dynamics and volatility. Ronald Rousseau KU Leuven & Antwerp University, Belgium

Price of Anarchy Smoothness Price of Stability. Price of Anarchy. Algorithmic Game Theory

June 11, Dynamic Programming( Weighted Interval Scheduling)

CHAPTER 9 BUDGETARY PLANNING SUMMARY OF QUESTIONS BY STUDY OBJECTIVES AND BLOOM S TAXONOMY. True-False Statements. Multiple Choice Questions

0/1 knapsack problem knapsack problem

FORM NO. 3CD [See rule 6G(2)] Statement of particulars required to be furnished under section 44AB of the Income-tax Act, 1961 PART-A

For every job, the start time on machine j+1 is greater than or equal to the completion time on machine j.

Licensing and Patent Protection

ON TRANSACTION COSTS IN STOCK TRADING

Problem Set #5 Solutions Public Economics

Strategic Dynamic Sourcing from Competing Suppliers: The Value of Commitment

Basic research utilization and the R&D employment contract

Importantly, note that prices are not functions of the expenditure on advertising that firm 1 makes during the first period.

A solution by stochastic iteration method for nonlinear Black- Scholes equation with transaction cost and volatile portfolio risk in Hilbert space

1. Players the agents ( rms, people, countries, etc.) who actively make decisions

At a cost-minimizing input mix, the MRTS (ratio of marginal products) must equal the ratio of factor prices, or. f r

Short Form A UK and Overseas Firms (not Incoming EEA) Application to perform controlled functions under the approved persons regime

Important information for npower customers. Key contractual terms: pages 2-7 Terms and Conditions: pages 8-19

Calculus VCT plc. For investors looking for regular, tax-free income. Please send completed application packs to:

Lecture 6 International Trade Theory 1/2008 The Specific Factor Model Kornkarun Kungpanidchakul, Ph.D

Hillgrove Resources Ltd

Market Power Rents and Climate Change Mitigation. A Rationale for Export Taxes on Coal? Philipp M. Richter, Roman Mendelevitch, Frank Jotzo

AN ALGORITHM FOR FINDING SHORTEST ROUTES FROM ALL SOURCE NODES TO A GIVEN DESTINATION IN GENERAL NETWORKS*

Optional Section: Continuous Probability Distributions

Indicate the answer choice that best completes the statement or answers the question.

Globalization, Jobs, and Welfare: The Roles of Social Protection and Redistribution 1

6 -AL- ONE MACHINE SEQUENCING TO MINIMIZE MEAN FLOW TIME WITH MINIMUM NUMBER TARDY. Hamilton Emmons \,«* Technical Memorandum No. 2.

Application for Recognition of Exemption

i e AT 16 of 2008 INSURANCE ACT 2008

Optimal Integer Delay Budget Assignment on Directed Acyclic Graphs

CS 798: Homework Assignment 4 (Game Theory)

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Exempt Organization Business Income Tax Return

Trigonometry - Activity 21 General Triangle Solution: Given three sides.

Trade Scopes across Destinations: Evidence from Chinese Firm

ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games

CMPSCI 311: Introduction to Algorithms Second Midterm Practice Exam SOLUTIONS

Pensions Increase (Annual Review) Order 2015 PENSIONS INCREASE (ANNUAL REVIEW) ORDER 2015

56:171 Operations Research Midterm Examination Solutions PART ONE

The Optimal Choice of Monetary Instruments The Poole Model

Marjorie Wms-Jones, EA

i e V04 ANTI-MONEY LAUNDERING AND COUNTERING THE FINANCING OF TERRORISM (AMENDMENT) CODE 2018

PROSPECTUS May 1, Agency Shares

Form 990 (2017) Page 2. Petfinder Foundation Statement of Program Service Accomplishments

Aruna Project Tax Return. Public Inspection Copy

Intermediating Auctioneers

Class Notes: Week 6. Multinomial Outcomes

CSV 886 Social Economic and Information Networks. Lecture 5: Matching Markets, Sponsored Search. R Ravi

ADAPTIVE SIMULATION BUDGET ALLOCATION FOR DETERMINING THE BEST DESIGN. Qi Fan Jiaqiao Hu

Sequential Procurement Auctions and Their Effect on Investment Decisions

Value Added Tax (Flat-rate Valuation of Supplies of Fuel for Private Use) Order 2013

1) S = {s}; 2) for each u V {s} do 3) dist[u] = cost(s, u); 4) Insert u into a 2-3 tree Q with dist[u] as the key; 5) for i = 1 to n 1 do 6) Identify

TAX RETURN FILING INSTRUCTIONS ** FORM 990 PUBLIC DISCLOSURE COPY ** FOR THE YEAR ENDING

Clipping Coupons: Redemption of Offers with Forward-Looking Consumers

6.231 DYNAMIC PROGRAMMING LECTURE 3 LECTURE OUTLINE

Economics 202 (Section 05) Macroeconomic Theory Problem Set 2 Professor Sanjay Chugh Fall 2013 Due: Tuesday, December 10, 2013

Forms 990 / 990-EZ Return Summary 182,576 5, ,195 33,057 1,055. Other. Other

Return of Private Foundation or Section 4947(a)(1) Trust Treated as Private Foundation. Initial return of a former public charity ...

56:171 Operations Research Midterm Examination October 28, 1997 PART ONE

Transcription:

GRPH: network of NS (or VRTIS) and RS (or GS) joining the nodes with eah other IGRPH: graph where the ars have an RINTTIN (or IRTIN). a Graph a igraph d e d HIN etween two nodes is a sequene of ars where every ar has exatly one node in ommon with the previous ar a d HIN: a d; RS: a,, d PTH is a hain of direted ars, where the terminal node of eah ar is the initial node of the sueeding ar: a d PTH: a d; RS: a,, d 0, Jayant Rajgopal

a d a d graph is said to e NNT if there is a ontinuous hain of edges joining any two verties. graph is STRNGLY NNT if for all ordered pairs of verties (i,j) there is a path of ars from i to j. graph is MPLT if every node is diretly onneted to every other node. TR is a onneted graph with no yles. SPNNING TR is a tree that ontains all the nodes of a graph. a d Graph e a d a d e Spanning Tree 0, Jayant Rajgopal

GIVN: digraph G with a set of nodes,,,m, and a set of n direted ars i j emanating from node i and ending in node j, with eah node i, a numer i that is the supply (if i >0) or the demand (if i <0); if i =0, then the node is alled a transshipment node, with eah ar i j, a flow of x ij and a unit transportation / movement ost of ij. SSUMPTIN: i=..m i = 0 PRLM MN: Minimize all defined i j ( ij x ij ) st j x ij k x ki = i for i=,,,m L ij x ij U ij for all i j The oeffiient matrix for the onstraints is alled the N R ININ matrix. 0, Jayant Rajgopal

Network low Prolems Prototypial xample new amusement park is eing onstruted y a large orporation. ars are not allowed into the park, ut there is a system of narrow, winding pathways for automated people movers and pedestrians. The road system is shown in the figure elow, where represents the entrane to the park and - represent sites of various popular amusements. The numers aove the ars give the distanes of the ars. The designers fae three questions:. letrial lines must e laid under the pathways to estalish ommuniation etween all nodes in the network. Sine this is an expensive proess, the question to e answered is how this an e aomplished with a minimum total distane?. Loation is extremely popular with visitors, and it is planned that a small numer of people movers will run diretly from the entrane to site. The question is whih path will provide the smallest total distane from to?. uring the peak season the numer of people wanting to go from to is very large. Thus during this time various routes may e followed from to (irrespetive of distane) so as to aommodate the inreased demand through additional trips. However, due to the terrain and the quality of the onstrution, there are limits on the numer of people mover trips that an run on any given path per day; these are different for different paths. The question is how to route various trips to maximize the numer of trips that an e made per day without violating the limits on any individual path? Question may e answered y solving a minimum spanning tree prolem. Question may e answered y solving a shortest path prolem. Question may e answered y solving a maximum flow prolem. 0, Jayant Rajgopal

IJKSTR'S SHRTST PTH LGRITHM Let us represent the origin y, and suppose that there are n additional nodes in the network: jetive at Iteration i: To find the ith losest node from, along with the orresponding path and distane. Input at Iteration i: The losest, the nd losest,...,(i-)th losest nodes to, along with their paths and distanes. These are designated as permanent nodes (P) while the remaining nodes are designated as temporary nodes (T). Initially, P={} and T={all other nodes}. t Iteration i: etermine all nodes in T that are diretly linked to at least one node in P all this suset of T as Ω. or eah j Ω, ompute j = Minimum{distane of diret link from j to a permanent node + shortest distane from to that permanent node}. etermine the j Ω that has the minimum value for j. Remove j from T and add it to P along with the shortest path and distane. t the end of iteration i the shortest path to eah node is availale. xample: Iteration P={}, =0; T={,,,,,} Ω = {,, } =Min{ +L }= =Min{ +L }= =Min{ +L }= losest node = {}, = 0, Jayant Rajgopal

Iteration P={,}, =0, =; T={,,,,} Ω = {,, } =Min{ +L, +L }= =Min{0+, +} = =Min{ +L }=0+= =Min{ +L }=+=9 (reaking the tie aritrarily ) Iteration nd losest node = {}, = P={,,}, 0 =0, =, =; T={,,,}, Ω = {,, } =Min{ +L, +L, +L }=Min{0+,+,+}= =Min{ +L }=+= 9 =Min{ +L }=+= 8 rd losest node = {}; = Iteration P={,,,}, 0 =0, =, =, =; T={,,} Ω = {, } =Min{ +L, +L }= =Min {+, +} = 8 =Min{ +L, +L }= =Min {+, +} = th losest node = {}; = 0, Jayant Rajgopal

Iteration P={,,,,}, 0 =0, =, =, =, =;; T={,} Ω = {, } = Min{ +L, +L, +L }= Min {+, +, +} = 8 =Min{ +L }=+ = th losest node = {}, =8 Iteration 6 N! 8 P={,,,,,}, 0 =0, =, =, =, =, =8; T={} Ω = {} = Min{ +L, +L } = Min {8+, +} = 6 th losest node = {}; = 8 0, Jayant Rajgopal

TH R-ULKRSN LGRITHM R TH MXIMUM LW PRLM STP 0: Start with some feasile flow (if one isn't ovious let flow in eah ar e equal to zero) from the soure node to the sink node. STP : If flow in ar (i-j) is less than apaity of ar (i-j) assign it to set I (set of ars along whih amount of flow an e Inreased). If flow in ar (i-j) is greater than zero assign it to set R (set of ars along whih amount of flow an e Redued). NT: n ar an elong to oth I and R. STP : LLING PRUR Lael the soure node. If the flow along an ar (i-j) is from a laeled node to an unlaeled node and the ar elongs to I, then lael the unlaeled node, all the ar a forward ar and let I(i-j) = apaity(i-j) - low(i-j) If the flow along an ar is from an unlaeled node to a laeled node and the ar elongs to R, then lael the unlaeled node and all the ar a akward ar and let R(i-j) = low(i-j) ontinue the laeling proedure until (a) the sink has een laeled, or () no more nodes an e laeled. STP : If the sink has not een laeled, STP; this is the optimum flow. If the sink has een laeled go to Step. STP : There is a hain from soure to sink. If has only forward ars, inrease the flow in eah ar y an amount f= Min( i j) {( I i j)} If has forward and akward ars, inrease the flow in eah forward and derease the flow in eah akward ar y an amount f= Min{ k = Min I( i j), k = Min R( i j)} ( i j) I ( i j) R Return to Step 0, Jayant Rajgopal

9 6 9 6 9 6 0, Jayant Rajgopal

9 6 9 6 0, Jayant Rajgopal

ut Set: Suppose V is any suset of all the nodes that ontains the sink ut not the soure, and V is the set of remaining nodes. Then the orresponding ut set is the set of all ars (i j) suh that i V and j V. The apaity of the ut is the sum of the apaities of all ars in the ut set..g., So Si V={,, Si} V={So,,, } ut Set={So,,,,, Si} apaity=+++++ = V={,,, Si} V={So,, } ut Set={So,,, } apaity=+++=8 0, Jayant Rajgopal

Lemma : The total flow from soure to sink in any feasile flow is no higher than the apaity of any ut set. In partiular, the optimal flow an never e higher than the apaity of any ut set. So, if we find some feasile flow and some ut set for whih the flow is equal to the apaity of the ut set, then this must e the optimal flow! Now, suppose we are doing our laeling and we get to a point where we re unale to lael the sink. Let V here orrespond to the nodes (inluding the sink ) that are not laeled and V to the nodes that have een laeled, and let us denote the orresponding ut set via. Lemma : If the sink annot e laeled, then the apaity of the ut set must e equal to the urrent flow from soure to sink. So, if the sink annot e laeled, the urrent flow must e optimal we just use Lemma to verify that the sink annot e laeled. 0, Jayant Rajgopal

9 6 6 ut Set: {,,, } apaity of ut Set = +++6 = V = {,,,, }; V = {,} 0, Jayant Rajgopal

Reall the MNP ssuming that i=..m i = 0 PRLM MN: Minimize all defined i-j ( ij x ij ) st j x ij - k x ki = i for i=,,,m L ij x ij U ij for all i-j

Minimize i j ( ij x ij ) st j x ij = S i if i pure supply nodes j x ij = j if i pure demand nodes j x ij k x ki = 0 or S i or i if i transshipment node (as the ase may e ) 0 x ij for all i-j

efine the starting node as a soure node with a supply of unit and the ending node (say m)as a sink node with a demand of unit. ll other nodes are transshipment nodes The ost assoiated with a node is its distane Then we have Minimize all defined i-j ( ij x ij ) st j x j = j x ij - k x ki k x km = - 0 x ij for all i-j = 0 for i=,,m-

Let the soure node have a very large supply (M) and the sink node have a very large demand equal to the same value M ll other nodes are transshipment nodes The ost assoiated with all ars are equal to zero, and the upper ound U ij for the flow along ar i j is set to the apaity of the ar ( ij ) inally, add a fititious ar from the soure to the sink node with U so si =M and a ost of Then we have (assume that soure node is node no., and the sink node is node no. m) Minimize x so-si st j x so-j = M j x ij - k x ki = 0 for i=,,m- - k x k-si = -M 0 x ij U ij for all i-j