A Solving Approach for Mixed-Integer

Nonlinear Mean-Variance Portfolio Selection



1. Introductory Aspects

Generally, in the classical mean-variance portfolio selection approach several realistic features are not taken into account. Among these "forgotten" aspects, one of particular interest is the not infinite divisibility of the financial asset to select, i.e. the obligation to buy/sell only integer quantities of asset lots whose noumerousness is predetermined. In order to consider such a feature, we deal with and solve a suitably defined mixed-integer non-linear programming problem (MINPP). In particular, firstly, we consider a formulation of this problem in terms of quantities, i.e. integer number of asset lots to buy/sell, instead of starting capital percentage to invest/disinvest and, secondly, we propose an algorithm for finding a "good" feasible solution.

2. The mixed-integer nonlinear programming problem

The mixed-integer nonlinear programming problem we propose considers 1 riskless asset and n risky ones, and it is formulated in terms of quantities of asset lots (whose noumerousness is predetermined) to buy/sell. Notice that in formulating this problem we reasonably assume that the riskless asset is (tipically) the money "going"/"coming" to/from a bank account. Because of that, "only" the n risky assets are constrained to be selected in non-negative and integer amount of lots. In particular, as commonly stated in most literature, we assume too that the loan rate is equal to the deposit one.

3. The relaxed programming problem

The procedure we develop for solving the introduced MINPP is articulated in two macro-steps. In the first one we consider a relaxed version of the introduced MINPP and we solve it. In the second macro-step, starting from the (optimal) solution of this relaxed problem, we find the optimal solution of the original MINPP.

Of course, because of the presence of non-negativity constraints, it is not possible to determine in a close form the optimal solution of the relaxed problem. In order to solve this problem, we use a programming techniques which is based on the so-called external penalty functions. From a qualitative standpoint, this algorithmic technique iteratively solves a sequence of programming problem which are characterized by the relaxation of the non-negativity constraints and by suitable "penalizations" of the variables violating the same corresponding constraint.

4. Existence conditions for a feasible mixed-integer solution

Generally, the searching algorithm for an optimal mixed-integer solution need a starting feasible mixed-integer one. Nevertheless, there is not a large amount of theoretical results concerning with the finding such a feasible solution. In particular, coping with this latest topic with regard to the MINNP we introduced, we found necessary and sufficient conditions for the existence of such a feasible mixed-integer solution.

5. Searching algorithm for a "good" feasible mixed-integer solution

Tipically, the "standard" searching algorithms for an optimal mixed-integer solution has an exponential complexity. So, in order to determine such a solution in a "reasonable" (computational) time it is quite important to start from a "good" feasible mixed-integer one. Notice that the numerical results we obtain from our experimentations (see section 7.) show that, in general, the feasible mixed-integer solutions identified by the necessary and sufficient conditions previously quoted are not particularly "good". Because of that, we have defined a methodology for looking for a feasible mixed-integer solution as close as possible to the optimal solution of the target MINPP.

6. Searching algorithm for an optimal mixed-integer solution

There exist several "standard" methodologies for searching an optimal solution of a MINPP. Generally, each of them starts from a feasible mixed-integer solution (as "good" as possible) and, by following a suitable approach, determines an optimal one. In order to find the considered optimal mixed-integer solution, among the various "standard" programming techniques proposed in literature we suggest the use of the branch and bound (B&B) method based ones for, at least, the following reasons:

(6.a) our solving procedure, finding a feasible mixed-integer solution, allows to initialize the starting value of the objective function upper bound to a (positive) finite value instead of to the (positive) infinite one as in the classical B&B approach. So, the efficiency of this latest programming technique is increased because, a priori, we can stop to examinate all the branches of the decision tree to which are associated objective function values higher than the pre-determined starting one;

(6.b) the minimization of the objective function value of the starting MINPP suggests an interesting criterion for selecting, each time, the variable on which to effect the branching. In fact, one could select the variable better contributing to the reduction of the portfolio risk.

7. Numerical examples

In this section we report the results of some simulated experimentations. In particular, column 2, 3 and 4 of each table is, respectively, devoted to the optimal solution of the programming problem without both the integrality constraints and the non-negativity ones, the optimal solution of the programming problem without the integrality constraints and with the non-negativity ones, and the feasible mixed-integer solution of the starting programming problem. Finally, in order to verify if the feasible mixed-integer solution our approach finds is "good" enough, we compare them with the one identified by the necessary and sufficient existence conditions (see column 5).

Example 1

Matrix of the asset prices
954
0
0
0
0
0
0
1360
0
0
0
0
0
0
1256
0
0
0
0
0
0
1025
0
0
0
0
0
0
646
0
0
0
0
0
0
358

Matrix of the asset lot noumerousness
1
0
0
0
0
0
0
1000
0
0
0
0
0
0
3500
0
0
0
0
0
0
1000
0
0
0
0
0
0
1000
0
0
0
0
0
0
2000

Variance and covariance matrix of the asset returns
0
0
0
0
0
0
0
7.49E-04
6.12E-05
8.66E-05
1.61E-04
-8.11E-05
0
6.12E-05
1.08E-02
2.79E-04
3.25E-04
5.71E-04
0
8.66E-05
2.79E-04
3.04E-03
5.00E-05
-1.98E-04
0
1.61E-04
3.25E-04
5.00E-05
9.57E-03
-3.02E-05
0
-8.11E-05
5.71E-04
-1.98E-04
-3.02E-05
1.68E-02

Vector of the asset return expectations
0.0270
0.0174
0.1401
0.0248
0.1139
0.1004

Return rate garanteed by the portfolio = 0.1500

Starting capital = 43960000

Table 1
Column 2
Column 3
Column 4
Column 5
x(1)
29321.92
-12968.15
-15098.53
-4607.97
x(2)
-25.18
00.00
00.00
00.00
x(3)
5.26
05.62
06.00
11.00
x(4)
-2.46
00.00
00.00
00.00
x(5)
31.97
33.53
34.00
00.00
x(6)
12.64
13.94
14.00
00.00
Variance
1.2388E+13
1.3367E+13
1.3367E+13
2.5261E+13
Return
0.1500
0.1500
0.1500
0.1513

Example 2

Matrix of the asset prices
1730
0
0
0
0
0
0
123
0
0
0
0
0
0
912
0
0
0
0
0
0
788
0
0
0
0
0
0
1604
0
0
0
0
0
0
1752

Matrix of the asset lot noumerousness
1
0
0
0
0
0
0
1000
0
0
0
0
0
0
4500
0
0
0
0
0
0
1000
0
0
0
0
0
0
4000
0
0
0
0
0
0
2000

Variance and covariance matrix of the asset returns
0
0
0
0
0
0
0
6.92E-02
6.18E-05
-1.52E-03
-1.35E-03
-5.42E-05
0
6.18E-05
8.26E-05
-2.75E-05
1.45E-06
-1.23E-04
0
-1.52E-03
-2.75E-05
1.32E-02
4.11E-04
-2.95E-04
0
-1.35E-03
1.45E-06
4.11E-04
7.79E-03
-5.81E-04
0
-5.42E-05
-1.23E-04
-2.95E-04
-5.81E-04
5.48E-02

Vector of the asset return expectations
0.0194
0.0970
0.0164
0.0256
0.0100
0.0667

Return rate garanteed by the portfolio = 0.1060

Starting capital = 64160000

Table 2
Column 2
Column 3
Column 4
Column 5
x(1)
484340.12
-26278.08
-27668.21
-4363.58
x(2)
211.65
385.62
386.00
583.00
x(3)
-196.94
00.00
00.00
00.00
x(4)
16.58
32.87
33.00
00.00
x(5)
-3.47
00.00
00.00
00.00
x(6)
5.04
10.36
11.00
00.00
Variance
1.2619E+14
2.3226E+14
2.3266E+14
3.5602E+14
Return
0.1060
0.1060
0.1060
0.1061

Notice that all the numerical simulations we realized (about 50) show that the variances associated, respectively, to the feasible mixed-integer solution and to the optimal relaxed programming problem one are quite close. Because of it, the feasible mixed-integer solution seems to be really a "good" feasible mixed-integer one from which to start for searching for an optimal mixed-integer one.

8. Concluding remarks

The solving approach we propose offers evidence for possible eneralizations, in fact it should be properly developed in order to take into account, besides the not infinite divisibility of the financial assets to select, other "operative" aspects like, for instance, the transaction costs and the taxation.