Portfolio Optimization under Cardinality Constraints: A Comparative Study

Abstract

The Cardinality Constraint-Based Optimization problem is investigated in this note. In portfolio optimization problem, the cardinality constraint allows one to invest in assets out of a universe of N assets for a prespecified value of K. It is generally agreed that choosing a “small” value of K forces the implementation of diversification in small portfolios. However, the question of how small must be K has remained unanswered. In the present work, using a comparative approach we show computationally that optimal portfolio selection with a relatively small or large number of assets, K, may produce similar results with differentiated reliabilities.

Share and Cite:

Jimbo, H. , Ngongo, I. , Andjiga, N. , Suzuki, T. and Onana, C. (2017) Portfolio Optimization under Cardinality Constraints: A Comparative Study. Open Journal of Statistics, 7, 731-742. doi: 10.4236/ojs.2017.74051.

1. Introduction

Although the portfolio optimization problem has been studied using various analytical and numerical techniques for more than half a century, recent development of computer based methods has opened new horizon to research in computation finance. The problem of portfolio optimization has been rendered to be complex for direct solving by traditional numerical approaches when constraints that model investors sentiments and frictions are included in the mathematical model. An optimal stock portfolio investment strategy should show the investor how much to invest in each asset in a given portfolio. The decision variable of stock portfolio optimization is the weight of the asset in the portfolio. Once an optimal weight is obtained, the expected return and risk can be easily calculated. The solution to the stock portfolio optimization problem now lies in graphically obtaining the efficient frontier, which is a risk-return trade-off curve. Each point on the efficient frontier gives the minimum level of risk to take for an expected return or, alternatively, the maximum return one can expect for a given level of risk. Hence a rational investor would usually choose portfolios that occur on the efficient frontier, since these represent “optimal” portfolios.

The Markowitz approach for the solution of the Portfolio Selection Problem assumed a perfect market, ignoring transaction costs, taxes and permitting trading of securities at any proportions. Under these assumptions, the mathematical model is reduced to a quadratic optimization which can be directly solved by classical numerical methods [1] [2] . However, in practice, the portfolio managers operate under stricter constraints. We consider here, as in [3] [4] and [5] , the basic constraints and, in addition, non-universal constraints. Under basic constraints, the weight allocated to each asset lies between zero and one, and the total of all weights sums to one, indicating a full investment. In practice, it is often the case that an investor chooses to invest a definite proportion of weights bounded by a range in specific stock and/or chooses to invest a proportion of weights in stocks related to specific sectors such as bank, energy, technology and so on, with sum total weights in each specific sector bounded by a limit. In the former case, the constraints are referred to as bounding constraints and in the latter case as class constraints.

We finally introduce the Conditional Value-at-Risk (CVaR) into the constraints and define the cardinality constraints to allow the investors to invest partially in smaller portfolios. The Cardinality Constraint, which is our main focus in this work, is adopted when the investor can only invest in K assets out of the universe of N assets, for a prespecified value of K. Choosing a small value of K forces the implementation of diversification in small portfolios. A cardinality constrained optimization portfolio may then be viewed as a significant research topic in computational finance since the inclusion of such constraints turns the problem mathematically speaking in a mixed integer quadratic programming problem rendering it to be complex for direct solving by numerical methods. However, in some complex cases, a Genetic Algorithm (GA) approach may be required.

In this paper, we discuss the solution of complex cardinality constraint-based optimization problem but we also include all basic constraints (as part of the general constraints on portfolios over time), and implement a GA approach for investigating the solution of such a problem [1] . The GA is a member of the class of population-based stochastic search algorithms which are population-based and are developed from the ideas and principles of natural evolution. Our work is organized as follows: in Section two, we present the preliminary setup of the portfolio optimization problem; in Section three, we formulate the cardinality constraint-based optimization. In Section four we display and comparatively analyse results for the values K = 3 , 4 , 7 and 8. We discuss our results in Section five and end this work with a short conclusion in Section six.

2. Overview of the Portfolio Problem

We present in this section the mathematical foundation, propositions and theorems, and previous analytical results which support and validate our computational approach.

2.1. Preliminary Setup

This subsection presents an overview of the portfolio problem with respect to previous references [6] - [12] . The aim of this paper is to focus more precisely on solving the core optimization problem with differentiated size of assets and introduce the reader to new insights provided by our method, the ultimate goal being to let the data speak for themselves as much as possible. In our setup we hold N assets x 1 , x 2 , , x N at time t and wish to construct an optimal portfolio over given investment time periods. Our portfolio consists of N traded assets numbered 1,2, , N held over a period of time, with R j the return on asset j assumed to be a random variable. Assume x j ( t ) is the proportion of asset j traded out of the total of all assets, and let R 1 , R 2 , , R N be the return rates of assets 1,2, , N . We assume that E [ R j ] < for all j = 1,2, , N . Our aim is to invest our capital in K N assets in order to obtain some desirable characteristics of return rate on the investment. Denoting by w 1 , w 2 , , w N the fractions of the initial capital invested in assets, we have R ( x ) = R 1 x 1 + R 2 x 2 + + R N x N and the set of possible asset allocations may be defined as

X = { x R N , x 1 + x 2 + + x N = 1 ; x j 0 , j = 1 , 2 , , N } (1)

In some applications one may introduce short selling; that is, allowing some x j to be negative. Other restrictions may limit the exposure to particular assets in given groups, by imposing restrictions on upper bounds of the x j s or their particular subset sum. One can also limit the absolute differences between the proportion x j ( t ) of our assets and some reference proportion x j ¯ (which may represent the existing benchmark portfolio). One of the main difficulties of the Portfolio Optimization Problem remains the type of constraint being applied to the problem. In the next subsection we will present the concept of a dominance constrained portfolio and show how it simplifies the portfolio problem to some extent.

2.2. Dominance Constrained Portfolio

We begin by assuming that the benchmark random return rate Y having a finite expected value is available. It may have the form Y = R ( x ¯ ) for some benchmark portfolio x ¯ , which may be some expected average of our current portfolio (see [7] [8] for details). Our intention is to have a return rate, R ( x ) , of the new portfolio preferable (in some sense) over Y: therefore we introduce the following optimization problem:

Find min f

Subject to R ( x ) 2 Y , x X

Here 2 denotes dominance and f : X R is a concave continuous function. In particular, we may use f ( x ) = E ( R ( x ) ) . Now we present some standard theorems and propositions which shall clarify our concepts.

Theorem 1. Let P be a randomly constructed portfolio and P 1 the benchmark portfolio. The second order stochastic dominance constraint is equivalent to the continuum of VaR constraints on portfolios. That is, C V a R α ( P ) C V a R α ( P 1 ) for all α ( 0,1 ] , where CVaR α is the conditional Value-at-Risk at level α .

Proof (by analogy to [9] ). Let P be any randomly constructed portfolio defined as a function of its assets. Consider a function h that obeys the inequality h ( α , P ) C V a R α ( P ) , α ( 0,1 ] . For α = 0 , we get h ( 0, P ) = 0 (for details see [7] [13] and [14] ).

The function h ( α , P ) is a curve defined on the portfolio P such that

h ( α , P ( x ) ) s u p κ { α κ E [ ( κ P ( x ) ) + ] } = s u p κ { α κ g ( P ( x ) ; κ ) } (2)

Observe that h ( , P ( x ) ) is the conjugate of the function ( P 0 ( x ) ; n ) such that g ( P ( x ) ; κ ) g ( P 0 ( x ) ) for all κ R (also notice that g and h are dual functions by the definition). This implies that h ( α , P ( x ) ) h ( α , P 0 ( x ) ) , but, since g ( P ( x ) ) is continuous by duality of the conjugate, we conclude that the initial capital allowed for risk exposure at level α 0 is given by the benchmark outcome P 1 , and finally C V a R α ( P 1 ) = T α , where T α is the tail conditional expectation equivalent or the expected shortfall at fixed level α . ,

Remark 1. If the portfolio is discrete, the stochastic dominance constraint can be replaced by infinitely many inequalities.

Proposition 1. Assume that the portfolio P 1 ( x ) defined as a linear function on assets has a discrete distribution with realisation { p i } , i = 1 , , N . Then, the following equality holds:

E [ ( p i P ( x ) ) + ] E [ ( p i P 1 ( x ) ) + ] (3)

where ( p i P ( x ) ) + m a x ( 0, p i P ( x ) ) , recalling that P denotes our portfolio.

Remark 2. The above proposition does not imply that the continuum of CVaR constraints can be replaced by finitely many constraints of the form C V a R α ( P ( x ) ) C V a R ( P 1 ( x ) ) .

Proposition 2. Let P = P ( x ) be the payoff or value of a portfolio at some future time and 0 α 1 . If the underlying distribution of the portfolio P is a continuous distribution then the Expected Shortfall E S α is reduced to the Tail Conditional Expectation T C E α

T C E α ( P ) = E S α ( P ) = E [ P | P V a R α ( P ) ] (4)

Let us now focus on extreme values of the portfolio. Basically a portfolio may have heavy tail distribution partly due to violent market movements. These large market movements, far from being accepted as simple outliers, focus the attention of all investor or players, since their magnitude may be such that they compose a fraction of the portfolio return aggregate over long period of time. These observations have motivated numerous theoretical and computational efforts to understand the intermittent role of various assets in the portfolio and model adequately the tail of distribution of their returns. Such studies are relevant for risk management purposes and also necessary for calculation of average risk (of loss in portfolios) which may be required to determine regulatory capital requirements [13] [14] [15] [16] and [17] . Now, given a series of non- overlapping returns x ( t , Δ t ) , t = 0 , Δ t , 2 Δ t , , n Δ t , the extremal (minimal and minimal) returns are defined as

m N ( x , Δ t ) = min { x ( t + k Δ t ) ; k = 1 , , N }

M N ( x , Δ t ) = max { x ( t + k Δ t ) ; k = 1 , , N }

In terms of risk management m n ( x , Δ t ) represents the worst relative loss over time horizon Δ t of an investor holding a portfolio P ( x ( t ) ) . The question of how the properties of returns affect the probability distribution of m n ( x , Δ t ) and M n ( x , Δ t ) simultaneously over time seems to be quite attractive. Hence, if we knew the stochastic process generating the returns, we could easily evaluate the distribution of the extremes, but this is unfortunately not the case and that is where extreme value theory is needed. However we will not discuss the extreme value theory in this paper.

2.3. Portfolio Reliability (Predicted and Realised Risk on a Portfolio)

The reliability of a portfolio P is a quantity that serves as a good measure to compare the goodness of the fit in the portfolio. For a given level of expected return, with σ pred and σ real to be the corresponding predicted and realised risks, the reliability of a portfolio is given by

= | σ pred σ real σ real | (5)

A portfolio is more reliable when is small. In our setup the predicted risk is computed by our GA, whereas the realised risk uses the usual formula of variance. Here we use only a positive definite reliability to simplify the comparison between optimal reliability gains over generation time. In the next section we shall formulate the cardinality constraints based optimization problem.

3. Cardinality Constraint-Based Optimization Problem

To bring the element of time into play, we now expand our approach from vectors to matrices. Let N be the number of assets in the universe, μ i = E ( R j ) the expected return of the asset i, and σ i j the covariance between the returns of assets i and j in the historical data. Let w = ( w i j ) denote the weight matrix with elements representing the proportion of capital to be invested in asset j at time t = i , and K i be the number of assets in which the investor decides to invest their capital at time i. Let w j denote the vector given by column j of w (that is, the weights over all time intervals for asset j, where i denotes the ith entry of w j ), x 0 the N × N matrix of initial prices of assets over all time intervals, P = ( P i j ) the N × N matrix of portfolios (rows) over time where P i j = x 0 , i j w i j . Using the above notation, the expected stock portfolio return vector and risk matrix are then given respectively by

R ¯ = j = 1 N w j μ j and r = i = 1 N j = 1 N ( w i , w j ) σ i j (6)

where

μ j = 1 N i = j n P j (7)

is the arithmetic mean of column j of the portfolio matrix, ( w i , w j ) is the scalar product of w i and w j .

We also define a risk aversion parameter λ [ 0,1 ] to present what is known as the weighted formulation of the portfolio optimization problem. Observation of λ reveals that when it is close to zero, the weights shift toward stocks yielding high returns and when close to one, the weights shift toward combinations of stocks yielding low volatility in the efficient set. Define the cost function

f = λ i = 1 N j = 1 N ( w i , w j ) σ i j ( 1 λ ) j = 1 N w j μ j (8)

Now let us formulate our modified problem

a) Find

m i n w i , w j f (9)

b) Subject to:

i) j = 1 N w i j = 1 for all i = 1 , , N (Basic constraint)

ii) ν j w i j δ j , 0 ν j < δ j 1 for all i , j (Boundary constraint)

iii) Pr ( l P ( t ) 0.01 ) 0.01 (Probability constraint)

iv) #Math_108# where Z i j = { 1 ; if w i j > ν j 0 ; otherwise (Cardinality constraint)

l P ( t ) is the loss in portfolio P at time t and condition (i) requires that each row of the weight matrix sums to 1, with condition (ii) requiring two vectors ν = ( ν j ) , δ = ( δ j ) consisting of (possibly distinct) boundaries. Condition (iii) stipulates that the loss of any new portfolio created from an old one should be less than 1% to be acceptable. In this paper we will not go into detail on the GA implementation, rather focusing on the analysis of its outputs. For the interested reader, the algorithm may be found in [1] [18] [19] and [20] . The next section will present our results and the comparative analysis of various scenarios of investment.

4. Results and Comparative Analysis

We apply our method to the historical data of eight years worth of assets (Table 1). Those assets are widely used indexes: CAC 40, FTSE 100, S & P 500, Wilshire 5000, NASDAQ, Barclays 7 - 10 Year Treasury (IEF), MSCI EAFE Index Fund, and Gold.

In the mathematical interpretation, this data is an 8 by 8 matrix where columns represent assets and rows are the values of the asset. The values are normalised beforehand for stability reasons. Fixing a given year (row), then by multiplying each asset by the corresponding weight of the above matrix data in and summing the results, we obtain the portfolio value at the given year (row). Below we give the results obtained for the values K = 3 , 4 , 7 , 8 .

Comments in Figures 1-4 show the results obtained with three experiments (that is, three different initial weight matrices were generated at random, subject to the given conditions) on which the GA was run five times for each of the four different values of K. Each table exhibits the following: Best cost value attained; Gain from minimally reliable portfolio or row; Mean and standard deviation (SD) of each experiment, Total % Gain in Matrix portfolio value from a randomly produced initial weight matrix w 0 ; Maximum Mean Portfolio Value in Best fit matrix over all generations, and Minimum Standard deviation of Portfolio Value in the best fit matrix over all generations obtained by the GA. It can be seen that when the investor decides on diversification in the portfolio constructed with K = 3 and K = 7 assets, the expected portfolio value is higher than in the portfolio constructed with K = 4 and K = 8 assets.

5. Discussion

The proposed comparative analysis shows that high return on a portfolio may be

Table 1. The initial prices used in our experiments. Each entry gives the value of the applicable asset on the date as close as possible to 1st January in the given year.

Figure 1. Case studied K = 8.

Figure 2. Case studied K = 7.

Figure 3. Case studied K = 4.

Figure 4. Case studied K = 3.

Table 2. This table shows summary statistics of overall results, that is those of cases studied ( K = 3 , 4 , 7 and 8). Shown for each value of K are, respectively, the means of the quantities shown on this table. In the case of the total percentage gain in portfolio value in the whole matrix, this is simply the gain from following the portfolio found at each time step.

achieved with both a relatively low ( K = 3 ) and a relatively high ( K = 7 ) number of assets and differentiated risks (which have, respectively, a relatively high and low risk). We recall that we choose to measure the risk of a portfolio by the normalised standard deviation in its value over the given number of trials. We observed that the “mean” portfolio for K = 3 has a high mean portfolio value with high risk, and an investor who hopes to increase his or her portfolio value in an aggressive manner may chose such an allocation procedure. This approach will then challenge the Markowitz belief that the only optimal portfolio is the one with higher expected mean portfolio value and smaller risk or standard deviation. But generally speaking, most nonaggressive investors will tend to follow the Markowitz theory when constructing an investment strategy.

Our results have again highlighted the possibility of constructing an optimal portfolio with both low or relatively high risk (which is almost twice the lowest risk; see Table 2). The advantage of our approach is to show both possibilities which gives more choice to the investor, but the main disadvantage is that our number of total assets (N) is not very large (eight assets) and the difference between the number of assets which are invested is also relatively small (for K = 3 and K = 7 out of N = 8 , the numbers are relatively close, numerically speaking, but in the problem they produced interesting and distinct results that could be used in practice to understand and analyse portfolio selection in a comprehensive manner).

6. Conclusions

In this paper a comparative study of the Constrained Portfolio Optimization Problem with cardinality constraint is investigated. The experimental studies have been undertaken on widely used indexes form the Period of January 2003 to January 2010. Our conclusions are as follows:

1) The diversification in asset numbers less than the total number of assets (that is, for K < N ) may increase the expected portfolio return with different reliabilities. We found that the “mean” portfolios for K = 3 and K = 7 both had high mean portfolio values, but the K = 7 portfolio had the best reliability, meaning that the investor will choose either K = 3 or K = 7 depending on how reliable it is likely to be.

2) Important information such as the gain from minimally reliable portfolio or row, mean and standard deviation (SD) of each experiment, total percentage gain in matrix portfolio value, and the maximum mean and minimum standard deviation in portfolio value may play an important role in optimal portfolio selection and management.

3) The “mean” portfolio for K = 7 has the highest “most reliable row” gain percentage, indicating that the preference of investors may be higher on such a portfolio compared to that of K = 3 , even though they have identical mean portfolio values.

Future directions of this research include: investigating new concepts for diversification in large portfolios and comparing with results of diversification in small portfolios, therefore building a theory that could link those two approaches.

Acknowledgements

We are grateful to all colleagues for discussions and suggestions which helped us to improve the presentation of this paper. We thank the Waseda University and University Paris 1, for the generous research support during the preparation of this work. This work was also supported by the Grant-in-Aid for Scientific Research, both of which are part of the MEXT (Ministry of Education, Culture and Sports, Sciences and Technology of Japan). We finally thank Professor Yuichi Sakumura for useful comments and the SAKURA Research & Consulting for bringing up such an interesting research topic.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Mulvey, J.M. (1993) Incorporating Transaction Costs in Models for Asset Allocations, Financial Optimization, Stavros A. Zenios. Cambridge University Press, Cambridge.
[2] Tadonki, C. and Vial, J.Ph. (2014) Portfolio Selection with Cardinality and Bound Constraints.
http://www.omegacomputer.com/staff/tadonki/PaperForWeb/Tadonki_PF.pdf
[3] Dietmar, M. (2005) Portfolio Management with Heuristic Optimization. Springer-Verlag, New York.
[4] Goldberg, D.E. (1989) Genetic Algorithms in Search, Optimization and Machine Learning. Addison-Wesley, Boston.
[5] Jimbo, H.C. and Craven, M.J. (2011) Optimal Stock Investment with Stochastic Constraints. Proceedings of NACA (Nonlinear Analysis and Convex Analysis), Busan, Korea, 2-5 August 2011, Busan.
[6] Berger, A.J., Glover, F. and Mulvey, J.M. (1995) Solving Global Optimization Problems in Long-Term Financial Planning, Statistics and Operations Research, Technical Report. Princeton University, Princeton, NJ.
[7] Chan, M.C., Wong, C.C., Cheung, B. and Tang, G. (2005) Advance in Soft Computing. Vol. 29, Springer, Berlin, Heidelberg.
[8] Chan, M.C., Wong, C.C., Cheung, B. and Tang, G. (2005) Advance in Soft Computing. Vol. 29, Springer, Berlin, Heidelberg.
[9] Dentcheva, D. and Ruszczynski, A. (2003) Optimization with Stochastic Dominance Constraints. SIAM Journal on Optimization, 14, 548-566.
https://doi.org/10.1137/S1052623402420528
[10] Elton, E.J., Gruber, M.J., Brown, S.J. and Goetzmann, W.N. (2003) Modern Portfolio Theory and Investment Analysis. 6th Edition, John Wiley & Sons, Hoboken, NJ.
[11] Mansini, R. and Speranza, M.G. (1999) Heuristic Algorithms for the Portfolio Selection Problem with Minimum Transaction Lots. European Journal of Operational Research, 114, 219-223.
https://doi.org/10.1016/S0377-2217(98)00252-5
[12] Shetty, B., Mulvey, J.M. and Rosenbaum, D.P. (1997) Strategic Financial Risk Management and Operations Research. European Journal of Operational Research, 97, 116.
[13] Duan, Y.C. (2007) A Multi-Objective Approach to Portfolio Optimization.
http://www.rose-hulman.edu/mathjournal/archives/2007/vol8-n1/paper12/v8n1-12pd.pdf
[14] Elton, E.J. (1995) Portfolio Theory and Investment Analysis. Wiley, Hoboken.
[15] Jimbo, H.C. and Craven, M.J. (2011) Unconstrained Optimization in a Stochastic Cellular Automata System. Journal of Nonlinear Analysis and Optimization, 1, 103-110.
[16] Jimbo, H., Ouentcheu, A. and Bozeman, R.E. (2004) Portfolio Optimization with the Growth Model. Journal of Nonlinear and Convex Analysis, 131-141.
[17] Pearson, N. (2002) Risk Budgeting: Portfolio Problem Solving with Value-at-Risk, John Wiley & Sons, Hoboken.
[18] Osyczka, A. (2002) Evolutionary Algorithms for Single and Multicriteria Design Optimization. Physica-Verlag, Heidelberg.
[19] Pappa, G., Pavkaa, S.Z., Novakc, M.A. and Kondora, I. (2005) Random Matrix Filtering in Portfolio Optimization. Acta Physica Polonica B, 36, 2757-2765.
[20] Winker, P. (2001) Optimization Heuristic in Economic Application of Threshold Accepting. Wiley, Hoboken.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.