next up previous
Next: Recursive Formulation of M[ij] Up: STRATEGY DYNAMIC PROGRAMMING Previous: Matrix Sequence Multiplication

Divide and Conquer Solution

Input:

tabular90

Output:
A paranthesization of the input sequence resulting in minimum number of multiplications needed to multiply the n matrices.

e.g. For,

displaymath430

M[1,1]=0,M[1,2]=1200,M[1,5]=690



Sushil Prasad
Thu May 13 13:06:05 EDT 1999