SlideShare a Scribd company logo
3
Most read
4
Most read
12
Most read
DYNAMIC PROGRAMMING
Q1.Answer -     Dynamic programming is used for problems requiring a sequence of interrelated decision. This means that to take another decision we have to depend on the previous decision or solution formed.                                  dynamic programming is a recursive optimization procedure which means it’s a procedure which optimizes on a step by step basis using information from the preceding steps . We optimize as we go. In dynamic programming , a single step is sequentially related to preceding  steps and is not itself a solution to the problem.A single step contains information that identifies a segment or a part of the optimal solution e.g. time dependent problems, decision making.
Q2Answer – 1.Stage – division of sequence of a system into various subparts is called stages2.State – a specific measurable condition of the system3. Recursive equation – at every stage in dynamic programming the decision rule is determined by evaluating an objective function called recursive equation.4.Principle of optimality – it states that an optimal set of decisions rules has the property that regardless of the ith decisions, the remaining decisions must be optimal with respect to the outcome that results from the ithdecision. This means that optimal immediate decision depends only on current state and not how you got there
Q3.ANSWER-  The two basic approaches for solving dynamic programming are:-1.)Backward recursion- a)it is a schematic representation of a problem involving a sequence of n decisions.b)Then dynamic programming decomposes the problem into a set of n stages of analysis, each stage corresponding to one of the decisions. each stage of analysis is described by a set of elements decision, input state, output state and returns.c)Then notational representation of these element  when a backward recursion analysis is usedd)Then symbolic representation of n stages of analysis using backward recursion so we can formalize the notation
The general form of the recursion equation used to compute cumulative return:- cumulative return = direct return + cumulative returnthrough stage             from stage            through stage i-1
2.)Forward recursion – this approach takes a problem decomposed into a sequence of n stages and analyzes the problem starting with the first stage in the sequence, working forward to the last stage it is also known as deterministic probability approach
Q4.Answer- dynamic programming is a recursive optimization procedure which means that it optimizes on a step by step basis using information from preceding steps                                                                even in goal programming optimization occurs step by step but it was iterative rather then recursive that means that each step in goal programming represented a unique  solution that was non-optimal.in dynamic programming a single step is sequentially related to preceding steps and is not itself a solution to the problem
Q5.Answer- Advantages -1)`the process of breaking down a complex problem into a series of interrelated sub problems often provides insight into the nature of problem2) Because dynamic programming is an approach to optimization rather than a technique it has flexibility that allows application to other types of mathematical programming problems3) The computational procedure in dynamic programming allows for a built in form of sensitivity analysis based on state variables and on variables represented by stages4)Dynamic programming achieves computational savings over complete enumeration.
Disadvantages –1.)more expertise is required in solving dynamic programming problem then using other methods2.)lack of general algorithm like the simplex method. It restricts computer codes necessary for inexpensive and widespread use3.)the biggest problem is dimensionality. This problems occurs when a particular application is characterized by multiple states. It  creates lot of problem for computers capabilities & is time consuming
Dynamic Programming
Dynamic Programming
Dynamic Programming

More Related Content

PPTX
Dynamic programming
PPTX
Introduction to Dynamic Programming, Principle of Optimality
PPTX
Dynamic Programming
PPTX
Dynamic Programming
PDF
Dynamic Programming
PDF
CLUSTERING IN DATA MINING.pdf
PPTX
unit-4-dynamic programming
PPTX
Ch 17 disk storage, basic files structure, and hashing
Dynamic programming
Introduction to Dynamic Programming, Principle of Optimality
Dynamic Programming
Dynamic Programming
Dynamic Programming
CLUSTERING IN DATA MINING.pdf
unit-4-dynamic programming
Ch 17 disk storage, basic files structure, and hashing

What's hot (20)

PPT
Simplex Method
PPT
Sequencing problems in Operations Research
PPTX
Loop optimization
PPT
Dynamic pgmming
DOCX
Advanced data structures & algorithms important questions
PPTX
MULTILEVEL QUEUE SCHEDULING
DOC
Branch and bound
PPTX
Integer Linear Programming
PPT
Heuristic Search Techniques {Artificial Intelligence}
PPTX
Planning in AI(Partial order planning)
PPTX
8 QUEENS PROBLEM.pptx
PPTX
Travelling salesman problem
PPTX
Game theory
PPTX
Assignment problem
PPTX
Lecture optimal binary search tree
PPT
BackTracking Algorithm: Technique and Examples
PPT
Recursion tree method
PPTX
Bruteforce algorithm
PPTX
Travelling Salesman Problem
PPTX
implementation of travelling salesman problem with complexity ppt
Simplex Method
Sequencing problems in Operations Research
Loop optimization
Dynamic pgmming
Advanced data structures & algorithms important questions
MULTILEVEL QUEUE SCHEDULING
Branch and bound
Integer Linear Programming
Heuristic Search Techniques {Artificial Intelligence}
Planning in AI(Partial order planning)
8 QUEENS PROBLEM.pptx
Travelling salesman problem
Game theory
Assignment problem
Lecture optimal binary search tree
BackTracking Algorithm: Technique and Examples
Recursion tree method
Bruteforce algorithm
Travelling Salesman Problem
implementation of travelling salesman problem with complexity ppt
Ad

Similar to Dynamic Programming (20)

PDF
L21_L27_Unit_5_Dynamic_Programming Computer Science
PPTX
ADA Unit 2.pptx
PDF
Dynamic programming
PPTX
Dynamic Programing.pptx good for understanding
PPTX
Module 2ppt.pptx divid and conquer method
PDF
Dynamic Programming Algorithm CSI-504.pdf
PPTX
dinosourrrrrrrrrrrrrrrrrrrrrr formula .pptx
PPTX
Computer science in Dynamic programming .pptx
PPTX
DYNAMIC_________________________PROGRAMMING.pptx
PPT
Dynamic programming 2
PPT
Pintu ram
PPTX
Dynamic programming
PPTX
Algorithm Design Technique
PPTX
Dynamic programmng2
PDF
Unit 4 of design and analysis of algorithms
PPTX
Introduction to dynamic programming
DOCX
Unit 7 dynamic programming
PPTX
Annotaed slides for dynamic programming algorithm
PPT
dynamic-programming unit 3 power point presentation
PPTX
Dynamic Programming - Part 1
L21_L27_Unit_5_Dynamic_Programming Computer Science
ADA Unit 2.pptx
Dynamic programming
Dynamic Programing.pptx good for understanding
Module 2ppt.pptx divid and conquer method
Dynamic Programming Algorithm CSI-504.pdf
dinosourrrrrrrrrrrrrrrrrrrrrr formula .pptx
Computer science in Dynamic programming .pptx
DYNAMIC_________________________PROGRAMMING.pptx
Dynamic programming 2
Pintu ram
Dynamic programming
Algorithm Design Technique
Dynamic programmng2
Unit 4 of design and analysis of algorithms
Introduction to dynamic programming
Unit 7 dynamic programming
Annotaed slides for dynamic programming algorithm
dynamic-programming unit 3 power point presentation
Dynamic Programming - Part 1
Ad

More from paramalways (12)

PPT
Competition Act, 2002
PPTX
Environment Act, 1986
PPTX
Statistics All
PPT
software engineering
PPT
Iti Lprocessmgmt
PPTX
It Service Management
PPT
Security And Ethical Challenges Of Infornation Technology
PPT
Dm Ps Analysis
PPT
Decision Support System
PPT
Bis Data Information
PPT
Bis Tools Of It
PPT
Basics Of Networking
Competition Act, 2002
Environment Act, 1986
Statistics All
software engineering
Iti Lprocessmgmt
It Service Management
Security And Ethical Challenges Of Infornation Technology
Dm Ps Analysis
Decision Support System
Bis Data Information
Bis Tools Of It
Basics Of Networking

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Machine Learning_overview_presentation.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
A Presentation on Artificial Intelligence
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Cloud computing and distributed systems.
PDF
cuic standard and advanced reporting.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Assigned Numbers - 2025 - Bluetooth® Document
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
Machine Learning_overview_presentation.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
sap open course for s4hana steps from ECC to s4
A Presentation on Artificial Intelligence
A comparative analysis of optical character recognition models for extracting...
Programs and apps: productivity, graphics, security and other tools
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
Cloud computing and distributed systems.
cuic standard and advanced reporting.pdf
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
MIND Revenue Release Quarter 2 2025 Press Release
Assigned Numbers - 2025 - Bluetooth® Document

Dynamic Programming

  • 2. Q1.Answer - Dynamic programming is used for problems requiring a sequence of interrelated decision. This means that to take another decision we have to depend on the previous decision or solution formed. dynamic programming is a recursive optimization procedure which means it’s a procedure which optimizes on a step by step basis using information from the preceding steps . We optimize as we go. In dynamic programming , a single step is sequentially related to preceding steps and is not itself a solution to the problem.A single step contains information that identifies a segment or a part of the optimal solution e.g. time dependent problems, decision making.
  • 3. Q2Answer – 1.Stage – division of sequence of a system into various subparts is called stages2.State – a specific measurable condition of the system3. Recursive equation – at every stage in dynamic programming the decision rule is determined by evaluating an objective function called recursive equation.4.Principle of optimality – it states that an optimal set of decisions rules has the property that regardless of the ith decisions, the remaining decisions must be optimal with respect to the outcome that results from the ithdecision. This means that optimal immediate decision depends only on current state and not how you got there
  • 4. Q3.ANSWER- The two basic approaches for solving dynamic programming are:-1.)Backward recursion- a)it is a schematic representation of a problem involving a sequence of n decisions.b)Then dynamic programming decomposes the problem into a set of n stages of analysis, each stage corresponding to one of the decisions. each stage of analysis is described by a set of elements decision, input state, output state and returns.c)Then notational representation of these element when a backward recursion analysis is usedd)Then symbolic representation of n stages of analysis using backward recursion so we can formalize the notation
  • 5. The general form of the recursion equation used to compute cumulative return:- cumulative return = direct return + cumulative returnthrough stage from stage through stage i-1
  • 6. 2.)Forward recursion – this approach takes a problem decomposed into a sequence of n stages and analyzes the problem starting with the first stage in the sequence, working forward to the last stage it is also known as deterministic probability approach
  • 7. Q4.Answer- dynamic programming is a recursive optimization procedure which means that it optimizes on a step by step basis using information from preceding steps even in goal programming optimization occurs step by step but it was iterative rather then recursive that means that each step in goal programming represented a unique solution that was non-optimal.in dynamic programming a single step is sequentially related to preceding steps and is not itself a solution to the problem
  • 8. Q5.Answer- Advantages -1)`the process of breaking down a complex problem into a series of interrelated sub problems often provides insight into the nature of problem2) Because dynamic programming is an approach to optimization rather than a technique it has flexibility that allows application to other types of mathematical programming problems3) The computational procedure in dynamic programming allows for a built in form of sensitivity analysis based on state variables and on variables represented by stages4)Dynamic programming achieves computational savings over complete enumeration.
  • 9. Disadvantages –1.)more expertise is required in solving dynamic programming problem then using other methods2.)lack of general algorithm like the simplex method. It restricts computer codes necessary for inexpensive and widespread use3.)the biggest problem is dimensionality. This problems occurs when a particular application is characterized by multiple states. It creates lot of problem for computers capabilities & is time consuming