















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















View the problem solution as the result of a sequence of decisions. Obtain a formulation for the problem state. Verify that the principle of optimality holds. Set up the dynamic programming recurrence equations. Solve these equations for the value of the optimal solution. Perform a traceback to determine the optimal solution.
X:(100 x 1), Y:(1 x 100), Z:(100 x 1)
100 * 1 * 100 = 10,000 multiplications.
100 * 100 * 1 = 10,000 multiplications.