Next Article in Journal
New MCDM Algorithms with Linear Diophantine Fuzzy Soft TOPSIS, VIKOR and Aggregation Operators
Next Article in Special Issue
Portfolio Insurance through Error-Correction Neural Networks
Previous Article in Journal
Remarks on Sugeno Integrals on Bounded Lattices
Previous Article in Special Issue
Adopting Nonlinear Activated Beetle Antennae Search Algorithm for Fraud Detection of Public Trading Companies: A Computational Finance Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Exploiting Mean-Variance Portfolio Optimization Problems through Zeroing Neural Networks

by
Spyridon D. Mourtas
1 and
Chrysostomos Kasimis
2,*
1
Department of Economics, Division of Mathematics and Informatics, National and Kapodistrian University of Athens, Sofokleous 1 Street, 10559 Athens, Greece
2
Department of Physics, Electronics Laboratory, University of Patras, 26504 Patras, Greece
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(17), 3079; https://doi.org/10.3390/math10173079
Submission received: 26 July 2022 / Revised: 21 August 2022 / Accepted: 22 August 2022 / Published: 26 August 2022

Abstract

:
In this research, three different time-varying mean-variance portfolio optimization (MVPO) problems are addressed using the zeroing neural network (ZNN) approach. The first two MVPO problems are defined as time-varying quadratic programming (TVQP) problems, while the third MVPO problem is defined as a time-varying nonlinear programming (TVNLP) problem. Then, utilizing real-world datasets, the time-varying MVPO problems are addressed by this alternative neural network (NN) solver and conventional MATLAB solvers, and their performances are compared in three various portfolio configurations. The results of the experiments show that the ZNN approach is a magnificent alternative to the conventional methods. To publicize and explore the findings of this study, a MATLAB repository has been established and is freely available on GitHub for any user who is interested.

1. Introduction and Motivation

Portfolio management refers to the process of controlling an asset portfolio to achieve an investor’s risk tolerance and long-term financial aims. Option replication [1], risk management [2], transaction costs [3], insurance costs [4], liquidity risk [5], and other disciplines of portfolio optimization may be effectively approached using conventional optimization methods. Most recently, neural network (NN) methods such as weights-and-structure-determination (WASD)-based NNs [6], collaborative neurodynamic optimization [7], nonlinear NNs [8], and reinforcement learning [9] have been utilized to address portfolio optimization. This work defines and explores the continuous-time (CT) version of three variations of the mean-variance portfolio optimization (MVPO) problem, while the zeroing NN (ZNN) method is used to solve these financial CT problems. The first two MVPO problems are defined as time-varying quadratic programming (TVQP) problems, while the third MVPO problem is defined as a time-varying nonlinear programming (TVNLP) problem. This article’s primary goal is to solve the time-varying MVPO problem through the ZNN method accurately in a short amount of time. The CT versions of the MVPO problems permit the appliance of the ZNN method to the field of finance.
The ZNN framework was created by Zhang et al. in [10] for generating online solutions to TV problems and is based on the Hopfield neural network. Notice that the vast majority of ZNN-based dynamical systems are classified as recurrent NNs (RNNs), which are utilized to locate equations’ zeros. The ZNN approach has been widely used to solve a number of TV issues as a result of its thorough examination, with the most common applications being problems of generalized inversion [11], matrix equations systems [12], problems of quadratic optimization [13], linear equations systems [14], and various matrix functions approximation, such as performing TV QR decomposition [15] and solving TV algebraic Riccati equations [16].
The main benefits of an artificial NN include generalization, fault and noise tolerance, and the capacity to predict data that have not yet been seen while saving costs and time [15]. Based on this and the appeal of utilizing NNs to tackle portfolio selection problems in the recent past, our Markowitz’s mean-variance framework approaches take advantage of the benefits of the NN solver (i.e., ZNN method) through the time-varying MVPO problems, which are extremely realistic problems of financial risk management. Additionally, the NN solver may be regarded as predictive dynamics, as is well known. By employing this NN method, the models proposed in [6,11] have magnificent convergence performance, while the convergence speed of the approaches can be changed by altering the design parameter [15]. As a consequence, by using the ZNN method, the time-varying MVPO problems can be addressed with exponential convergence performance. It is worth mentioning that conventional optimization algorithms, such as standard solvers [17], evolutionary algorithms [18], and genetic algorithms [19,20], are typically sufficient for solving the static MVPO. However, conventional optimization methods are only able to solve the time-varying MVPO in the discrete-time (DT) case, whereas the ZNN approach can solve it in both the DT and CT cases. In [21], the authors contended that “Static-time and time-varying problems sometimes behave differently. Therefore time-invariant and time-varying problems may require different approaches.” To be able to track the evolution of the static MVPO problems over time and to offer a form of prediction, we investigate the MVPO problems as continuous TVQP and TVNLP problems, respectively. Last but not least, well-known methods for addressing a series of static problems, such as ZNN, exceed the methodology for dealing with time-varying situations.
The main contributions of this work can be summed up as follows:
  • Three time-varying MVPO problems are defined and explored;
  • Three novel ZNN models for addressing the time-varying MVPO problems are defined;
  • For the first time, the ZNN approach has been used to solve a TVNLP problem;
  • Using real-world datasets to apply in the field of finance the NN solver;
  • The performances of the NN solver and conventional MATLAB solvers are demonstrated and contrasted in trials using three different portfolio configurations.
The following hierarchy governs the overall organization of parts in the document. The three variations of the MVPO problem are introduced in Section 2. Section 3 presents the ZNN solver. Experiments in Section 4 look at the performance and efficacy of the NN solver for resolving the time-varying MVPO problems in three different portfolio setup cases using daily real-world data. Additionally, information about a publicly accessible MATLAB repository on GitHub is provided in Section 4. This repository implements all of the techniques and procedures outlined in Section 3 and Section 4 to promote the readability and computational value of this research. The final remarks are found in Section 5.
We will utilize these symbols in the follow-up: 1 and 0 , respectively, for those elements of R n consisting of ones and zeros; O k , I k , respectively, for the zero and the identity k × k matrix; ( · ) T , ( · ) 1 , respectively, denote matrix transposition and inversion.

2. Mean-Variance Portfolio Optimization

A portfolio, in finance, is a compilation of all the assets possessed by a public or private institution. In Markowitz’s modern portfolio theory (MPT), which was established half a century ago [22], we face the challenge of assigning the funds to the assets that are available in a way that risk decreases and profit increases, where the profit refers to the expected mean return of the portfolio, and the risk refers to the portfolio’s variance. That is, the less variance there is, the lesser the risk. Furthermore, short sales are outlawed in the MPT’s ideal market, in which shares are endlessly separable and thus could be sold in any (non-negative) portion, free of taxes and transaction costs. This work also adheres to these assumptions.
The MVPO problem is important both practically and theoretically [22]. The MVPO is an optimization problem, in finance, that includes allocating the assets in the portfolio in a way that reduces risk while achieving a desired expected return. As seen in [23,24,25,26], the MVPO has been extensively investigated over the past few decades. For instance, different approaches for solving variations of the static MVPO problem are examined in [23,24], a CT MVPO problem with stochastic parameters under a no-bankruptcy limit is investigated in [25], and a multi-period modified MVPO problem is presented and examined in [26]. The definition of the three MVPO problem’s variations are covered in great detail in this section.
Assume the marketed space Q ( t ) = [ q 1 ( t ) , q 2 ( t ) , , q n ( t ) ] R n at time t = 1 , 2 , , μ , where q i ( t ) R denotes the asset’s i, i = 1 , 2 , , n , return. Assuming the past values (or delays) number τ N , we set p ( t ) = [ p 1 ( t ) , p 2 ( t ) , , p n ( t ) ] R n the market’s space expected return at time t, where p i ( t ) = d = 0 τ 1 q i ( t d ) / τ R denotes the asset’s i, i = 1 , 2 , , n , expected return. In this way, p i ( t ) turns into a weight-free average of the previous τ values, i.e., a simple moving average (SMA) [27]. It is worth mentioning that one of the most frequently utilized technical indicators is the moving average. Furthermore, C ( t ) R n × n is covariance matrix of the marketed space and η ( t ) = [ η 1 ( t ) , η 2 ( t ) , , η n ( t ) ] R n is the optimal portfolio. Based on [13,28], the three variations of the MVPO problem are described in the following subsections.

2.1. Time-Varying MVPO Problem (Version 1)

Considering p g ( t ) [ min ( p ( t ) ) , max ( p ( t ) ) ] R the target expected return of the portfolio, the TVQP formulation for the first version of the time-varying MVPO (MVPO1) problem is as follows:
(1) min η ( t ) η T ( t ) C ( t ) η ( t ) (2) s . t . 1 T η ( t ) = 1 (3) p T ( t ) η ( t ) p g ( t ) (4) 0 η ( t ) 1 .
The constraint in (2) is the typical holding constraint, which requires that the sum of all asset weights be 1, and the constraint in (4) indicates the lower and upper limits of the portfolio asset weights. The constraint in (3) shows that the expected return must equal or exceed the target value p g ( t ) , whereas the objective function (1) and the portfolio’s overall variance are the same. As a result, the MVPO1 problem finds the minimum risk portfolio with an expected return greater or equal to the target p g ( t ) . That is, solving the MVPO1 problem for values of p g ( t ) [ min ( p ( t ) ) , max ( p ( t ) ) ] one obtains all efficient portfolios.

2.2. Time-Varying MVPO Problem (Version 2)

In this version, p g ( t ) 0 stands for a risk tolerance factor. A value of p g ( t ) = 0 indicates a portfolio with minimum risk, while a value of p g ( t ) indicates a portfolio that is indefinitely out on the frontier with both unbounded expected return and risk. Based on this, the TVQP formulation for the second version of the time-varying MVPO (MVPO2) problem is as follows:
(5) min η ( t ) η T ( t ) C ( t ) η ( t ) p g ( t ) ( p T ( t ) η ( t ) ) (6) s . t . 1 T η ( t ) = 1 (7) 0 η ( t ) 1 .
The constraint in (6) is the typical holding constraint, which requires that the sum of all asset weights be 1, and the constraint in (7) indicates the lower and upper limits of the portfolio asset weights. It is important to mention that the objective function (5) is a risk-adjusted return function where the constant p g ( t ) serves as a risk-aversion constant. As a result, the MVPO2 problem determines the location on the frontier where the inverse of the frontier’s slope would be p g ( t ) .

2.3. Time-Varying MVPO Problem (Version 3)

In this version, p g ( t ) 0 is a given upper limit on the variance of the portfolio. Based on this, the TVNLP formulation for the third version of the time-varying MVPO (MVPO3) problem is as follows:
(8) min η ( t ) p T ( t ) η ( t ) (9) s . t . 1 T η ( t ) = 1 (10) η T ( t ) C ( t ) η ( t ) p g ( t ) , (11) 0 η ( t ) 1 .
The constraint in (9) is the typical holding constraint, which requires that the sum of all asset weights be 1, and the constraint in (11) indicates the lower and upper limits of the portfolio asset weights, whereas the objective function (8) is the portfolio’s expected return. Notice that the MVPO3 problem is not a TVQP problem since it has a convex quadratic constraint in (10). As a result, the MVPO3 problem finds the maximum expected return portfolio with a variance below the limit p g ( t ) .

2.4. Conversion from Discrete-Time to Continuous-Time MVPO Problems

By interpolating the p ( t ) and the C ( t ) into continuous functions with any methodology of preferences, we transform the time-varying MVPO problems from DT to CT. As a result, considering the space of all continuous real functions C [ 0 , μ τ 1 ] on the interval [ 0 , μ τ 1 ] , we have that p ( t ) , C ( t ) C [ 0 , μ τ 1 ] , and  η ( t ) becomes the online solution of the MVPO1 problem of (1)–(4), the MVPO2 problem of (5)–(7), and the MVPO3 problem of (8)–(11).

3. The Neural Network Approach

Using NNs to address intractability problems and solve complex computation equations is now commonplace in academia and industry. Due to their central significance in mathematical optimization, TVQP problems have gotten a lot of attention in recent decades [29,30,31], whereas the NN concept is regarded a powerful tool for real-time computation because of its hardware implementation availability and parallel distributed computing nature [15]. TVQP and TVNLP problems may be stated as a set of error equations in the case of RNNs by finding their zeros. ZNN is a type of NNs that is specifically designed to zeroing equations, which has played an important role in the online solution of time-varying problems in recent years by tackling a variety of difficult problems in a variety of scientific domains [13,32]. This section describes the NN solver for approaching the MVPO1, MVPO2, and MVPO3 problems.

3.1. ZNN Approach on the MVPO1 Problem

Since its introduction by Zhang et al. in 2001 [33], the ZNN evolution has been studied and developed as a significant class of recurrent NNs. Furthermore, ZNN has been theoretically investigated and shown to be a powerful and trustworthy method for resolving time-varying problems. The error matrix Z ( t ) is created and then may be dynamically controlled using the next formula, according to the ZNN design with the linear activation function [12]:
Z ˙ ( t ) = γ Z ( t ) ,
where γ > 0 is the design parameter, and  ( ) ˙ signifies the time derivative. Z ( t ) is forced to exponentially converge to zero matrix by (12), while it is demonstrated that the convergence rate increases with the value supplied to γ . The three steps listed below can be used to achieve our goal of developing a ZNN model based on [30,31] in order to solve the MVPO1 problem.
Step 1:
(MVPO1 problem reformulation) The MVPO1 problem of (1)–(4) can be reformulated as follows:
(13) min η ( t ) η T ( t ) C ( t ) η ( t ) (14) s . t . 1 T η ( t ) = 1 (15) p ( t ) T η ( t ) p g ( t ) (16) η ( t ) 1 , (17) η ( t ) 0 ,
or equivalent
(18) min η ( t ) η T ( t ) C ( t ) η ( t ) (19) s . t . 1 T η ( t ) = 1 (20) A ( t ) η ( t ) b ( t ) ,
where A ( t ) = p T ( t ) I n I n R ( 1 + 2 n ) × n and b ( t ) = p g ( t ) 1 0 R 1 + 2 n . Then, using the penalty function proposed in [30,31], the problem of (18)–(20) may be reformulated as below:
(21) min η ( t ) η T ( t ) C ( t ) η ( t ) + P ( η ( t ) ) (22) s . t . 1 T η ( t ) = 1
where P ( η ( t ) ) = h i = 1 1 + 2 n e s N i ( t ) R with N i ( t ) = b i ( t ) A i ( t ) η ( t ) , i = 1 , 2 , , 1 + 2 n . Notice that h 0 and s > 0 , respectively, denote the penalty and the design parameter. The P ( η ( t ) ) value is more consequent with the conditions (20) as s increases, although calculations will take longer if is too large. When N ( t ) = 0 , h can push the P ( η ( t ) ) value to be close to zero.
Step 2:
(Conditions of minimization) The optimization problem in (21) and (22) is solved by determining the following Lagrange function:
L ( η ( t ) , λ ( t ) , t ) = η T ( t ) C ( t ) η ( t ) + P ( η ( t ) ) + λ T ( t ) ( 1 T η ( t ) 1 ) .
The following are the first-order conditions:
L ( η ( t ) , λ ( t ) , t ) η ( t ) = 2 C ( t ) η ( t ) + P η ( t ) + λ ( t ) 1 = 0 L ( η ( t ) , λ ( t ) , t ) λ ( t ) = 1 T η ( t ) 1 = 0
where P η ( t ) = h s i = 1 1 + 2 n e s N i ( t ) A i T ( t ) R n .
Step 3:
(ZNN solver) The next error matrix equation group is set:
Z 1 ( t ) = 2 C ( t ) η ( t ) + P η ( t ) + λ ( t ) 1 Z 2 ( t ) = 1 T η ( t ) 1
and then replacing Z ( t ) in (12) with Z i ( t ) , i = 1 , 2 , defined in (25), one obtains:
2 C ˙ ( t ) η ( t ) + 2 C ( t ) η ˙ ( t ) + P ˙ η ( t ) + λ ˙ ( t ) 1 + λ ( t ) 0 = γ Z 1 ( t ) 0 T η ( t ) + 1 T η ˙ ( t ) = γ Z 2 ( t )
where P ˙ η ( t ) = P 1 ( t ) η ˙ ( t ) + P 2 ( t ) η ( t ) + P 3 ( t ) with
P 1 ( t ) = h s 2 i = 1 1 + 2 n e s N i ( t ) A i T ( t ) A i ( t ) R n × n , P 2 ( t ) = h s 2 i = 1 1 + 2 n e s N i ( t ) A i T ( t ) A ˙ i ( t ) R n × n , P 3 ( t ) = h s i = 1 1 + 2 n e s N i ( t ) A ˙ i T ( t ) s A i T ( t ) b ˙ ( t ) R n .
It is important to mention that A ˙ ( t ) = p ˙ ( t ) T O n O n R ( 1 + 2 n ) × n and b ˙ ( t ) = p ˙ g ( t ) 0 0 R 1 + 2 n . As a consequence, (26) may be reformulated as below:
2 C ( t ) + P 1 ( t ) η ˙ ( t ) + λ ˙ ( t ) 1 = γ Z 1 ( t ) 2 C ˙ ( t ) η ( t ) P 2 ( t ) η ( t ) P 3 ( t ) 1 T η ˙ ( t ) = γ Z 2 ( t )
Then setting
M ( t ) = 2 C ( t ) + P 1 ( t ) 1 1 T 0 , v ( t ) = γ Z 1 ( t ) 2 C ˙ ( t ) η ( t ) P 2 ( t ) η ( t ) P 3 ( t ) γ Z 2 ( t ) ,
where M ( t ) R ( 1 + n ) × ( 1 + n ) and v ( t ) R 1 + n , (28) may be reformulated as below:
M ( t ) w ˙ ( t ) = v ( t ) ,
where w ˙ ( t ) = η ˙ ( t ) λ ˙ ( t ) R 1 + n . Since M ( t ) is a nonsingular mass matrix, the model of (30) is adequate for addressing the MVPO1 problem of (1)–(4); however, as will be demonstrated in Section 4, since the construction of p and C in our approach in terms of MATLAB code relies on function handle, the next model of (31) is simpler to control under a MATLAB ode solver. As a consequence, the following is the suggested ZNN model for the MVPO1 problem of (1)–(4):
w ˙ ( t ) = M 1 ( t ) v ( t ) ,
which, with the exception of the expense of computing the matrix’s inverse, is equivalent to (30). It is important to note that using a MATLAB solver for the ode can effectively produce the solution w ( t ) of Equation (31). The following theorem, 1, establishes that the ZNN solver converges to the theoretical solution.
Theorem 1.
The state vector w ( t ) = [ η T ( t ) , λ T ( t ) ] T of ZNN (31) converges universally to the theoretical solution w * ( t ) = [ η * T ( t ) , λ * T ( t ) ] T starting from any initial condition w ( 0 ) R n + k . To put it another way, lim t ( w * ( t ) w ( t ) ) = 0 , while the first n components of x * ( t ) are the theoretical solution η * ( t ) of TVQP (21) and (22).
Proof. 
The error matrix equation group is determined as in (25), inline with the ZNN architecture, to achieve the solution w ( t ) of TVQP (21) and (22). The model (26) is then obtained by using the linear design formula for zeroing (25). When t , each error matrix equation in the group (26) converges to zero matrix, according to ([10] Theorem 1). As a consequence, when t , the solution of (26) converges to the theoretical solution of TVQP (21) and (22). Additionally, we can infer from the (31) derivation procedure that it is merely a variant of the (26) error. Thus, the proof is finished.    □

3.2. ZNN Approach on the MVPO2 Problem

Similar to the ZNN approach on the MVPO1 problem, the three steps listed below can be used to develop a ZNN model in order to solve the MVPO2 problem.
Step 1:
(MVPO2 problem reformulation) The MVPO2 problem of (5)–(7) can be reformulated as follows:
(32) min η ( t ) η T ( t ) C ( t ) η ( t ) p g ( t ) p ( t ) T η ( t ) (33) s . t . 1 T η ( t ) = 1 (34) η ( t ) 1 (35) η ( t ) 0 ,
or equivalent
(36) min η ( t ) η T ( t ) C ( t ) η ( t ) p g ( t ) p ( t ) T η ( t ) (37) s . t . 1 T η ( t ) = 1 (38) A ( t ) η ( t ) b ( t ) ,
where A ( t ) = I n I n R 2 n × n and b ( t ) = 1 0 R 2 n . Then, using the penalty function proposed in [30,31], the problem of (36)–(38) may be reformulated as below:
(39) min η ( t ) η T ( t ) C ( t ) η ( t ) p g ( t ) ( p ( t ) T η ( t ) ) + P ( η ( t ) ) (40) s . t . 1 T η ( t ) = 1
where P ( η ( t ) ) = h i = 1 2 n e s N i ( t ) R with N i ( t ) = b i ( t ) A i ( t ) η ( t ) , i = 1 , 2 , , 2 n . Notice that h 0 and s > 0 , respectively, denote the penalty and the design parameter. The P ( η ( t ) ) value is more consequent with the conditions (38) as s increases, although calculations will take longer if is too large. When N ( t ) = 0 , h can push the P ( η ( t ) ) value to be close to zero.
Step 2:
(Conditions of minimization) The optimization problem in (39) and (40) is solved by determining the following Lagrange function:
L ( η ( t ) , λ ( t ) , t ) = η T ( t ) C ( t ) η ( t ) p g ( t ) ( p ( t ) T η ( t ) ) + P ( η ( t ) ) + λ T ( t ) ( 1 T η ( t ) 1 ) .
The following are the first-order conditions:
L ( η ( t ) , λ ( t ) , t ) η ( t ) = 2 C ( t ) η ( t ) p g ( t ) p ( t ) + P η ( t ) + λ ( t ) 1 = 0 L ( η ( t ) , λ ( t ) , t ) λ ( t ) = 1 T η ( t ) 1 = 0
where P η ( t ) = h s i = 1 2 n e s N i ( t ) A i T ( t ) R n .
Step 3:
(ZNN solver) The next error matrix equation group is set:
Z 1 ( t ) = 2 C ( t ) η ( t ) p g ( t ) p ( t ) + P η ( t ) + λ ( t ) 1 Z 2 ( t ) = 1 T η ( t ) 1
and then replacing Z ( t ) in (12) with Z i ( t ) , i = 1 , 2 , defined in (43), one obtains:
2 C ˙ ( t ) η ( t ) + 2 C ( t ) η ˙ ( t ) p ˙ g ( t ) p ( t ) p g ( t ) p ˙ ( t ) + P ˙ η ( t ) + λ ˙ ( t ) 1 + λ ( t ) 0 = γ Z 1 ( t ) 0 T η ( t ) + 1 T η ˙ ( t ) = γ Z 2 ( t )
where P ˙ η ( t ) = P 1 ( t ) η ˙ ( t ) + P 2 ( t ) η ( t ) + P 3 ( t ) with
P 1 ( t ) = h s 2 i = 1 2 n e s N i ( t ) A i T ( t ) A i ( t ) R n × n , P 2 ( t ) = h s 2 i = 1 2 n e s N i ( t ) A i T ( t ) A ˙ i ( t ) R n × n , P 3 ( t ) = h s i = 1 2 n e s N i ( t ) A ˙ i T ( t ) s A i T ( t ) b ˙ ( t ) R n .
It is important to mention that A ˙ ( t ) = O n O n R 2 n × n and b ˙ ( t ) = 0 0 R 2 n . As a consequence, (26) may be reformulated as below:
2 C ( t ) + P 1 ( t ) η ˙ ( t ) + λ ˙ ( t ) 1 = γ Z 1 ( t ) 2 C ˙ ( t ) η ( t ) + p ˙ g ( t ) p ( t ) + p g ( t ) p ˙ ( t ) P 2 ( t ) η ( t ) P 3 ( t ) 1 T η ˙ ( t ) = γ Z 2 ( t )
Then setting
M ( t ) = 2 C ( t ) + P 1 ( t ) 1 1 T 0 R ( 1 + n ) × ( 1 + n ) , v ( t ) = γ Z 1 ( t ) 2 C ˙ ( t ) η ( t ) + p ˙ g ( t ) p ( t ) + p g ( t ) p ˙ ( t ) P 2 ( t ) η ( t ) P 3 ( t ) γ Z 2 ( t ) R 1 + n ,
(46) may be reformulated as below:
M ( t ) w ˙ ( t ) = v ( t ) ,
where w ˙ ( t ) = η ˙ ( t ) λ ˙ ( t ) R 1 + n . Since M ( t ) is a nonsingular mass matrix, the model of (48) is adequate for addressing the MVPO1 problem of (5)–(7). However, as will be demonstrated in Section 4, since the construction of p and C in our approach in terms of MATLAB code relies on function handle, the next model of (31) is simpler to control under a MATLAB ode solver. As a consequence, the following is the suggested ZNN model for the MVPO1 problem of (5)–(7):
w ˙ ( t ) = M 1 ( t ) v ( t ) ,
which, with the exception of the expense of computing the matrix’s inverse, is equivalent to (48). It is important to note that using a MATLAB solver for the ode can effectively produce the solution w ( t ) of Equation (49). The following theorem, Theorem 2, establishes that the ZNN solver converges to the theoretical solution.
Theorem 2.
The state vector w ( t ) = [ η T ( t ) , λ T ( t ) ] T of ZNN (49) converges universally to the theoretical solution w * ( t ) = [ η * T ( t ) , λ * T ( t ) ] T starting from any initial condition w ( 0 ) R n + k . To put it another way, lim t ( w * ( t ) w ( t ) ) = 0 , while the first n components of x * ( t ) are the theoretical solution η * ( t ) of TVQP (39) and (40).
Proof. 
The error matrix equation group is determined as in (43), inline with the ZNN architecture, to achieve the solution w ( t ) of TVQP (39) and (40). Model (44) is then obtained by using the linear design formula for zeroing (43). When t , each error matrix equation in the group (44) converges to zero matrix, according to ([10] Theorem 1). As a consequence, when t , the solution of (44) converges to the theoretical solution of TVQP (39) and (40). Additionally, we can infer from the (49) derivation procedure that it is merely a variant of the (44) error. Thus, the proof is finished.    □

3.3. ZNN Approach on the MVPO3 Problem

Similar to the ZNN approach on the MVPO1 and MVPO2 problems, the three steps listed below can be used to develop a ZNN model in order to solve the MVPO3 problem.
Step 1:
(MVPO3 problem reformulation) The MVPO3 problem of (8)–(11) can be reformulated as follows:
(50) min η ( t ) p ( t ) T η ( t ) (51) s . t . 1 T η ( t ) = 1 (52) η T ( t ) C ( t ) η ( t ) p g ( t ) (53) η ( t ) 1 , (54) η ( t ) 0 ,
or equivalent
(55) min η ( t ) p ( t ) T η ( t ) (56) s . t . 1 T η ( t ) = 1 (57) η T ( t ) C ( t ) η ( t ) p g ( t ) (58) A ( t ) η ( t ) b ( t ) ,
where A ( t ) = I n I n R 2 n × n and b ( t ) = 1 0 R 2 n . Then, using the penalty function proposed in [30,31], the problem of (55)–(58) may be reformulated as below:
(59) min η ( t ) p ( t ) T η ( t ) + P ( η ( t ) ) + P 2 ( η ( t ) ) (60) s . t . 1 T η ( t ) = 1
where P ( η ( t ) ) = h i = 1 2 n e s N i ( t ) R with N i ( t ) = b i ( t ) A i ( t ) η ( t ) , i = 1 , 2 , , 2 n , and  P 2 ( η ( t ) ) = h 2 W ( t ) R with W ( t ) = e s 2 ( p g ( t ) η T ( t ) C ( t ) η ( t ) ) . Notice that h , h 2 0 and s , s 2 > 0 , respectively, denote the penalty and the design parameter. The values of P ( η ( t ) ) , P 2 ( η ( t ) ) , respectively, are more consequent with the conditions (58) as s , s 2 increase, although calculations will take longer if s , s 2 are too large. When N ( t ) = 0 and η T ( t ) C ( t ) η ( t ) = p g ( t ) , h , h 2 , respectively, can push the values of P ( η ( t ) ) , P 2 ( η ( t ) ) to be close to zero.
Step 2:
(Conditions of minimization) The optimization problem in (59) and (60) is solved by determining the following Lagrange function:
L ( η ( t ) , λ ( t ) , t ) = p ( t ) T η ( t ) + P ( η ( t ) ) + P 2 ( η ( t ) ) + λ T ( t ) ( 1 T η ( t ) 1 ) .
The following are the first-order conditions:
L ( η ( t ) , λ ( t ) , t ) η ( t ) = p ( t ) + P η ( t ) + P 2 , η ( t ) + λ ( t ) 1 = 0 L ( η ( t ) , λ ( t ) , t ) λ ( t ) = 1 T η ( t ) 1 = 0
where P η ( t ) = h s i = 1 2 n e s N i ( t ) A i T ( t ) R n and P 2 , η ( t ) = 2 h 2 s 2 W ( t ) C ( t ) η ( t ) R n .
Step 3:
(ZNN solver) The next error matrix equation group is set:
Z 1 ( t ) = p ( t ) + P η ( t ) + P 2 , η ( t ) + λ ( t ) 1 Z 2 ( t ) = 1 T η ( t ) 1
and then replacing Z ( t ) in (12) with Z i ( t ) , i = 1 , 2 , defined in (63), one obtains:
p ˙ ( t ) + P ˙ η ( t ) + P ˙ 2 , η ( t ) + λ ˙ ( t ) 1 + λ ( t ) 0 = γ Z 1 ( t ) 0 T η ( t ) + 1 T η ˙ ( t ) = γ Z 2 ( t )
where P ˙ η ( t ) = P 1 ( t ) η ˙ ( t ) + P 2 ( t ) η ( t ) + P 3 ( t ) with P 1 ( t ) , P 2 ( t ) , P 3 ( t ) defined exactly as in (45), and  P ˙ 2 , η ( t ) = P 4 ( t ) η ˙ ( t ) + P 5 ( t ) η ( t ) + P 6 ( t )
P 4 ( t ) = 2 h 2 s 2 W ( t ) ( 2 s 2 η T ( t ) C ( t ) η ( t ) C ( t ) + C ( t ) ) R n × n , P 5 ( t ) = 2 h 2 s 2 W ( t ) C ˙ ( t ) R n × n , P 6 ( t ) = 2 h 2 s 2 2 W ( t ) C ( t ) η ( t ) ( η T ( t ) C ˙ ( t ) η ( t ) p ˙ g ( t ) ) R n .
It is important to mention that A ˙ ( t ) = O n O n R 2 n × n and b ˙ ( t ) = 0 0 R 2 n . As a consequence, (26) may be reformulated as below:
P 1 ( t ) + P 4 ( t ) η ˙ ( t ) + λ ˙ ( t ) 1 = γ Z 1 ( t ) 2 C ˙ ( t ) η ( t ) P 2 ( t ) + P 5 ( t ) η ( t ) P 3 ( t ) P 6 ( t ) + p ˙ ( t ) 1 T η ˙ ( t ) = γ Z 2 ( t )
Then setting
M ( t ) = P 1 ( t ) + P 2 ( t ) 1 1 T 0 R ( 1 + n ) × ( 1 + n ) , v ( t ) = γ Z 1 ( t ) 2 C ˙ ( t ) η ( t ) P 2 ( t ) + P 5 ( t ) η ( t ) P 3 ( t ) P 6 ( t ) + p ˙ ( t ) γ Z 2 ( t ) R 1 + n ,
(46) may be reformulated as below:
M ( t ) w ˙ ( t ) = v ( t ) ,
where w ˙ ( t ) = η ˙ ( t ) λ ˙ ( t ) R 1 + n . Since M ( t ) is a nonsingular mass matrix, the model of (68) is adequate for addressing the MVPO1 problem of (8)–(11); however, as will be demonstrated in Section 4, since the construction of p and C in our approach in terms of MATLAB code relies on function handle, the next model of (31) is simpler to control under a MATLAB ode solver. As a consequence, the following is the suggested ZNN model for the MVPO1 problem of (8)–(11):
w ˙ ( t ) = M 1 ( t ) v ( t ) ,
which, with the exception of the expense of computing the matrix’s inverse, is equivalent to (68). It is important to note that using a MATLAB solver for the ode can effectively produce the solution w ( t ) of Equation (69). The following Theorem 3, establishes that the ZNN solver converges to the theoretical solution.
Theorem 3.
The state vector w ( t ) = [ η T ( t ) , λ T ( t ) ] T of ZNN (69) converges universally to the theoretical solution w * ( t ) = [ η * T ( t ) , λ * T ( t ) ] T starting from any initial condition w ( 0 ) R n + k . To put it another way, lim t ( w * ( t ) w ( t ) ) = 0 , while the first n components of x * ( t ) are the theoretical solution η * ( t ) of the optimization problem in (59) and (60).
Proof. 
The error matrix equation group is determined as in (63), inline with the ZNN architecture, to achieve the solution w ( t ) of the optimization problem in (59) and (60). The model (64) is then obtained by using the linear design formula for zeroing (63). When t , each error matrix equation in the group (64) converges to zero matrix, according to ([10] Theorem 1). As a consequence, when t , the solution of (64) converges to the theoretical solution of the optimization problem in (59) and (60). Additionally, we can infer from the (69) derivation procedure that it is merely a variant of the (64) error. Thus, the proof is finished.    □

4. Real-World Simulation Results

The time series data in the MVPO problems are the portfolio’s covariance matrix and expected return array. Since the input data are in DT, they must be converted to CT. We accomplish this by employing interpolation functions. Algorithm 1 describes how we create the expected return array p and its first derivative p ˙ , as well as the covariance matrix C and its first derivative C ˙ . It is important to note that the input data must be translated from DT to CT since we are aiming to calculate the online solution of CT problems. In order to interpolate linearly between arrays and matrices, Algorithm 1 uses the MATLAB custom functions linots and linotss, which are retrieved from [34]. The DT arrays p ( t ) , p ˙ ( t ) , p g ( t ) , and p ˙ g ( t ) are converted into interpolated CT functions using linots, and the DT matrices C ( t ) and C ˙ ( t ) are converted into interpolated CT functions using linotss. Nevertheless, a number of additional custom interpolation functions for well-liked interpolation techniques are suggested in [34], where their major benefit over the commercial functions of MathWorks is that they are being operated more effectively by the MATLAB ode solvers, reducing computational expenses. To put it another way, when time series constitute the input data, the ZNN produces quicker results.
To have an appropriate covariance matrix for comparisons, it is important to note that the portfolio’s data are normalized for each time period. The covariance matrix C is multiplied by 100 without loss of generality, which results in the variance of the portfolio being expressed in percentages. Additionally, the MATLAB ode15s solver is used to create the online solution of the MVPO1, MVPO2, and MVPO3 problems for Equations (31), (49), and (69), respectively. In addition, in the following experiments, all the parameters have been set as shown in Table 1. The financial time series utilized are retrieved from https://finance.yahoo.com (accessed on 1 February 2022) and the following link leads you to the entire implementation and development of the MVPO1, MVPO2, and MVPO3 problems discussed in Section 3 and Section 4 on GitHub: https://github.com/SDMourtas/CTMVPO (accessed on 1 February 2022). Lastly, the solutions provided by the ZNN solver are contrasted to the presumptive theoretical solutions produced by the MATLAB functions quadprog in the MVPO1 and MVPO2 problems, and fmincon in the MVPO3 problem, for comparison purposes.
Algorithm 1 Data preprocessing algorithm for the CT MVPO problems.
Require: The marketed space Q = [ q 1 , q 2 , , q n ] , the moving average’s number of time periods τ μ 1 , τ N .
1:
procedureData_Prep( Q , τ )
2:
    Set [ μ , n ] = size ( Q ) , p = zeros ( μ τ , n ) , and  C { μ τ , 1 } = { }
3:
    for  i = 1 : μ τ  do
4:
        Set h = max ( Q ( i : τ + i 1 , : ) )
5:
        Put C { i , 1 } = 100 * cov ( Q ( i : τ + i 1 , : ) . / h )
6:
        Put p ( i , : ) = mean ( Q ( i : τ + i 1 , : ) . / h )
7:
    end for
8:
    for  k = 1 : length ( p ) 1  do
9:
        Set C ˙ { k , 1 } = C { k + 1 , 1 } C { k , 1 } and p ˙ ( k , : ) = p ( k + 1 , : ) p ( k , : )
10:
   end for
11:
   Put C ˙ = @ ( t ) linotss ( C ˙ , t ) and C = @ ( t ) linotss ( C , t )
12:
   Put p ˙ = @ ( t ) linots ( p ˙ , t ) and p = @ ( t ) linots ( p , t )
13:
end procedure
Ensure: The CT functions C, C ˙ , p and p ˙ .
Three alternative portfolio setup cases are covered by the trials. In Figure 1, the portfolio cases are shown, and the marketed space includes some of the most active stocks on the US market. We consider the market Q = [ q 1 , q 2 , , q s ] in the r-th case, r = 1 , 2 , 3 , where Q includes the daily prices of the s stocks shown in Figure 1 into q 1 , q 2 , , q s , respectively, for the time period 2 April 2019 to 1 October 2019. We employ linear data interpolation in the previously mentioned time series to convert them into functions of time; we set the time delay parameter τ = 20 to calculate the expected returns p and covariance C of Algorithm 1. The remaining data span the dates 1 May 2019 to 1 October 2019 and includes 107 recorded prices. May, July, and August, in particular, each had 22 recorded prices; June has 20 recorded prices, and September and October together have 21 recorded prices. To solve the omitted recorded prices problem between periods of the same division, we utilize the parameter ω presented in [34], which splits the recorded prices to the time periods for each t inside the ZNN model. That is, we set
ω = 22 , t [ 0 , 1 ) ( 22 + 20 · ( t 1 ) ) / t , t [ 1 , 2 ) ( 42 + 22 · ( t 2 ) ) / t , t [ 2 , 4 ) ( 86 + 21 · ( t 4 ) ) / t , t [ 4 , 5 ]
and, then, we employ p ( ω t ) , C ( ω t ) instead of p ( t ) , C ( t ) , and  p ˙ ( ω t ) , C ˙ ( ω t ) instead of p ˙ ( t ) , C ˙ ( t ) . As a result, we divide our time series into five monthly periods, and we set t s p a n = [ 0 , 5 ] in the MATLAB ode15s solver to find the optimal portfolio η ( t ) for the time period 1 May 2019 to 1 October 2019. That is, May to October correspond to the values 0 to 5 of the ode15s solver in all the figures in this section. Starting from w ( 0 ) = ones ( s + 1 , 1 ) / s in (31), (49), and (69), the results are presented in Figure 2, Figure 3 and Figure 4.
More precisely, Figure 2a,e,i show the optimal mean-variance portfolios weights η ( t ) in the case 1 for the MVPO1, MVPO2, and MVPO3, respectively, generated by quadprog, fmincon, and ZNN. We may observe, therein, that the portfolios weights are identical. For the MVPO1, the variance of portfolios η ( t ) are depicted in Figure 2b, Figure 3a, and Figure 4a for the cases 1, 2, and 3, respectively. The expected return of portfolios η ( t ) (i.e., η ( t ) p ( ω t ) ), contrasted to the outcome of quadprog and the S M A 20 of X ( t ) (i.e., mean ( p ( ω t ) ) ), for the cases 1, 2, and 3, respectively, are shown in Figure 2c, Figure 3b, and Figure 4b. These figures also show the target price p g ( t ) . Comparing the Figure 2b, Figure 3a, and Figure 4a to Figure 2c, Figure 3b, and Figure 4b, respectively; we can observe that the variance of η ( t ) is rising only in the case where it needs to keep its expected return at p g ( t ) .
For the MVPO2, the variance of portfolios η ( t ) are depicted in Figure 2f, Figure 3d, and Figure 4d for the cases 1, 2, and 3, respectively. The expected return of portfolios η ( t ) contrasted to the outcome of quadprog and the S M A 20 of X ( t ) , for the cases 1, 2, and 3, respectively, are shown in Figure 2g, Figure 3e, and Figure 4e. We may observe, therein, that the variance and expected return of portfolios η ( t ) are identical.
For the MVPO3, the variance of portfolios η ( t ) , along with the target price p g ( t ) , are depicted in Figure 2j, Figure 3g, and Figure 4g for the cases 1, 2, and 3, respectively. The expected return of portfolios η ( t ) contrasted to the outcome of fmincon and the S M A 20 of X ( t ) , for the cases 1, 2, and 3, respectively, are shown in Figure 2k, Figure 3h, and Figure 4h. Comparing the Figure 2j, Figure 3g, and Figure 4g to Figure 2k, Figure 3h, and Figure 4h, respectively; we can observe that the expected return of η ( t ) is declining only in the case where it needs to keep its variance below the target p g ( t ) .
Figure 2d, Figure 3c, and Figure 4c for the MVPO1 and Figure 2h, Figure 3f, and Figure 4f for the MVPO2 depict the error between ZNN and quadprog, produced during the ZNN convergence. In addition, Figure 2l, Figure 3i, and Figure 4i for the MVPO3 depict the error between ZNN and fmincon, produced during the ZNN convergence. It is important to note that η quadprog ( t ) , η fmincon ( t ) , and η ZNN ( t ) in these figures represent, respectively, the portfolios produced by the quadprog, fmincon, and ZNN. Due to the non-smooth changes in portfolio weights, there has been a sharp increase in the error depicted in Figure 2l, Figure 3i, and Figure 4i. Furthermore, the noise is expected since we are dealing with time series and, considering the design parameter’s γ low value, the error value is excellent. Note that the overall error value of the ZNN decreases even more when the price of parameter γ increases. Our method is also more practical when taking into account the ω parameter, which comes in handy when combining time periods that each have a distinct amount of recorded prices. Overall, the portfolio cases presented in numerical experiments of this section demonstrate that the ZNN worked effectively in addressing the MVPO1, MVPO2, and MVPO3 problems.
For the purpose of monitoring the performance between the employed MATLAB custom functions (namely linots and linotss, pchinots and pchinotss, and splinots and splinotss), which are taken from [34]; we present Table 2. This table presents the average consumption time of ZNN, along with quadprog and fmincon, on each portfolio case, by using all the aforementioned MATLAB functions for linear, P.C.Hermite and C.Spline interpolation. According to Table 2, the P.C.Hermite is the least effective technique, while the linear interpolation is the most effective. Furthermore, in the MVPO1 and MVPO2 problems, the ZNN solver is always around twice as quick than the quadprog; however, in the MVPO3 problem, it is between 20 and 70 times quicker than the fmincon. It is important to mention that these MATLAB custom functions, which handle matrices and structure time series, are the best choices in terms of computing time responses, even though they yield identical results as the corresponding conventional MATLAB functions [13]. The efficacy and computational efficiency of the ZNN is proven based on this and the analyses presented in this section’s numerical experiments.

5. Conclusions

Three time-varying MVPO problems are introduced in this paper, as well as three novel ZNN models for addressing them. The focus of this research was on the use of NN computational techniques to address the MVPO1, MVPO2, and MVPO3 problems accurately in a short amount of time. Simulations with real-world data have proved the efficiency of the NN solver in financial TVQP and TVNLP problems. According to the results of the simulations, which included three various portfolio configuration cases, the ZNN models did exceptionally well in addressing the CT MVPO problems, demonstrating their utility in practical circumstances. A study limitation was the maximum portfolio dimension because the ZNN approach is unable to handle problems with very big dimensions.
There are a few prospective study areas that can be explored.
  • The use of NN solvers in higher-dimensional portfolios and in a variety of financial portfolio optimization tasks.
  • The ZNN solver’s performance in real-world data problems utilizing varied activation functions.
  • Due of the importance to real financial markets, future research should concentrate on problems with more realistic and practical constraints.

Author Contributions

S.D.M.: conceptualization, methodology, validation, formal analysis, investigation, and writing—original draft. C.K.: methodology, formal analysis, and investigation. All authors have read and agreed to the published version of the manuscript.

Funding

The publication of this article has been financed by the Research Committee of the University of Patras.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Matsumoto, K. Option Replication in Discrete Time with Illiquidity. Appl. Math. Financ. 2013, 20, 167–190. [Google Scholar] [CrossRef]
  2. Yu, J.R.; Chiou, W.J.P.; Lee, W.Y.; Lin, S.J. Portfolio models with return forecasting and transaction costs. Int. Rev. Econ. Financ. 2020, 66, 118–130. [Google Scholar] [CrossRef]
  3. Holden, H.; Holden, L. Optimal rebalancing of portfolios with transaction costs. Stochastics Int. J. Probab. Stoch. Process. 2012, 85, 371–394. [Google Scholar] [CrossRef]
  4. Annaert, J.; Ceuster, M.D.; Vandenbroucke, J. Mind the Floor: Enhance Portfolio Insurance without Borrowing. J. Investig. 2019, 28, 39–50. [Google Scholar] [CrossRef]
  5. Matsumoto, K. Portfolio Insurance with Liquidity Risk. Asia-Pac. Financ. Mark. 2008, 14, 363. [Google Scholar] [CrossRef]
  6. Mourtas, S.D.; Katsikis, V.N. Exploiting the Black-Litterman framework through error-correction neural networks. Neurocomputing 2022, 498, 43–58. [Google Scholar] [CrossRef]
  7. Leung, M.F.; Wang, J. Minimax and Biobjective Portfolio Selection Based on Collaborative Neurodynamic Optimization. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 2825–2836. [Google Scholar] [CrossRef]
  8. Yaman, I.; Dalkılıç, T.E. A hybrid approach to cardinality constraint portfolio selection problem based on nonlinear neural network and genetic algorithm. Expert Syst. Appl. 2021, 169, 114517. [Google Scholar] [CrossRef]
  9. Wang, H.; Zhou, X.Y. Continuous-time mean-variance portfolio selection: A reinforcement learning framework. Math. Financ. 2020, 30, 1273–1308. [Google Scholar] [CrossRef]
  10. Zhang, Y.; Ge, S.S. Design and analysis of a general recurrent neural network model for time-varying matrix inversion. IEEE Trans. Neural Netw. 2005, 16, 1477–1490. [Google Scholar] [CrossRef] [Green Version]
  11. Kornilova, M.; Kovalnogov, V.; Fedorov, R.; Zamaleev, M.; Katsikis, V.N.; Mourtas, S.D.; Simos, T.E. Zeroing neural network for pseudoinversion of an arbitrary time-varying matrix based on singular value decomposition. Mathematics 2022, 10, 1208. [Google Scholar] [CrossRef]
  12. Jiang, W.; Lin, C.L.; Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Simos, T.E. Zeroing neural network approaches based on direct and indirect methods for solving the Yang–Baxter-like matrix equation. Mathematics 2022, 10, 1950. [Google Scholar] [CrossRef]
  13. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Li, S.; Cao, X. Time-varying mean-variance portfolio selection problem solving via LVI-PDNN. Comput. Oper. Res. 2022, 138, 105582. [Google Scholar] [CrossRef]
  14. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Zhang, Y. Solving complex-valued time-varying linear matrix equations via QR decomposition with applications to robotic motion tracking and on angle-of-arrival localization. IEEE Trans. Neural Netw. Learn. Syst. 2022, 33, 3415–3424. [Google Scholar] [CrossRef]
  15. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Zhang, Y. Continuous-time varying complex QR decomposition via zeroing neural dynamics. Neural Process. Lett. 2021, 53, 3573–3590. [Google Scholar] [CrossRef]
  16. Simos, T.E.; Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S. Unique non-negative definite solution of the time-varying algebraic Riccati equations with applications to stabilization of LTV systems. Math. Comput. Simul. 2022, 202, 164–180. [Google Scholar] [CrossRef]
  17. Canakgoz, N.A.; Beasley, J.E. Mixed-integer programming approaches for index tracking and enhanced indexation. Eur. J. Oper. Res. 2009, 196, 384–399. [Google Scholar] [CrossRef]
  18. Branke, J.; Scheckenbach, B.; Stein, M.; Deb, K.; Schmeck, H. Portfolio optimization with an envelope-based multiobjective evolutionary algorithm. Eur. J. Oper. Res. 2009, 199, 684–693. [Google Scholar] [CrossRef]
  19. Nobre, J.; Neves, R.F. Combining principal component analysis, discretewavelet transform and xgboost to trade in the financial markets. Expert Syst. Appl. 2019, 125, 181–194. [Google Scholar] [CrossRef]
  20. Akbay, M.A.; Kalayci, C.B.; Polat, O. A parallel variable neighborhood search algorithm with quadratic programming for cardinality constrained portfolio optimization. Knowl.-Based Syst 2020, 198, 105944. [Google Scholar] [CrossRef]
  21. Uhlig, F.; Zhang, Y. Time-varying matrix eigenanalyses via Zhang neural networks and look-ahead finite difference equations. Linear Algebra Its Appl. 2019, 580, 417–435. [Google Scholar] [CrossRef]
  22. Markowitz, H. Portfolio selection. J. Financ. 1952, 7, 77–91. [Google Scholar]
  23. Dai, Z. A Closer Look at the Minimum-Variance Portfolio Optimization Model. Math. Probl. Eng. 2019, 2019, 1–8. [Google Scholar] [CrossRef]
  24. Cornuejols, G.; Tütüncü, R. Optimization Methods in Finance; Cambridge University Press: Cambridge, UK, 2006. [Google Scholar] [CrossRef]
  25. Bielecki, T.R.; Jin, H.; Pliska, S.R.; Zhou, X.Y. Continuous-time mean-variance portfolio selection with bankruptcy prohibition. Math. Financ. 2005, 15, 213–244. [Google Scholar] [CrossRef]
  26. Draviam, T.; Chellathurai, T. Generalized Markowitz mean-variance principles for multi-period portfolio-selection problems. Proc. R. Soc. Lond. A 2002, 458, 2571–2607. [Google Scholar] [CrossRef]
  27. Zakamulin, V. Market Timing with Moving Averages: The Anatomy and Performance of Trading Rules; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
  28. Markowitz, H.M. Portfolio Selection: Efficient Diversification of Investments; Cowles Foundation Monograph: No. 16; Yale University Press: New Haven, CT, USA, 1959; p. 368. [Google Scholar]
  29. Zhang, Y.; Wang, Y.; Chen, D.; Peng, C.; Xie, Q. Neurodynamic solvers robotic applications and solution nonuniqueness of linear programming. In Linear Programming: Theory, Algorithms and Applicant; Nova Science Publishers: Hauppauge, NY, USA, 2014; pp. 27–100. [Google Scholar]
  30. Zhong, N.; Huang, Q.; Yang, S.; Ouyang, F.; Zhang, Z. A Varying-Parameter Recurrent Neural Network Combined With Penalty Function for Solving Constrained Multi-Criteria Optimization Scheme for Redundant Robot Manipulators. IEEE Access 2021, 9, 50810–50818. [Google Scholar] [CrossRef]
  31. Zhang, Z.; Yang, S.; Zheng, L. A Penalty Strategy Combined Varying-Parameter Recurrent Neural Network for Solving Time-Varying Multi-Type Constrained Quadratic Programming Problems. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 2993–3004. [Google Scholar] [CrossRef]
  32. Jin, L.; Zhang, Y.; Li, S.; Zhang, Y. Modified ZNN for Time-Varying Quadratic Programming With Inherent Tolerance to Noises and Its Application to Kinematic Redundancy Resolution of Robot Manipulators. IEEE Trans. Ind. Electron. 2016, 63, 6978–6988. [Google Scholar] [CrossRef]
  33. Zhang, Y.; Wang, J. Recurrent neural networks for nonlinear output regulation. Automatica 2001, 37, 1161–1173. [Google Scholar] [CrossRef]
  34. Katsikis, V.N.; Mourtas, S.D.; Stanimirović, P.S.; Li, S.; Cao, X. Time-varying mean-variance portfolio selection under transaction costs and cardinality constraint problem via beetle antennae search algorithm (BAS). SN Oper. Res. Forum 2021, 2, 18. [Google Scholar] [CrossRef]
Figure 1. The portfolio cases stocks that have been utilized in the CT MVPO problems experiments.
Figure 1. The portfolio cases stocks that have been utilized in the CT MVPO problems experiments.
Mathematics 10 03079 g001
Figure 2. Portfolios weights, variance %, expected return, and the error between ZNN and MATLAB’s solvers in case 1.
Figure 2. Portfolios weights, variance %, expected return, and the error between ZNN and MATLAB’s solvers in case 1.
Mathematics 10 03079 g002aMathematics 10 03079 g002b
Figure 3. Portfolios variance %, expected return, and the error between ZNN and MATLAB’s solvers in case 2.
Figure 3. Portfolios variance %, expected return, and the error between ZNN and MATLAB’s solvers in case 2.
Mathematics 10 03079 g003aMathematics 10 03079 g003b
Figure 4. Portfolios variance %, expected return, and the error between ZNN and MATLAB’s solvers in case 3.
Figure 4. Portfolios variance %, expected return, and the error between ZNN and MATLAB’s solvers in case 3.
Mathematics 10 03079 g004aMathematics 10 03079 g004b
Table 1. The ZNN parameters for solving the CT MVPO problems.
Table 1. The ZNN parameters for solving the CT MVPO problems.
ParametersCase 1: 4 Stocks Portfolio
MVPS1MVPS2MVPS3
h1 × 10 8 1 × 10 8 1 × 10 8
s1 × 10 5 3 × 10 4 3 × 10 4
h 2 --2 × 10 4
s 2 --5 × 10 2
p g 0.96310.045
γ 1 × 10 4 1 × 10 4 1 × 10 4
Case 2: 10 Stocks Portfolio
MVPS1MVPS2MVPS3
h1 × 10 8 1 × 10 8 1 × 10 8
s6 × 10 4 3 × 10 4 3 × 10 4
h 2 --2 × 10 4
s 2 --5 × 10 2
p g 0.95510.039
γ 1 × 10 4 1 × 10 4 1 × 10 4
Case 3: 20 Stocks Portfolio
MVPS1MVPS2MVPS3
h1 × 10 8 1 × 10 8 1 × 10 8
s6 × 10 4 3 × 10 4 3 × 10 4
h 2 --1 × 10 4
s 2 --5× 10 2
p g 0.95510.037
γ 1 × 10 4 1 × 10 4 1 × 10 4
Table 2. The ZNN and MATLAB’s solvers time consumption for solving the MVPO problems.
Table 2. The ZNN and MATLAB’s solvers time consumption for solving the MVPO problems.
InterpolationCase 1: 4 Stocks Portfolio
MethodMVPO1MVPO2MVPO3
ZNNquadprogZNNquadprogZNNfmincon
Linear0.6 s1.4 s0.6 s1.1 s0.7 s35 s
P.C.Hermite1 s1.3 s0.4 s1 s1 s23 s
C.Spline0.4 s1.1 s0.4 s0.9 s0.6 s19 s
Case 2: 10 Stocks Portfolio
ZNNquadprogZNNquadprogZNNfmincon
Linear1.3 s3 s1 s2.6 s2 s144 s
P.C.Hermite2.1 s2.7 s1.8 s2.8 s3.8 s140 s
C.Spline1.4 s2.6 s1.4 s2.3 s2.9 s135 s
Case 3: 20 Stocks Portfolio
MVPO1MVPO2MVPO3
ZNNquadprogZNNquadprogZNNfmincon
Linear2.8 s4.3 s2 s3.8 s5 s355 s
P.C.Hermite4.9 s5 s4.4 s4.6 s9 s300 s
C.Spline2.7 s4.3 s3.4 s4.5 s5.7 s290 s
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Mourtas, S.D.; Kasimis, C. Exploiting Mean-Variance Portfolio Optimization Problems through Zeroing Neural Networks. Mathematics 2022, 10, 3079. https://doi.org/10.3390/math10173079

AMA Style

Mourtas SD, Kasimis C. Exploiting Mean-Variance Portfolio Optimization Problems through Zeroing Neural Networks. Mathematics. 2022; 10(17):3079. https://doi.org/10.3390/math10173079

Chicago/Turabian Style

Mourtas, Spyridon D., and Chrysostomos Kasimis. 2022. "Exploiting Mean-Variance Portfolio Optimization Problems through Zeroing Neural Networks" Mathematics 10, no. 17: 3079. https://doi.org/10.3390/math10173079

APA Style

Mourtas, S. D., & Kasimis, C. (2022). Exploiting Mean-Variance Portfolio Optimization Problems through Zeroing Neural Networks. Mathematics, 10(17), 3079. https://doi.org/10.3390/math10173079

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop