Two Optimization Problems of a Continuous-in-Time Financial Model ()

Emmanuel Frénod^{}, Pierre Ménard^{}, Mohamad Safa^{*}

Université de Bretagne Sud, Vannes, France.

**DOI: **10.4236/jmf.2018.81003
PDF HTML XML
822
Downloads
1,713
Views
Citations

Université de Bretagne Sud, Vannes, France.

In the previous papers of Frénod & Ménard & Safa [1] and Frénod & Safa [2] we used the continuous-in-time financial model developed by Frénod & Chakkour [3], which describes working of loan and repayment, in an optimal control theory framework to effectively conduct project objectives. The goal was to determine the optimal loan scheme taking into account the objectives of the project, the income and the spending. In this article, we enrich this continuous-in-time financial model to take into account possibility of saving. Then we propose two new optimization problems involving this model. The first one consists in finding a loan scheme minimizing the cost of the loan for a project, together with the time to achieve its objectives. The second problem consists, from given loan, saving and withdrawal schemes, to finding optimal variants of them. We have built a mathematical framework for the optimal control problem which consists to solving a constraint optimization problem. We have used Simplex algorithm to solve the first optimization problem and the quadratic programming for the second one. The simulations’ results are consistent with the theoretical part and show the performance and stability of our approach.

Share and Cite:

Frénod, E. , Ménard, P. and Safa, M. (2018) Two Optimization Problems of a Continuous-in-Time Financial Model. *Journal of Mathematical Finance*, **8**, 27-42. doi: 10.4236/jmf.2018.81003.

1. Introduction

Financial modeling is needed to logically organize cash flows and solve many financial problems. The commercial loans, unlike the individual loans, do not necessarily require monthly installments, giving to businesses an opportunity to decide the most advantageous schedule for repayment. From a mathematical point of view it is of interest to model the dynamics of such a situation and find the optimal loan repayment schedule.

There are several references in the literature dealing with continuous-in-time financial model. Among them we find: R. Merton [4] who provides an overview and synthesis of finance theory from the perspective of continuous-in-time analysis. In [5] , S. Sundaresan surveys and assesses the development of continuous-in-time methods in finance during the period between 1970 and 2000. In addition, many studies have used control engineering methods and techniques in finance. For example Keel [6] explored and extended optimal portfolio construction techniques currently found in the literature. Grigorieva & Khailov [7] built a controlled system of differential equations modeling a firm that takes a loan in order to expand its production activities.

In the second section of this paper we present the continuous-in-time financial model detailed in [3] which is not designed for the financial market but for the public institutions. This model describes, when a project involves a loan in order to achieve its objective, the way that the amounts concerned by the loan will be borrowed providing that the spending balances the income. In [3] we have used this model in an optimal control theory framework in order to find the best strategy to achieve the goals of the project, minimizing the interest payment.

In Section 2, we enrich this continuous-in-time financial model to take into account the possibility of saving. Then we propose two new optimization problems involving this model. The first one which is introduced in Section 3 consists in finding a loan scheme minimizing the cost of the loan for a project, together with the time to achieve its objectives. The second optimization problem which is introduced in Section 4 consists, from given loan, saving and withdrawal schemes, to finding optimal variants of them.

In this paper we have considered that the interest rate is fixed. In future work we will use a variable interest rate over time, which makes the optimization problem more complex.

2. Continuous-in-Time Financial Model

In this section we extend the continuous-in-time financial model described in [1] [2] [3] in order to take into account the possibility of saving. The time domain is interval $\left[\mathrm{0,}\Theta \right]$ , where $\Theta >0$ is the lifetime of the project. We consider that beyond Q the spending associated with the project are done, the loan associated with the project is completely paid off and the project is finished.

2.1. Variables of the Model

To characterize the budget of a project, we introduce the loan density ${\kappa}_{E}$ and the repayment density ${\rho}_{R}$ which is connected, as explained in Frénod & Chakkour [3] , to the loan density by a convolution operator:

${\rho}_{R}\left(t\right)=\left({\kappa}_{E}\ast \gamma \right)\left(t\right)\mathrm{,}$ (1)

where g is the repayment pattern. Since the whole amount associated with the loan has to be repaid, g has to satisfy:

${\int}_{-\infty}^{+\infty}}\gamma \left(t\right)\text{d}t=1.$ (2)

We introduce the saving density ${\kappa}_{S}$ which represents the amount saved in the bank when there is an excess in the budget. We also introduce the density of withdrawal ${\rho}_{W}$ which can be used in case of a deficit. We denote by ${\mathcal{K}}_{SD}$ the current saving field, whose evolution is governed by the following differential equation:

$\frac{\text{d}{\mathcal{K}}_{SD}\left(t\right)}{\text{d}t}={\kappa}_{S}\left(t\right)-{\rho}_{W}\left(t\right)+{\rho}_{J}\left(t\right),$ (3)

where ${\rho}_{J}$ is the interest earning density related to the current saving field by the next relation:

${\rho}_{J}\left(t\right)={\alpha}_{W}{K}_{SD}\left(t\right),$ (4)

where ${\alpha}_{W}$ is the interest rate of saving. Equation (3) indicates that the variation of the current saving field is the difference between the saving density and the interest earning density on the one hand, and the withdrawal density on the other hand. In this equation the interests which are acquired are immediately added to the capital. We denote by ${\mathcal{K}}_{RD}$ the current debt. Because the current debt variation is the difference between the loan and the repayment, its evolution is governed by the following differential equation:

$\frac{\text{d}{\mathcal{K}}_{RD}}{\text{d}t}\left(t\right)={\kappa}_{E}\left(t\right)-{\rho}_{R}\left(t\right)-{\rho}_{R}^{\mathcal{I}}\left(t\right),$ (5)

where ${\rho}_{R}^{\mathcal{I}}\left(t\right)$ is the density of repayment of the current debt at the beginning of the period. It is called initial debt repayment scheme. Initial condition for Equation (5) is given by:

${\mathcal{K}}_{RD}\left(0\right)={\displaystyle {\int}_{0}^{+\infty}}{\rho}_{R}^{\mathcal{I}}\left(t\right)\text{d}t.$ (6)

We denote by ${\rho}_{I}\left(t\right)$ the density of interest payment defined by:

${\rho}_{I}\left(t\right)={\alpha}_{E}{\mathcal{K}}_{RD}\left(t\right),$ (7)

where ${\alpha}_{E}$ is the interest rate of the loan. The algebraic spending density is denoted $\sigma \left(t\right)$ , it takes into account the spending and the income and it is given by:

$\sigma \left(t\right)=\beta \left(t\right)+{\sigma}_{g}\left(t\right),$ (8)

where $\beta \left(t\right)\ge 0$ is the isolated spending density. It is the density of spending that is intended for the project only. Function ${\sigma}_{g}\left(t\right)$ is the current spending density. We assume that $\beta \left(t\right)\ge 0$ because only spending is concerned.

The fact that the initial time of the project is 0 and the lifetime is Q translates as:

$\text{supp}\left({\kappa}_{E}\right)\subset \left[\mathrm{0,}\Theta \right]\mathrm{,}\text{\hspace{1em}}\text{\hspace{0.05em}}\text{supp}\left({\kappa}_{S}\right)\subset \left[\mathrm{0,}\Theta \right]\mathrm{,}\text{\hspace{1em}}\text{\hspace{0.05em}}\text{supp}\left({\rho}_{W}\right)\subset \left[\mathrm{0,}\Theta \right]\mathrm{,}$ (9a)

$\text{supp}\left({\kappa}_{E}\right)+\text{supp}\left(\gamma \right)\subset \left[\mathrm{0,}\Theta \right]\mathrm{,}\text{\hspace{1em}}\text{\hspace{0.05em}}\text{supp}\left({\rho}_{R}^{\mathcal{I}}\right)\subset \left[\mathrm{0,}\Theta \right]\mathrm{,}$ (9b)

where, for any function f, $\text{supp}\left(f\right)$ is the support of f.

2.2. Objectives of the Project

Integrating (3) over $\left[\mathrm{0,}t\right]$ , after using (4), we obtain the following relation:

${\mathcal{K}}_{SD}\left(t\right)={\mathcal{K}}_{SD}\left(0\right){\text{e}}^{{\alpha}_{W}t}+{\displaystyle {\int}_{0}^{t}}\left({\kappa}_{S}-{\rho}_{W}\right)\left(s\right){\text{e}}^{{\alpha}_{W}\left(t-s\right)}\text{d}s,\text{\hspace{1em}}\forall t\in \left[0,\Theta \right].$ (10)

Integrating (5) over $\left[\mathrm{0,}t\right]$ , we obtain using (1) the following relation:

${\mathcal{K}}_{RD}\left(t\right)={\mathcal{K}}_{RD}\left(0\right)+{\displaystyle {\int}_{0}^{t}}\left({\kappa}_{E}-{\kappa}_{E}\ast \gamma \right)\left(s\right)\text{d}s-{\displaystyle {\int}_{0}^{t}}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s,$ (11)

and using (6), we obtain:

${\mathcal{K}}_{RD}\left(t\right)={\displaystyle {\int}_{0}^{t}}\left({\kappa}_{E}-{\kappa}_{E}\ast \gamma \right)\left(s\right)\text{d}s+{\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s.$ (12)

We want the spending density to balance the income density. In our model we have the following densities: s which, depending on its sign, stands alternately for income or spending, ${\kappa}_{E}$ and ${\rho}_{W}$ which are income densities and ${\rho}_{R}\mathrm{,}{\kappa}_{S}\mathrm{,}{\rho}_{I}\mathrm{,}{\stackrel{\u02dc}{\rho}}_{R}^{\mathcal{I}}$ which are spending densities. Hence the balance relation reads:

$-\sigma \left(t\right)+{\kappa}_{E}\left(t\right)-{\rho}_{R}\left(t\right)-{\rho}_{I}\left(t\right)-{\rho}_{R}^{\mathcal{I}}\left(t\right)-{\kappa}_{S}\left(t\right)+{\rho}_{W}\left(t\right)=0.$ (13)

Using (13) and (7), we deduce from (14) the following relation:

$\begin{array}{c}\sigma \left(t\right)={\kappa}_{E}\left(t\right)-\left({\kappa}_{E}\ast \gamma \right)\left(t\right)-{\alpha}_{E}{\mathcal{K}}_{RD}\left(t\right)-{\rho}_{R}^{\mathcal{I}}\left(t\right)-{\kappa}_{S}\left(t\right)+{\rho}_{W}\left(t\right)\\ =\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)-{\alpha}_{E}{\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s-{\rho}_{R}^{\mathcal{I}}\left(t\right)-{\kappa}_{S}\left(t\right)+{\rho}_{W}\left(t\right),\end{array}$ (14)

where the operator $\mathcal{L}$ is defined by:

$\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)\doteq {\kappa}_{E}\left(t\right)-\left({\kappa}_{E}\ast \gamma \right)\left(t\right)-{\alpha}_{E}{\displaystyle {\int}_{0}^{t}}\left({\kappa}_{E}-{\kappa}_{E}\ast \gamma \right)\left(s\right)\text{d}s,$ (15)

is the algebraic income density associated to the loan. In other words, it is the difference between the income density induced by the loan and the withdrawal, and the spending density associated with the repayment, the saving and the interest payment. Using (8) we then have:

$\beta \left(t\right)=\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)-{\alpha}_{E}{\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s-{\rho}_{R}^{\mathcal{I}}\left(t\right)-{\sigma}_{g}\left(t\right)-{\kappa}_{S}\left(t\right)+{\rho}_{W}\left(t\right).$ (16)

The isolated spending density $\beta \left(t\right)$ is the difference between the algebraic income density associated with the loan and the spending densities related to the following: current spending, initial debt repayment and payment of the interests of this latter.

We define an objective as a couple collection $\left({c}_{i}\mathrm{,}{\Theta}_{i}\right)\mathrm{,}i\in \left\{\mathrm{1,}\cdots \mathrm{,}N\right\}$ , where ${c}_{i}$ is the amount which has to be spent for the project at the time ${\Theta}_{i}\in \left]\mathrm{0,}\Theta \right[$ . We suppose that $0<{\Theta}_{1}<{\Theta}_{2}<\cdots <{\Theta}_{N}<\Theta $ , and to be consistent we need $0\le {c}_{1}\le {c}_{2}\le \cdots \le {c}_{N}$ . We say that the objective is reached if:

${\int}_{0}^{{\Theta}_{i}}}\beta \left(t\right)\text{d}t\ge {c}_{i}\mathrm{,}\forall i=\mathrm{1,}\cdots \mathrm{,}N\mathrm{.$ (17)

The above equation indicating that at any ${\Theta}_{i}$ the amount allocated to the project is at least the amount needed for the project.

Using this model we will establish the strategy, i.e. find the loan which allows the objectives $\left({c}_{i}\mathrm{,}{\Theta}_{i}\right)$ to be reached. Furthermore, this loan has to satisfy some conditions. Typically, it has to minimize the cost of the loan. This strategy can be written as an optimal control problem which is developed in the next sections.

3. First Optimization Problem (O1)

3.1. Continuous-in-Time Financial Model without Saving

The first optimization problem will involve the continuous-in-time financial model described in Section 0, without saving. In this case both ${\kappa}_{S}$ and ${\rho}_{W}$ are zeros. We set only one objective $c>0$ for the project and we look for the best strategy of borrowing to cover expenses related to this objective. The time to achieve the objective, denoted by q, is not fixed but it is part of the parameters to be determined in the context of defining the best strategy. In other words, we seek the optimal loan density ${\kappa}_{E}^{\text{opt}}\left(t\right)$ together with the optimal time to achieve the objective of the project ${\theta}^{\text{opt}}$ . The goal is then to minimize the cost function associated with this optimization problem which is defined by:

${C}_{E}\left({\kappa}_{E}\mathrm{,}\theta \right)=A\frac{{\displaystyle {\int}_{0}^{\Theta}}{\kappa}_{E}\left(t\right)\text{d}t}{c}+B\frac{\theta}{\Theta}\mathrm{,}$ (18)

where $A>0$ and $B>0$ are two adjustment parameters. They allow to give more weight to minimizing the cost of the loan when A is large and B is small, or to minimizing the time achieved of the project objective when B is large and A is small. In Equation (18) we have divided by c and Q in order to make the cost function ${C}_{E}\left({\kappa}_{E}\mathrm{,}\theta \right)$ dimensionless. The constraints for this optimization problem are:

${\kappa}_{E}\left(t\right)\ge 0,\text{\hspace{0.17em}}\text{\hspace{0.17em}}\beta \left(t\right)\ge 0,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\displaystyle {\int}_{0}^{\theta}}\beta \left(t\right)\text{d}t\ge c.$ (19)

By replacing $\beta \left(t\right)$ by its value defined in (16), the optimization problem is then written as:

${C}_{E}\left({\kappa}_{E}^{\text{opt}}\mathrm{,}{\theta}^{\text{opt}}\right)=\underset{{\kappa}_{E}\mathrm{,}\theta}{min}\left[A\frac{{\displaystyle {\int}_{0}^{\Theta}}{\kappa}_{E}\left(t\right)\text{d}t}{c}+B\frac{\theta}{\Theta}\right]\mathrm{,}$ (20a)

under constraints:

${\kappa}_{E}\left(t\right)\ge \mathrm{0,}$ (20b)

$\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)\ge \mu \left(t\right)\mathrm{,}$ (20c)

${\int}_{0}^{\theta}}\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)\text{d}t\ge {\displaystyle {\int}_{0}^{\theta}}\mu \left(t\right)\text{d}t+c\mathrm{,$ (20d)

where

$\mu \left(t\right)={\sigma}_{g}\left(t\right)+\alpha {\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s+{\rho}_{R}^{\mathcal{I}}\left(t\right).$ (21)

After defining:

${\stackrel{^}{\kappa}}_{E}\left(t\right)=\frac{A}{c}{\kappa}_{E}\left(t\right)+B\frac{\theta}{{\Theta}^{2}}\mathrm{,}$ (22)

the optimization problem (20) is finally written as:

${C}_{E}\left({\kappa}_{E}^{\text{opt}}\mathrm{,}{\theta}^{\text{opt}}\right)=\underset{{\kappa}_{E}\mathrm{,}\theta}{min}{\displaystyle {\int}_{0}^{\Theta}}{\stackrel{^}{\kappa}}_{E}\left(t\right)\text{d}t\mathrm{,}$ (23a)

subject to:

${\stackrel{^}{\kappa}}_{E}\left(t\right)\ge B\frac{\theta}{{\Theta}^{2}}\mathrm{,}$ (23b)

$\left(\mathcal{L}\left[{\stackrel{^}{\kappa}}_{E}\right]\right)\left(t\right)-B\left(\mathcal{L}\left[\frac{\theta}{{\Theta}^{2}}\right]\right)\left(t\right)\ge \frac{A}{c}\mu \left(t\right)\mathrm{,}$ (23c)

${\int}_{0}^{\theta}}\left(\mathcal{L}\left[{\stackrel{^}{\kappa}}_{E}\right]\right)\left(t\right)\text{d}t-B{\displaystyle {\int}_{0}^{\theta}}\left(\mathcal{L}\left[\frac{\theta}{{\Theta}^{2}}\right]\right)\left(t\right)\ge \frac{A}{c}{\displaystyle {\int}_{0}^{\theta}}\mu \left(t\right)\text{d}t+c\mathrm{.$ (23d)

This optimization problem is denoted (O1) and will be solved in two stages. In the first stage we set an objective $\left(c\mathrm{,}{\theta}_{s}\right)$ with $c>0$ and ${\theta}_{s}\in \left[\mathrm{0,}\Theta \right]$ and we search ${\kappa}_{E}^{\text{opt}}\left({\theta}_{s}\right)$ solution of the following optimization problem:

${C}_{E}\left[{\kappa}_{E}^{\text{opt}}\left({\theta}_{s}\right)\right]=\underset{{\stackrel{^}{\kappa}}_{E}}{min}{\displaystyle {\int}_{0}^{\Theta}}{\stackrel{^}{\kappa}}_{E}\left(t\right)\text{d}t\mathrm{,}$ (24a)

subject to:

${\stackrel{^}{\kappa}}_{E}\left(t\right)\ge B\frac{{\theta}_{s}}{{\Theta}^{2}}\mathrm{,}$ (24b)

$\left(\mathcal{L}\left[{\stackrel{^}{\kappa}}_{E}\right]\right)\left(t\right)-B\left(L\left[\frac{{\theta}_{s}}{{\Theta}^{2}}\right]\right)\left(t\right)\ge \frac{A}{c}\mu \left(t\right)\mathrm{,}$ (24c)

${\int}_{0}^{{\theta}_{s}}}\left(\mathcal{L}\left[{\stackrel{^}{\kappa}}_{E}\right]\right)\left(t\right)\text{d}t-B{\displaystyle {\int}_{0}^{{\theta}_{s}}}\left(L\left[\frac{{\theta}_{s}}{{\Theta}^{2}}\right]\right)\left(t\right)\ge \frac{A}{c}{\displaystyle {\int}_{0}^{{\theta}_{s}}}\mu \left(t\right)\text{d}t+c.$ (24d)

In the second stage we search among ${\theta}_{s}\in \left[\mathrm{0,}\Theta \right]$ and ${\kappa}_{E}^{\text{opt}}\left({\theta}_{s}\right)$ obtained from the first stage, the couple $\left({\kappa}_{E}^{\text{opt}}\mathrm{,}{\theta}^{\text{opt}}\right)$ which minimize the cost function of the optimization problem (24). For this, we solve the following optimization problem:

${\theta}^{\text{opt}}=\underset{{\theta}_{s}}{min}{\displaystyle {\int}_{0}^{\Theta}}\left({\kappa}_{E}^{\text{opt}}\left({\theta}_{s}\right)\right)\left(t\right)\text{d}t\mathrm{.}$ (25)

which has at least one solution. In cases where multiple solutions exist, we take the solution that corresponds to the smallest ${\theta}_{s}$ .

3.2. Discretization of Optimization Problem (O1)

The way to discretize problem (24) consists in introducing on $\left[\mathrm{0,}\Theta \right]$ n points

${\left({t}_{i}\right)}_{i=1,\cdots ,n}$ such that ${t}_{i}=\left(i-1\right)h$ , where $h=\frac{\Theta}{n-1}$ . We assume that for any

$j=1,\cdots ,N$ , there exists a ${t}_{i}$ such that ${\Theta}_{j}={t}_{i}$ . At the operational level, if this condition is not verified, we substitute ${\Theta}_{j}$ by the closest ${t}_{i}$ . Then we define n

intervals ${\left({I}_{i}\right)}_{i=1,\cdots ,n}$ , such that ${\cup}_{i=1}^{n}}\text{\hspace{0.05em}}{I}_{i}=\left[0,\Theta \right]$ , defined by:

${I}_{i}=\left[\left(i-\frac{3}{2}\right)h,\left(i-\frac{1}{2}\right)h\right],\text{\hspace{0.05em}}\text{\hspace{0.05em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{for}\text{\hspace{0.17em}}\text{\hspace{0.05em}}i=2,\cdots ,n-1,$

${I}_{1}=\left[0,\frac{h}{2}\right],\text{\hspace{0.17em}}\text{\hspace{0.17em}}{I}_{n}=\left[\left(n-\frac{3}{2}\right)h,\left(n-1\right)h\right].$

We consider then the space S made of functions that are defined on $\left[\mathrm{0,}\Theta \right]$ and constant on each ${I}_{i}$ , for $i=1,\cdots ,n$ . We introduce the approximation operator P defined by:

(26)

where ${f}_{i}=\frac{1}{\left|{I}_{i}\right|}{\displaystyle {\int}_{{I}_{i}}}f\left(t\right)\text{d}t$ is the mean value of the function f on interval ${I}_{i}$ . We denote $\stackrel{\u02dc}{f}={\left({f}_{1}\mathrm{,}\cdots \mathrm{,}{f}_{n}\right)}^{\text{T}}$ and we will use these notations afterward for the quan-

tities of the model. We have:

${\int}_{0}^{{t}_{i}}}\stackrel{\xaf}{f}\left(t\right)\text{d}t=\frac{h}{2}{f}_{1}+h{\displaystyle \underset{j=2}{\overset{i-1}{\sum}}}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{f}_{j}+\frac{h}{2}{f}_{i},\text{\hspace{1em}}i=2,\cdots ,n,$ (27a)

${\int}_{{t}_{i}}^{\Theta}}\stackrel{\xaf}{f}\left(t\right)\text{d}t=\frac{h}{2}{f}_{i}+h{\displaystyle \underset{j=i+1}{\overset{n-1}{\sum}}}{f}_{j}+\frac{h}{2}{f}_{n},\text{\hspace{1em}}i=1,\cdots ,n-1.$ (27b)

With this discrete space on hands, we consider the discrete optimization problem that consists in finding ${\stackrel{\xaf}{\kappa}}_{E}\left(t\right)$ solution of (24), with g replaced by $\stackrel{\xaf}{\gamma}$ , ${\rho}_{R}^{\mathcal{I}}$ by ${\stackrel{\xaf}{\rho}}_{K}^{\mathcal{I}}$ and ${\sigma}_{g}$ by ${\stackrel{\xaf}{\sigma}}_{g}$ .

It is straightforward to show that, after setting ${\theta}_{s}$ , solving the optimization problem (24) is equivalent to solve the next one.

${C}_{E}\left[{\kappa}_{E}^{\text{opt}}\left({\theta}_{s}\right)\right]=\underset{{\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\in \stackrel{\xaf}{U}}{min}{C}_{E}\left[{\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right]\mathrm{,}$ (28)

where $\stackrel{\xaf}{U}$ is the set of function ${\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\in S$ satisfying:

$\left({\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right)\left(t\right)\ge B\frac{{\theta}_{s}}{{\Theta}^{2}}\mathrm{,}$ (29a)

$\left(\mathcal{L}\left[{\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right]\right)\left(t\right)\ge B\left(\mathcal{L}\left[\frac{{\theta}_{s}}{{\Theta}^{2}}\right]\right)\left(t\right)+\frac{A}{c}\stackrel{\xaf}{\mu}\left(t\right)\mathrm{,}$ (29b)

${\int}_{0}^{{t}_{i}}}\left(\mathcal{L}\left[{\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right]\right)\left(t\right)\text{d}t\ge u\left({t}_{i}\right)+\frac{A}{c}{\displaystyle {\int}_{0}^{{t}_{i}}}\stackrel{\xaf}{\mu}\left(t\right)\text{d}t,\mathrm{}\forall i=1,\cdots ,n,$ (29c)

with

$\stackrel{\xaf}{\mu}\left(t\right)={\stackrel{\xaf}{\sigma}}_{g}\left(t\right)+\alpha {\displaystyle {\int}_{t}^{\Theta}}{\stackrel{\xaf}{\rho}}_{K}^{\mathcal{I}}\left(s\right)\text{d}s+{\stackrel{\xaf}{\rho}}_{K}^{\mathcal{I}}\left(t\right)\mathrm{,}$ (30)

and where u is a function that is equal to ${c}_{i}$ in each interval $\left[{\Theta}_{i}\mathrm{,}{\Theta}_{i+1}\right]$ , i.e.:

(31)

Because of the piece-wise constant nature of ${\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)$ , we have:

$\left({\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right)\left(t\right)-\left({\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\ast \stackrel{\xaf}{\gamma}\right)\left(t\right)=\left({I}_{n}-C\right){\stackrel{\u02dc}{\kappa}}_{E}\left({\theta}_{s}\right)\mathrm{,}$ (32)

where matrix $C\in {\mathbb{R}}^{n\times n}$ , resulting from the convolution, is defined by:

${C}_{i+\mathrm{1,}j+1}=h\gamma \left(\left(i-j\equiv n\right)+1\right)\mathrm{,}\text{\hspace{1em}}i\mathrm{,}j\in \left\{\mathrm{0,}\cdots \mathrm{,}n-1\right\}\mathrm{,}$

and ${\stackrel{\u02dc}{\kappa}}_{E}\left({\theta}_{s}\right)={\left(\left({\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right)\left({t}_{1}\right)\mathrm{,}\cdots \mathrm{,}\left({\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right)\left({t}_{n}\right)\right)}^{\text{T}}\in {\mathbb{R}}^{n}$ . Using (32) and (27), operator $\mathcal{L}$ defined by (15) when applied to ${\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)$ yields operator L acting on ${\stackrel{\u02dc}{\kappa}}_{E}$ , defined by:

$\mathcal{L}\left({\stackrel{\xaf}{\kappa}}_{E}\left({\theta}_{s}\right)\right)\left(t\right)=L{\stackrel{\u02dc}{\kappa}}_{E}\left({\theta}_{s}\right),$ (33a)

its expression is:

$L=\left({I}_{n}-C\right)-\alpha M\left({I}_{n}-C\right)=\left({I}_{n}-\alpha M\right)\left({I}_{n}-C\right)\in {\mathbb{R}}^{n\times n}\mathrm{,}$ (33b)

with, by using (27):

$M=\frac{h}{2}\left(\begin{array}{ccccc}0& 0& 0& & 0\\ 1& 1& 0& & 0\\ 1& 2& 1& & 0\\ \vdots & & & \ddots & 0\\ 1& 2& \cdots & 2& 1\end{array}\right)\in {\mathbb{R}}^{n\times n}\mathrm{,}$

is the matrix resulting from the approximation of the integral in the formula (15). The constraints given by (29) may then be written as:

(34a)

(34b)

(34c)

where , $\stackrel{\u02dc}{\mu}={\left(\stackrel{\xaf}{\mu}\left({t}_{1}\right)\mathrm{,}\cdots \mathrm{,}\stackrel{\xaf}{\mu}\left({t}_{n}\right)\right)}^{\text{T}}\in {\mathbb{R}}^{n}$ , and n is the discretization of (31) given by:

$\nu =\left(\begin{array}{c}u\left({t}_{1}\right)\\ \vdots \\ u\left({t}_{n}\right)\end{array}\right)\in {\mathbb{R}}^{n}\mathrm{.}$ (35)

The discretization of the optimization problem (24) is finally written as the following one.

(36a)

subject to:

(36b)

(36c)

(36c)

Problem (36) is a linear optimization problem which is solved for each ${\theta}_{s}\in \left\{{\theta}_{1}\mathrm{,}\cdots \mathrm{,}{\theta}_{m}\right\}$ , $m>1$ , where $0<{\theta}_{1}<{\theta}_{2}<\cdots <{\theta}_{m}<\Theta $ , to obtain ${\stackrel{\u02dc}{\kappa}}_{E}\left({\theta}_{s}\right)$ . Then, among all ${\theta}_{s}$ , we take ${\theta}^{\text{opt}}$ solution of the following optimization problem:

(37)

which has at least one solution. In cases where multiple solutions exist, we take the solution that corresponds to the smallest ${\theta}_{s}$ . We have finally the couple $\left({\kappa}_{E}^{\text{opt}}\mathrm{,}{\theta}^{\text{opt}}\right)$ .

3.2.1. Example 1

In Example 1, as shown in Figure 1, the repayment is done in a constant way between the first and 6th year after borrowing. We pay off nothing outside this period. The current spending density ${\sigma}_{g}$ alternates between positive values, corresponding to periods where income is less than spending and negative values, corresponding to periods where income is larger than spending. The optimal loan density ${\kappa}_{E}^{\text{opt}}$ and the optimal time to achieve the objective of the project ${\theta}^{\text{opt}}$ are given in Figure 1. Figure 2 shows that the constraints are satisfied. For this example we have taken:

$\Theta =20,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\alpha}_{E}=0.07,\text{\hspace{0.17em}}\text{\hspace{0.17em}}c=9,\text{\hspace{0.17em}}\text{\hspace{0.17em}}A=3,\text{\hspace{0.17em}}\text{\hspace{0.17em}}B=1,$

3.2.2. Example 2

In Example 2, the repayment is only made in an increasing way between the 2nd and 6th year after borrowing. We pay off nothing outside this period. The current spending density ${\sigma}_{g}$ alternates between positive values, corresponding to periods where income is less than spending and negative values, corresponding to periods where income is larger than spending. The optimal loan density ${\kappa}_{E}^{\text{opt}}$

Figure 1. According to the Example 1. Optimal loan ${\kappa}_{E}^{\text{opt}}$ and the optimal time ${\theta}^{\text{opt}}$ obtained for given. repayment pattern g, objectives c and current spending ${\sigma}_{g}$ .

Figure 2. Checking if the constraints are satisfied for Example 1.

and the optimal time to achieve the objective of the project ${\theta}^{\text{opt}}$ are given in Figure 3. Figure 4 shows that the constraints are satisfied. For this example we have taken:

$\Theta =20,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\alpha}_{E}=0.05,\text{\hspace{0.17em}}\text{\hspace{0.17em}}c=10,\text{\hspace{0.17em}}\text{\hspace{0.17em}}A=12,\text{\hspace{0.17em}}\text{\hspace{0.17em}}B=5,$

4. Second Optimization Problem (O2)

4.1. Continuous-in-Time Financial Model with Saving

In this model we impose the repayment pattern g, the current spending density ${\sigma}_{g}$ , the loan density ${\kappa}_{E}$ , the interest rates ${\alpha}_{E}$ and ${\alpha}_{W}$ . The withdrawal density ${\rho}_{W}$ and the saving density ${\kappa}_{S}$ must be chosen such that the current saving field ${\mathcal{K}}_{SD}\left(t\right)$ remains non-negative. We then write using (10) the following constraint:

${\mathcal{K}}_{SD}\left(0\right){\text{e}}^{{\alpha}_{W}t}+{\displaystyle {\int}_{0}^{t}}\left({\kappa}_{S}-{\rho}_{W}\right)\left(s\right){\text{e}}^{{\alpha}_{W}\left(t-s\right)}\text{d}s\ge \mathrm{0,}\text{\hspace{1em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{,}$ (38)

which can be written:

${\int}_{0}^{t}}\left({\rho}_{W}-{\kappa}_{S}\right)\left(s\right){\text{e}}^{-{\alpha}_{W}s}\text{d}s\le {K}_{SD}\left(0\right)\mathrm{,}\text{\hspace{1em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{.$ (39)

However, the isolated spending density $\beta \left(t\right)$ must be non negative. Using (16), we have the following inequality:

$\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)-{\alpha}_{E}{\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s-{\rho}_{R}^{\mathcal{I}}\left(t\right)-{\sigma}_{g}\left(t\right)-{\kappa}_{S}\left(t\right)+{\rho}_{W}\left(t\right)\ge \mathrm{0,}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{.}$ (40)

From (39) and (40), the two constraints that must be satisfied:

Figure 3. Optimal loan ${\kappa}_{E}^{\text{opt}}$ and the optimal time ${\theta}^{\text{opt}}$ obtained for given. repayment pattern g, objectives c and current spending ${\sigma}_{g}$ .

Figure 4. Checking if the constraints are satisfied for Example 2.

${\int}_{0}^{t}}\left({\kappa}_{S}-{\rho}_{W}\right)\left(s\right){\text{e}}^{-{\alpha}_{W}s}\text{d}s+{K}_{SD}\left(0\right)\ge \mathrm{0,}\text{\hspace{1em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{,$ (41a)

$\left(\mathcal{L}\left[{\kappa}_{E}\right]\right)\left(t\right)-{\alpha}_{E}{\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s-{\rho}_{R}^{\mathcal{I}}\left(t\right)-{\sigma}_{g}\left(t\right)-{\kappa}_{S}\left(t\right)+{\rho}_{W}\left(t\right)\ge \mathrm{0,}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{.}$ (41b)

4.1.1. Example 1

In the Figure 5 we show an example of a financial model with saving which the constraints (41) are satisfied. In this example, the repayment is done in a constant way between the first and third year after borrowing. We pay off nothing outside this period. The current spending density ${\sigma}_{g}$ alternates between positive values, corresponding to periods where income is less than spending and negative values, corresponding to periods where income is larger than spending. We set the saving density and the withdrawal density as shown Figure 5. For this example we have taken:

$\Theta =10,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\alpha}_{E}=0.07,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\alpha}_{W}=0.03,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\rho}_{R}^{\mathcal{I}}=0,\text{\hspace{1em}}{\mathcal{K}}_{SD}\left(0\right)=0.$

4.1.2. Example 2

In the Figure 6 we show an example of a financial model with saving which the constraints (41) are not satisfied. In this example, the repayment is done in a constant way between the first and third year after borrowing. We pay off nothing outside this period. We set the current spending, the saving density and the withdrawal density as shown Figure 6. For this example we have taken:

$\Theta =10,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\alpha}_{E}=0.07,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\alpha}_{W}=0.04,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\rho}_{R}^{\mathcal{I}}=0,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\mathcal{K}}_{SD}\left(0\right)=0.$

4.2. Optimization Problem (O2)

The second optimization problem consists to find the optimal variant from the loan density, the saving density and the Withdrawal density obtained from a continuous-in-time financial model with saving. For a given loan density ${\kappa}_{E}$ ,

Figure 5. Example of a continuous-in-time financial model with saving (the two constraints (4) are satisfied).

Figure 6. Example of a continuous-in-time financial model with saving (the two constraints (61) is not satisfied).

saving density ${\kappa}_{S}$ and withdrawal density ${\rho}_{W}$ which satisfy constraints (41), we want to calculate the positive real numbers a, b and c, such that replacing ${\kappa}_{E}$ by $a{\kappa}_{E}$ , ${\kappa}_{S}$ by $b{\kappa}_{S}$ and ${\rho}_{W}$ by $c{\rho}_{W}$ in the initial model, the constraints (41) are still verified. For that we introduce the following optimization problem:

$\left(a,b,c\right)=\underset{{a}^{\prime},{b}^{\prime},{c}^{\prime}\in \mathbb{R}}{\mathrm{arg}\mathrm{min}}\left\{{{a}^{\prime}}^{2}+{{b}^{\prime}}^{2}+{{c}^{\prime}}^{2}\right\},$ (42)

or

${a}^{2}+{b}^{2}+{c}^{2}=\underset{{a}^{\prime},{b}^{\prime},{c}^{\prime}\in \mathbb{R}}{\mathrm{min}}\left\{{{a}^{\prime}}^{2}+{{b}^{\prime}}^{2}+{{c}^{\prime}}^{2}\right\}\mathrm{,}$ (43)

under the constraints:

${\int}_{0}^{t}}\left(b{\kappa}_{S}-c{\rho}_{W}\right)\left(s\right){\text{e}}^{-{\alpha}_{W}s}\text{d}s+{K}_{SD}\left(0\right)\ge \mathrm{0,}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{,$ (44a)

$\begin{array}{l}\left(\mathcal{L}\left[a{\kappa}_{E}\right]\right)\left(t\right)-{\alpha}_{E}{\displaystyle {\int}_{t}^{\infty}}{\rho}_{R}^{\mathcal{I}}\left(s\right)\text{d}s-{\rho}_{R}^{\mathcal{I}}\left(t\right)-b{\kappa}_{S}\left(t\right)\\ -\text{\hspace{0.17em}}{\sigma}_{g}\left(t\right)+c{\rho}_{W}\left(t\right)\ge \mathrm{0,}\text{\hspace{1em}}\forall t\in \left[\mathrm{0,}\Theta \right]\mathrm{,}\end{array}$ (44b)

$a\ge \mathrm{0,}\text{\hspace{0.17em}}\text{\hspace{0.17em}}b\ge \mathrm{0,}\text{\hspace{0.17em}}\text{\hspace{0.17em}}c\ge 0.$ (44c)

To solve this optimization problem with constraints, a quadratic programming method implemented in Matlab is used via the function quadprog. We now apply this optimization problem on the model already presented in Example 0.0.3. We obtain:

$a=0.978,\text{\hspace{0.17em}}\text{\hspace{0.17em}}b=0.423,\text{\hspace{0.17em}}\text{\hspace{0.17em}}c=1.$

The result is shown in Figure 7. This means that among all the financial solutions close to that originally constructed, we take the one that leads to minimize

Figure 7. Second optimization problem (O2) applied to the model of Example 1.

the overall amount borrowed, placed and withdrawn. We can also minimize the amount borrowed only by writing the optimization problem in the form:

$a=\underset{{a}^{\prime}\in \mathbb{R}}{\mathrm{arg}\mathrm{min}}\left\{{{a}^{\prime}}^{2}\right\}.$ (45)

We can also minimize the amount borrowed and placed by writing the following optimization problem:

$\left(a\mathrm{,}b\right)=\underset{{a}^{\prime},{b}^{\prime}\in \mathbb{R}}{\mathrm{arg}\mathrm{min}}\left\{{{a}^{\prime}}^{2}+{{b}^{\prime}}^{2}\right\}\mathrm{.}$ (46)

In the Example 2, the constraint (41b) is not satisfied. However, it is possible, by modifying ${\kappa}_{E}$ , ${\kappa}_{S}$ and ${\rho}_{W}$ to get another model satisfying constraints (41), by applying the same optimization method. We obtain:

$a=0.453,\text{\hspace{0.17em}}\text{\hspace{0.17em}}b=0.423,\text{\hspace{0.17em}}\text{\hspace{0.17em}}c=1.$

The result is shown in Figure 8.

5. Conclusion

In this paper we have presented an optimal control for a continuous-in-time financial model which is designed to be used for the finances of public institutions. This model describes the loan, reimbursement, saving and interest payment schemes; and uses mathematical operators to describe links existing between those quantities. The aim of the optimal loan strategy is to minimize the interest payment taking into account the objective of the project, the incomes, the saving and the spending. We have built a mathematical framework for the optimal control problem which consists to solving a constraint optimization problem. Two optimization problems were introduced in this paper. The first

Figure 8. Second optimization problem (O2) applied to the model of Example 2.

one which is introduced in Section 3 consists in finding a loan scheme minimizing the cost of the loan for a project, together with the time to achieve its objectives. The second optimization problem which is introduced in Section 4 consists, from given loan, saving and withdrawal schemes, to finding optimal variants of them. In order to solve these optimization problems we have used simplex and quadratic methods. The numerical simulations were performed by using the mathematical software of scientific computing Matlab. The simulations’ results are consistent with the theoretical part and show the performance and stability of our approach.

Acknowledgements

This work is jointly funded by MGDIS company (http://www.mgdis.fr/) and the PEPS program Labex AMIES (http://www.agence-maths-entreprises.fr/).

Conflicts of Interest

The authors declare no conflicts of interest.

[1] | Frénod, E., Ménard, P. and Safa, M. (2017) Optimal Control of a Continuous-in-Time Financial Model. American Journal of Modeling and Optimization, 5, 1-11. |

[2] |
Frénod, E. and Safa, M. (2014) Continuous-in-Time Financial Model for Public Communities. ESAIM: Proceedings and Surveys, 45, 158-167.
https://doi.org/10.1051/proc/201445016 |

[3] | Frénod, E. and Chakkour, T. (2016) A Continuous-in-Time Financial Model. Mathematical Finance Letters, 37, 2051-2929. |

[4] | Merton, R.C. (1992) Continuous-Time Finance. Blackwell, Cambridge, MA. |

[5] |
Sundaresan, S.M (2000) Continuous-Time Methods in Finance: A Review and an Assessment. Journal of Finance, 55, 1569-1622.
https://doi.org/10.1111/0022-1082.00261 |

[6] | Keel, S.T. (2006) Optimal Portfolio Construction and Active Portfolio Management Including Alternative Investments. PhD Thesis, Swiss Federal Institute of Technology Zurich, Zurich. |

[7] | Grigorieva, E.V. and Khailov, E.N. (2005) Optimal Control of a Commercial Loan Repayment Plan. Discret and Continuous Dynamical Systems, 2005, 345-354. |

Journals Menu

Contact us

customer@scirp.org | |

+86 18163351462(WhatsApp) | |

1655362766 | |

Paper Publishing WeChat |

Copyright © 2023 by authors and Scientific Research Publishing Inc.

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