Week 7 Discussion Forum

Dynamic-programming

Dynamic-programming

by Jannatul Anjum Shafa 192-15-2787 -
Number of replies: 0

 Two key ingredients for an optimization problem to be suitable for a dynamic-programming

1. optimal substructures

2. overlapping sub-problems

• The development of a dynamic-programming algorithm has three basic components:

– The recurrence relation (for defining the value of an optimal solution).

- The tracback (for delivering an optimal solution). 

– The tabular computation (for computing the value of an optimal solution).


56 words