Dynamic Programming Rahul Mohare Faculty Datta Meghe Institute of Management Studies.

Slides:



Advertisements
Similar presentations
Dynamic Programming Introduction Prof. Muhammad Saeed.
Advertisements

Introduction to Mathematical Programming
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Lesson 08 Linear Programming
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Linear Programming Problem
Session II – Introduction to Linear Programming
Dynamic Programming In this handout A shortest path example
Issues in Capital Budgeting II
Chapter 8: Linear Programming
Chapter 6 Linear Programming: The Simplex Method
Introduction to Management Science
Operations Management
Dynamic lot sizing and tool management in automated manufacturing systems M. Selim Aktürk, Siraceddin Önen presented by Zümbül Bulut.
Optimization Linear Programming and Simplex Method
Introduction to Management Science
Fundamental Techniques
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
An Introduction By Mandy Bakas Linear Programming.
FORMULATION AND GRAPHIC METHOD
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
Linear Programming Models: Graphical and Computer Methods
STRATEGIC MANAGEMENT ACCOUNTING Anushka De Silva.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming Chapter 13 Supplement.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
ITGD4207 Operations Research
Dynamic Programming. Well known algorithm design techniques:. –Divide-and-conquer algorithms Another strategy for designing algorithms is dynamic programming.
Chapter 9 - Multicriteria Decision Making 1 Chapter 9 Multicriteria Decision Making Introduction to Management Science 8th Edition by Bernard W. Taylor.
Chapter 6 Linear Programming: The Simplex Method Section R Review.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
GROUP MEMBERS AMARASENA R.G.C. (061004D) DE MEL W.R. (061013E) DOLAPIHILLA I.N.K. (061017U) KUMARAJITH R.M.E. (061031G)
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
WOOD 492 MODELLING FOR DECISION SUPPORT
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 3 Basics of the Simplex Algorithm.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
1 1 Slide © 2005 Thomson/South-Western MANAGMENT SCIENCE n Chapter 1: Introduction Problem solving and decision making; quantitative analysis and decision.
Topic 25 Dynamic Programming "Thus, I thought dynamic programming was a good name. It was something not even a Congressman could object to. So I used it.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.3 The student will be able to formulate the dual problem. The student.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Group members: Ibrahim jan Qesar Habib Najeebullah
Tuesday, April 30 Dynamic Programming – Recursion – Principle of Optimality Handouts: Lecture Notes.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
Chapter 18 Deterministic Dynamic Programming
Dynamic Programming.  Decomposes a problem into a series of sub- problems  Builds up correct solutions to larger and larger sub- problems  Examples.
LINEAR PROGRAMMING.
Prepared by Dr.Osman Taylan
D Nagesh Kumar, IIScOptimization Methods: M5L1 1 Dynamic Programming Introduction.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
1 Today’s Material Dynamic Programming – Chapter 15 –Introduction to Dynamic Programming –0-1 Knapsack Problem –Longest Common Subsequence –Chain Matrix.
LINEAR PROGRAMMING. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
Introduction and Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M4L1 Dynamic Programming and Applications.
Dynamic Programming. What is Dynamic Programming  A method for solving complex problems by breaking them down into simpler sub problems. It is applicable.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
1 Optimization Linear Programming and Simplex Method.
Introduction It had its early roots in World War II and is flourishing in business and industry with the aid of computer.
Dynamic Programming Sequence of decisions. Problem state.
Water Resources Planning and Management Daene McKinney
Dynamic Programming Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
Chapter 3 Dynamic Programming.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
Presentation transcript:

Dynamic Programming Rahul Mohare Faculty Datta Meghe Institute of Management Studies

Introduction In mathematics and computer science, dynamic programming is a method for solving complex problems by breaking them down into simpler subproblems. It is applicable to problems exhibiting the properties of overlapping subproblems which are only slightly smaller

The key idea behind dynamic programming is quite simple. In general, to solve a given problem, we need to solve different parts of the problem (subproblems), then combine the solutions of the subproblems to reach an overall solution. The dynamic programming approach seeks to solve each subproblem only once, thus reducing the number of computations. This is especially useful when the number of repeating subproblems is exponentially large.

Characteristics of Dynamic Programming Applications Characteristic 1 ◦ The problem can be divided into stages with a decision required at each stage. Characteristic 2 ◦ Each stage has a number of states associated with it.  By a state, we mean the information that is needed at any stage to make an optimal decision. Characteristic 3 ◦ The decision chosen at any stage describes how the state at the current stage is transformed into the state at the next stage.

Characteristic 4 ◦ Given the current state, the optimal decision for each of the remaining stages must not depend on previously reached states or previously chosen decisions.  This idea is known as the principle of optimality. Characteristic 5 ◦ If the states for the problem have been classified into on of T stages, there must be a recursion that related the cost or reward earned during stages t, t+1, …., T to the cost or reward earned from stages t+1, t+2, …. T.

Resource-Allocation Problems Resource-allocation problems, in which limited resources must be allocated among several activities, are often solved by dynamic programming. To use linear programming to do resource allocation, three assumptions must be made: ◦ Assumption 1 : The amount of a resource assigned to an activity may be any non negative number. ◦ Assumption 2 : The benefit obtained from each activity is proportional to the amount of the resource assigned to the activity.

◦ Assumption 3: The benefit obtained from more than one activity is the sum of the benefits obtained from the individual activities. Even if assumptions 1 and 2 do not hold, dynamic programming can be used to solve resource-allocation problems efficiently when assumption 3 is valid and when the amount of the resource allocated to each activity is a member of a finite set.

Generalized Resource Allocation Problem The problem of determining the allocation of resources that maximizes total benefit subject to the limited resource availability may be written as where x t must be a member of {0,1,2,…}.

To solve this by dynamic programming, define f t (d) to be the maximum benefit that can be obtained from activities t, t+1,…, T if d unites of the resource may be allocated to activities t, t+1,…, T. We may generalize the recursions to this situation by writing f T +1(d) = 0 for all d where x t must be a non-negative integer satisfying g t (x t )≤ d.

Case-1 Capital Budgeting A XYZ Corporation is entertaining proposals from its three plants for possible expansion of facilities. This corporation is budgeting $5 Million for allocation to all three plants. Each plant is requested to submit its proposals giving total cost (c) ant total revenue (R) for each proposal. Following table summarizes the cost and revenues ProposalsPlant-1Plant-2Plant-3 C1R1C2R2C3R How allocation can be done ?

Some thing to remember… Stage: A stage in DP is defined as the portion of the problem that possess a set of mutually exclusive alternatives from which the best alternative is to be selected State: A state is normally defined to reflect the status of the constraints that bind all the stages together

In our Capital Budgeting Example Each plant defines a stage with the first, second and third stages having 3, 4 and 2 alternatives We define the states for the stages 1,2 and 3 as follows X1= amount of capital allocated to stage 1 X2= amount of capital allocated to stage 1 & 2 X3= amount of capital allocated to stage 1,2 & 3

The following table summarizes the conditional decisions for stage-1 If Available Capital X1 equals to Then, the resulting Optimal Proposal is And the total revenue of stage 1 is

X1=X2-CAPITAL allotted for stage 2 only Best revenue Stage2+stage1 Total Revenue 0 = = = = = = = = = = = = = = = conditional decisions for stage-II

Stage 3 Computations By computing all the answers for the three stages the optimal solution calls for selecting the Proposal 2 for plant 1 Proposal 4 for plant 2 Proposal 1 for plant 3 The total cost is 5 and optimal revenue is $17 millions

Dynamic Vs Linear Programming Dynamic ProgrammingLinear Programming dynamic programming is a method for solving complex problems by breaking them down into simpler sub-problems. It is applicable to problems exhibiting the properties of Overlapping sub-problems which are only slightly smaller Linear programming (LP, or linear optimization) is a mathematical method for determining a way to achieve the best outcome (such as maximum profit or lowest cost) in a given mathematical model for some list of requirements represented as linear relationships The term dynamic programming was originally used in the 1940s by Richard Bellman to describe the process of solving problems developed by leonid Kantorovich, a Russian mathematician, in 1939 Only few methods available for solving dynamic programming problem Forward recursive approach Backward recursive approch Many tools available to solve the problem Graphical Method Simplex Method Two-Phase simplex method Big-M Method DP can be used in the following areas  Molecular biology  File Compression  Screen redisplay  Matrix chain multiplication LPP can be used in the following application Product mix Make-buy Media selection Marketing research Portfolio selection Shipping & transportation Multiperiod scheduling Number of stages decide the optimal solutionDecision variables decide the optimal solutions

Thank You