Consider the following greedy approach to the matrix-chain multiplication problem: Whenever there are at least 3 matrice

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Consider the following greedy approach to the matrix-chain multiplication problem: Whenever there are at least 3 matrice

Post by answerhappygod »

Consider the following greedy approach to the matrix-chainmultiplication problem: Whenever there are at least 3 matrices (𝐴𝑖... 𝐴𝑗, 𝑗 βˆ’ 𝑖 β‰₯ 2) remaining, always split the chain at π‘˜: (𝐴𝑖 ...π΄π‘˜)(π΄π‘˜+1 ... 𝐴𝑗), such that π‘π‘˜ is the smallest number among {𝑝𝑖,... , π‘π‘—βˆ’1}. Prove that this greedy approach doesn’t always giveoptimal solution.
Please answer correctly. If you don't know, leave it forothers to solve. Incorrect answers will definitely bedownvoted.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply