10 views

Uploaded by EmMie Lou JAvier

A brief presentation of a real life application of dynamic programming.

save

- 1)Functions of a Real Variable by Jain and Iyenger
- Cal47 L'Hopital's Rule
- 37138-38913-2-PB
- Unit 4
- Differ en Ti Ability
- A Signal Processing Algorithm Based on Parametric
- Dynamic Programming
- psoc
- Adda Cooper 2003 Dynamic Economics
- r5311301 Operations Research
- Unit Commitment
- Literature Review Samples
- Wellesley Bellman Notes 1
- Math1105_sol2
- Art of Programming Contest Part13
- Fuzzy Study note
- L04-ztrans
- MIT16_410F10_lec14
- Intégrale-Encadrement-Bac S-Pondichéry 2008.pdf
- BTP Stage 2 Mid
- Tutorial4_376-381
- חישוב מבוזר- הרצאה 10 | Broadcast
- normal distr II marks
- Learning_the_inverse_kinematics_of_a_rob (1).pdf
- Resource Management Techniques - Lecture Notes, Study Materials and Important questions answers
- Homework #1
- Design of Rigid Pavements 2.pdf
- Fixed Charge Transportation Model
- calculus
- Binder 8
- The Merchants of Prehistory Part 1
- Alice and Bob Love Story
- The Merchants of Prehistory
- Linear Recurrence Relations
- Goal Programming

An Equipment Replacement Application

The Solution is unraveled by removing information from the stack in the proper sequence. the method is recursive.Overview Dynamic Programming is a general approach to making a sequence of interrelated decisions in an optimum way. . Most fundamentally.

Define a small part of the whole problem and find an optimum solution to this small part.Overview of Method 1. the stopping criteria will have been met. 2. . When this problem is solved. Track back the solution to the whole problem from the optimum solutions to the small problems solved along the way. 4. Enlarge this small part slightly and find the optimum solution to the new problem using the previously found optimum solution. Continue to Step 2 until you have enlarged sufficiently that the current problem encompasses the original problem. 3.

Important Questions What are the stages in the solution? How is the state defined at a stage? What kind of decision must you make at a stage? How does the decision update the state for the next stage? What is the recursive value relationship between the optimum decision at a stage and a previous optimum decision? .

A new Trek bicycle costs $ 500. he can’t be without one.Problem A bicycle courier must obviously have a bicycle at all times that he can use for deliveries. $ 40 in the second year and $ 60 in the third year. He figures he can get $ 400 if he sells a bicycle after one year of use. He has collected some information about the costs. When should buy bicycles and how long should he keep them to minimize his total costs over the 5–year timeframe? . Given the amount of use they get. $ 300 after two years of use and $ 250 after three years of use. Hence he wants to determine the cheapest way to buy and maintain bicycles over the 5–year timeframe that he currently contemplating working as a bicycle courier before finishing his graduate program and moving on with his life (onto other career options). He has no bicycle at the moment. Maintenance costs vary with the age of the bike: $ 30 in the first year. bicycles will last a maximum of three years before they are sold.

He has collected some information about the costs. $ 40 in the second year and $ 60 in the third year. Given the amount of use they get.Problem A bicycle courier must obviously have a bicycle at all times that he can use for deliveries. When should buy bicycles and how long should he keep them to minimize his total costs over the 5–year timeframe? . he can’t be without one. A new Trek bicycle costs $ 500. bicycles will last a maximum of three years before they are sold. Maintenance costs vary with the age of the bike: $ 30 in the first year. He has no bicycle at the moment. Hence he wants to determine the cheapest way to buy and maintain bicycles over the 5–year timeframe that he currently contemplating working as a bicycle courier before finishing his graduate program and moving on with his life (onto other career options). $ 300 after two years of use and $ 250 after three years of use. He figures he can get $ 400 if he sells a bicycle after one year of use.

And we will be doing a backward recursion. • Decision Update to the State: Given that he buys a bicycle at the start of the current stage and makes a decision to keep it for a certain number of years. then the state is updated accordingly. . • Decision at a Stage: The decision is how long to keep the bicycles. • State at a Stage: The state at a stage is just how many years remain until time 5.Answer to Questions • Stages: We are subdividing the problem by time in this case.

Thus. and the salvage value when it is sold. Define g(5) = 0. • ctx: net cost of buying a bicycle at time t and operating it until time x.1.2. . and the value of a previously found optimum g(x).3. 𝑓𝑜𝑟 𝑡 = 0. given that a new bicycle is purchased at time t. including the initial purchase cost.4 The optimum from time t to time 5 depends on two things: the value of the current decision ctx. the recursive value relationship is: 𝑔 𝑡 = 𝑚𝑖𝑛𝑥 𝑐𝑡𝑥 + 𝑔 𝑥 .Answer to Questions • Recursive Value Relationship: First let’s define a few functions and variable: • f(t): minimum net cost from time t until time 5. the maintenance costs.

𝑔(5) = 0 Stage 4. Stage 3.Solution Stage 5. 𝑐34 + 𝑔 4 = 130 + 130 = 260 𝑔 3 = 𝑚𝑖𝑛 𝑐35 + 𝑔 5 = 270 + 0 = 270 . 𝑔 4 = 𝑐𝑡𝑥 + 𝑔 5 = 130 + 0 = 130.

Solution o Keep bicycle 1 year: 𝑐01 = 𝑐12 = 𝑐23 = 𝑐34 = 𝑐45 = 500 + 30 − 400 = 𝑃𝑝 130 o Keep bicycle 2 years: 𝑐02 = 𝑐13 = 𝑐24 = 𝑐35 = 500 + (30 + 40) − 300 = 𝑃𝑝 270 o Keep bicycle 2 years: 𝑐03 = 𝑐14 = 𝑐25 = 500 + (30 + 40 + 60) − 250 = 𝑃𝑝 380 .

𝑐12 + 𝑔 2 = 130 + 380 = 510 𝑔 1 = 𝑚𝑖𝑛 𝑐13 + 𝑔 3 = 270 + 260 = 330 𝑐14 + 𝑔 4 = 380 + 260 = 640 . 𝑐23 + 𝑔 3 = 130 + 260 = 390 𝑔 2 = 𝑚𝑖𝑛 𝑐24 + 𝑔 4 = 270 + 130 = 400 𝑐25 + 𝑔 5 = 380 + 130 = 390 Stage 1.Solution Stage 2.

𝑐01 + 𝑔 1 = 130 + 510 = 640 𝑔 0 = 𝑚𝑖𝑛 𝑐02 + 𝑔 2 = 270 + 380 = 650 𝑐03 + 𝑔 3 = 380 + 260 = 640 We stop since we have hit our stopping criterion which is when the small problems have been expanded until the entire original problem has been solved.Solution Stage (0). .

Solution 1 1 BUY 3 - END 3 3 - - 1 - 1 1 .

Illustration .

- 1)Functions of a Real Variable by Jain and IyengerUploaded byRahul Srivastava
- Cal47 L'Hopital's RuleUploaded bymarchelo_chelo
- 37138-38913-2-PBUploaded byMarZiYa
- Unit 4Uploaded byVivek Chand
- Differ en Ti AbilityUploaded byirshaad_s
- A Signal Processing Algorithm Based on ParametricUploaded bymeomuop2508
- Dynamic ProgrammingUploaded byJatin Bindal
- psocUploaded byVijay Raghavan
- Adda Cooper 2003 Dynamic EconomicsUploaded byitalos1977
- r5311301 Operations ResearchUploaded bySneha
- Unit CommitmentUploaded byali virk
- Literature Review SamplesUploaded byVageesha Shantha Veerabhadra Swamy
- Wellesley Bellman Notes 1Uploaded bySui-Jade Ho
- Math1105_sol2Uploaded byHasan128
- Art of Programming Contest Part13Uploaded bykarnde
- Fuzzy Study noteUploaded byKaiLiu
- L04-ztransUploaded byparsa90p
- MIT16_410F10_lec14Uploaded byChandan Bagai
- Intégrale-Encadrement-Bac S-Pondichéry 2008.pdfUploaded byMourad Bensalem
- BTP Stage 2 MidUploaded byPradeep Kundu
- Tutorial4_376-381Uploaded byEgidius Putrando
- חישוב מבוזר- הרצאה 10 | BroadcastUploaded byRon
- normal distr II marksUploaded byÜlle Koduste
- Learning_the_inverse_kinematics_of_a_rob (1).pdfUploaded byMohamed Faisal bin Abdul Waduth
- Resource Management Techniques - Lecture Notes, Study Materials and Important questions answersUploaded byBrainKart Com
- Homework #1Uploaded byOpenStudy
- Design of Rigid Pavements 2.pdfUploaded byKimutai Kirui Alphonce
- Fixed Charge Transportation ModelUploaded byallwin92
- calculusUploaded by邱俊祥
- Binder 8Uploaded byJuan Carlos Lafuente