chiminglinAMS5 8 2007
chiminglinAMS5 8 2007
5, 201 - 210
202
Introduction
The multiobjective portfolio optimization problems have received increased interest from researchers with various backgrounds since early 1952. A modern portfolio theory provides a well-developed paradigm to form a portfolio with the highest expected return for a given level of risk tolerance. Markowitz (1952) [1], a creator of modern portfolio theory, originally formulated the fundamental theorem of mean-variance portfolio framework, which explains the trade-o between mean and variance each representing expected returns and risk of a portfolio, respectively. The mean-variance approach which proposed by Markowitz (1987) was to deal with the portfolio selection problem [2]. A decision-maker can determine the optimal investing ratio to each security based on the sequent return rate. The formulation of the mean-variance method can be described as follows:
n n
min
i=1 j=1
ij xi xj
(1)
s.t.
n i=1
i xi E,
n i=1
xi = 1, xi 0 and i = 1, 2, . . . , n,
where ij denotes the covariance between the return of the ith security and the jth security, i denotes the expected return rate of the ith security, E denotes the acceptable least rate of the expected return, xi denotes the investment portion in the ith securities. For a given specic return rate, one can derive the minimum investment risk by minimizing the variance of a portfolio; or for a given risk level which the investor can tolerate, one can derive the maximum returns by maximizing the expected returns of a portfolio. The main input data of the Markowitz mean-variance model are expected returns and variance of expected returns of these securities [5]. Although Markowitzs theory uses only mean and variance to describe the characteristics of return, his theory about the structures of a portfolio became a cornerstone of modern portfolio theory. Due to the huge numbers of nancial securities and the acceptable least rate of the expected return is dicult to estimate, the mean-variance model is not practical for applying. In the other hand, the investment activities are restricted the limited available capital. Some investors can not construct a protable portfolio via a large amount of money. Hence, it is important to build up an ecient method to select the securities for constructing the optimal portfolio. As the result, we propose the multistage decision-based genetic algorithm approach for dealing with the multiobjective portfolio optimization problem. In our method, we tackle this problem through a two phase approach. Firstly, we select the short list of the securities by the past performance evaluation. Then, genetic algorithm is applied to decide the investment weight of the securities.
Genetic algorithm
203
In the past few years, there has been a boom in applying genetic algorithms to solving the multiobjective optimization problem known as evolutionary multiobjective optimization or genetic multiobjective optimization. The basic feature of genetic algorithms is the multiple directional and global searches, in which a population of potential solutions is maintained from generation to generation. [3] The population-to-population approach is benecial in the exploration of the securities optimal portfolio selecting solutions. On the other hand, Genetic Algorithm (GA) and its application to various disciplines including optimization problems [1]. GA is also applied to a wide range of optimization, and can oer signicant advantages in solution methodology and optimization performance. An useful feature of GA is to handle multiobjective function optimization [4]. The remainder of this paper is organized as follows. The solution approach including the genetic algorithm and the operators are discussed in Section 2. A numerical example is used to illustrate the proposed method and the results are shown in Section 3. And the conclusions are presented in Section 4.
As discussed in Section 1, we propose a two phase method for solving the problem. Before introducing the approach, we have to discuss about the objectives of this problem. In this paper, we tackle the problem as a multiobjective optimization problem. The mathematical model, which is expanded form Markowitz mean-variance approach, is shown as follow: Notation: Indices i, j: index of security, i, j = 1, 2, . . . , n. Parameters i : the expected of security, i, j = 1, 2, . . . , n. ij : the covariance between the returns of security i and security j, i, j = 1, 2, . . . , n. Decision Variables wi : investment weight of security i. Mathematical Model:
n
max
i=1 n n
i wi ij wi wj
(2)
min
i=1 j=1
(3)
204
n
s. t.
i=1
wi = 1, wi 0 and i = 1, 2, . . . , n.
The objective function (2) is to maximizing the total expected return. And the objective function (3) is to minimizing the total risk of the portfolio. In this model, we would like to track these two objective functions at the same time. And obtain a set of Pareto solutions after applying the multistage decisionbased genetic algorithm approach. For solving this model, we assume the expected return i is the past 12 months average return rate of security i and the covariance ij is the covariance between i and j .
2.1
Due to the nancial market liberalization, there are more and more securities (or assets) in the capital market. In order to select the investment targets, the investors prefer securities which with outstanding performance. In our approach, we calculate the past 3-month performance. Then, choose the highest 20% for the candidate securities. And reorder the securities for the highest 3 performance to the lowest. The 3-month performance of the security i, ri , measures the relative change of the price of the security over the last three months (in percent) and is therefore a measure for the short term expected return. In particular, pT pT 3 i 3 ri = i T 3 (4) pi where pT is the price of security i in period T and pT 3 is the price of security i i i in three months ago.
2.2
Genetic Algorithm was developed initially by Holland (1975) form the 1960s. The usual form of GA was described by Goldberg (1989). GA is stochastic search technique based on the mechanism of natural selection and natural genetics. The central theme of research on GA is to keep a balance between exploitation and exploration in its search to the optimal solution for survival in many dierent environments. Typically, Goldberg gave an interesting survey of some of the practical work carried out in this era and made clear of the general structure of GA. Michalewicz (1996) did not restrict to the binary string encoding in Hollands GA and applied the GA to all possible encoding strategies to solve the practical optimization problems. GA has been theoretically and empirically proved to provide a robust search in complex search spaces. Many research papers and dissertations have established the validity of GA approach in function optimization problems and application problems [4].
Genetic algorithm
205
Genetic Algorithm, diering from conventional search techniques, starts with an initial set of random solutions, population. Each individual in the population is called a chromosome which representing a solution to the problem. The chromosomes evolve through successive iterations, called generations. During each generation, the chromosomes are evaluated by taking some measures of tness. To create the next generation with new chromosomes, called ospring. The ospring are formed by merging two chromosomes from current generation using the crossover operator and or modifying a chromosome using the mutation operator. A new generation is selected according to the tness values of the parents and ospring, and then weeds out poor chromosomes so as to keep the population size constant. The algorithms converge to the best chromosome, which hopefully represents the optimum or suboptimal solution to the problem [4]. 2.2.1 Random Keys-base Encoding
The random keys-based encoding method is a direct approach, which encodes some information for constructing a set of weights in a chromosome. As we know, a gene in a chromosome is characterized by two factors: locus, (i.e., the position of the gene located within the structure of chromosome), and allele, (i.e., the value the gene takes). In this encoding method, the position of the gene is used to represent the ID number of the security and its value is used to represent the weight for constructing a portfolio. As proposed random keys-based encoding method, randomly generates the initial chromosome rst. This encoding method is easily veried that any permutation of the encoding corresponds to the compositions of the portfolio, so that most existing genetic operators can easily be applied to the encoding. The pseudocode for orderbased encoding as following. More so than diers from other optimization techniques, GA provides a framework of using only objective function information for analyzing many problem types. Within this framework of optimization techniques can be employed to solve the non-smooth, non-continuous and non-dierentiable functions which are actually existed in a practical optimization problem. [4] 2.2.2 Weight Generating
In the encoding procedure, the value of the gene in the chromosome is generated randomly. When we are generating the weight vector, we have to rescale
n
206
Than an example of weight generating is shown in Fig. 1. We try to assign the weight for each security. The determination of these weights indicates the relative importance of the various objectives. The chromosome consists of vector of weight.
2.2.3
Crossover Operator
Crossover is the main genetic operator. It operates on two parents (chromosomes) at a time and generates ospring by combining both chromosomes features. In weight selection problem, crossover plays the role of exchanging weights of the securities of two chosen parents in such a manner that the ospring produced by the crossover represents. Several crossover operators have been proposed for permutation representation, such as Partial-mapped crossover (PMX), Order crossover (OX), Position-based crossover (PX), heuristic crossover, and so on[3]. In this paper, we use a very simple crossover method, which called one-cut point crossover.
Genetic algorithm
207
Mutation is a background operator which produces spontaneous random changes in various chromosomes. A simple way to achieve mutation would be to alter one or more genes. In GA, mutation serves the crucial role of either replacing the genes lost from the population during the selection process, so they can be tried in a new context or providing the genes that were not present in the initial population. In this paper, it is relatively easy to produce some mutation operators for permutation representation. Several mutation operators have been proposed for permutation representation, such as Swap mutation, Inversion mutation, and Insertion mutation, and so on (M. Gen and R. Cheng, 2000). In this case we use Insertion mutation method, and an example as following Fig. 3.
The evaluation function interprets the chromosome in terms of physical representation and evaluates its tness based on traits of being desired in the solution. Evaluation function used for the GA is based on the total expected return and the risk of the portfolio. For the portfolio selection problem, we consider the total expected return and the risk. Therefore, the tness function that involves computational eciency and accuracy (of the tness measurement) is dened as follows:
n
i=1 n n
i wi (5) ij wi wj
i=1 j=1
where eval(vk ) represents the tness value of the k-th chromosome. 2.2.6 Selection
Selection (reproduction) operator is intended to improve the average quality of the population by giving the high-quality chromosomes a better chance to get copied into the next generation. The principle behind genetic algorithms is essentially Darwinian natural selection. The selection directs GA search towards promising regions in the search space. We employ roulette wheel selection as a selection mechanism in this study. In roulette wheel selection mechanism, the individuals on each generation are selected for survival into the next generation according to a probability value proportional to the ratio of individual tness over total population tness; this means that on average the next generation will receive copies of an individual in proportion to the importance of its tness value.
Numerical Example
The static stage of GA requires some parameters to attain a solution quality and sustain controllable evaluation of the process. Population size: popSize = 100; Maximum generation: maxGen = 1000; Crossover probability: pC = 0.70; Mutation probability: pM = 0.50; In this numerical example, 40 sample companies data, which are collected form Taiwans stock market, are used to demonstrate the proposed method.
Genetic algorithm
209
ID 9 10 11 12 13 14 15 16
ID 17 18 19 20 21 22 23 24
ID 25 26 27 28 29 30 31 32
ID 33 34 35 36 37 38 39 40
Next, we choose the candidate securities by the 3-months performance, and reorder the security ID number as follow: Table 2: Reordering data 3 Reordering ID ID ri 1 04 0.31 2 24 0.22 27 0.21 3 12 0.19 4 5 39 0.17 21 0.15 6 7 02 0.14 40 0.14 8 sets 12 ri 0.23 0.19 0.22 0.21 0.12 0.11 0.12 0.13
From Table 3, the variance-covariance matrix, we can get the data about the risk. Then, apply the proposed algorithm to construct the optimal portfolio. The best solution of the test problem is shown as Table 4.
Conclusions
Mean-variance is widely used in the nance area to deal with the portfolio selection problem. The purpose of the mean-variance approach is to determine the period optimal investing rate to each security based on the sequent return rate. A genetic algorithm is designed to solve the corresponding optimization problems because these nonconcave maximization problems are with a particular structure and cannot be eciently solved by the existing traditional optimization methods. In this paper, the multiobjective optimal portfolio selection problem is considered. We construct a two phases approach, and apply
210
it for the test problem. As the experiment result, the proposed method is valid for the portfolio optimization problem.
References
[1] H. Markowitz, Portfolio Selection, Journal of Finance, 7 (1952), 77 - 91. [2] H. Markowitz, Mean-Variance Analysis in Portfolio Choice and Capital Market, Basil Blackwell, New York, 1987. [3] M. Gen and R. Cheng, Genetic Algorithms and Engineering Design, John Wiley, New York, 1997. [4] M. Gen and R. Cheng, Genetic Algorithms and Engineering Optimization, John Wiley, New York, 2000. [5] M. Ehrgott, K. Klamroth and C. Schwehm, An MCDM approach to portfolio optimization, European Journal of Operational Research, 155 (2004), 752 - 770. Received: July 19, 2006