Matrix-Chain Multiplication Problem using Genetic Algorithm

Main Article Content

Soontharee Koompairojn*
Minh Le

Abstract

Tree encoding has been studied for the genetic algorithm on artificial intelligence such as sequence induction, automatic programming, machine learning, and pattern recognition [5]. This paper also presents the tree encoding for the genetic algorithm in solving the matrix-chain multiplication, which is in the form A1 A2 A3 … AN where Ai is a matrix. Tress are generated as the way the matrices are fully parenthesized. Then crossover and mutation are applied. The fitness value is calculated and stored at the root of the tree.


Keywords:  tree encoding, matrix-chain multiplication, genetic algorithm


Corresponding author: E-mail: [email protected]

Article Details

Section
Original Research Articles

References

[1] Chandra, A.K. 1975 Computing matrix chain product in near optimal time. Rep. RC-5626, Thomas J. Watson Res. Ctr., Yorktown Heights, N.Y.
[2] Chin, F.Y. 1978 An O(n) algorithm for determining a Near-Optimal Computation Order of Matrix Chain Products. Communications of the ACM, 21(7).
[3] Cormen, T.H., Leiserson, C.E., Rivest, R.L. 1989 Introduction to Algorithms. MIT Press. McGraw-Hill.
[4] Hu, T.C., and Shing, M.T. 1982 Computation of Matrix Chain Products Part I. SIAM J. computing, 11(2).
[5] Koza, J.R. 1989 Hierarchical Genetic Algorithms Operating on Populations of Computer Programs. International Joint Conference on Artificial Intelligence.