1 Introduction

Fuzzy theory has been widely applied in optimal control, liner optimization, nonlinear optimization, integer optimization and many other fields of optimization since it was proposed in 1965. As an important component of fuzzy theory, fuzzy arithmetic attracts great attention for its inevitability in solution process. Various fuzzy arithmetic rules were proposed in the past few years. For example, Zadeh (1978) proposed the basic fuzzy arithmetic rules based on the extension principle. Dimitar and Ronald (1997) pointed out that the binary fuzzy arithmetic could be represented as fuzzy reasoning, and proposed some simple expressions for operations on fuzzy numbers. The above arithmetic rules are all based on the Zadeh extension principle, which are computationally expensive in solving complex optimization problems.

Based on the fuzzy representation theorem, some arithmetic rules were established by treating fuzzy numbers as a collection of \(\gamma \)-level sets. For example, Chou (2003) studied the product arithmetic of two triangular fuzzy numbers by proposing L-R inverse function arithmetic principle, and presented an effective method to compute the canonical representation of product on two triangular fuzzy numbers. Chang and Hung (2006) studied the \(\gamma \)-level fuzzy arithmetic by employing vertex method, and proposed some simplifying rules to reduce the computation cost. More \(\gamma \)-level fuzzy arithmetic rules could be found in Anile et al. (1995). Although those rules can reduce the computational complexity, they cannot preserve some important algebraic properties that are naturally valid for the arithmetics of real numbers. In view of this, Holčapek and Štěpnička (2014) presented a novel framework for arithmetic of extensional fuzzy numbers by introducing MI-algebras structures, which imposed an improvement from a theoretical as well as a practical perspective.

To simplify arithmetics on fuzzy numbers, some approximation methods are proposed by approximating the general fuzzy numbers with special fuzzy numbers, such as interval, triangular and trapezoidal fuzzy numbers. The current approximation methods can be classified into Euclidean distance based method and non-Euclidean distance based method. The representative studies on Euclidean distance based approximations include Abbasbandy and Asady (2004), Grzegorzewski (2002) and Ma et al. (2000). In details, Abbasbandy and Asady (2004) proposed the nearest trapezoidal approximation to a fuzzy number from the perspective of distance metric. Grzegorzewski (2002) proposed the nearest interval approximation operator to approximate fuzzy numbers. Ma et al. (2000) introduced an approach of approximating a general fuzzy number by using symmetric triangular fuzzy number. The non-Euclidean distance based methods include weighted Euclidean distance (Zeng and Li 2007), Hamming distance (Chanas 2001) and source distance (Abbasbandy and Amirfakhrian 2006). Zeng and Li (2007) applied the weighted distance between two fuzzy numbers to investigate the triangular approximations, and discussed continuity, translation invariance, scale invariance and identity in approximation process. Chanas (2001) introduced the interval approximation by minimizing the Hamming distance between the interval fuzzy number and the approximated fuzzy number. Abbasbandy and Amirfakhrian (2006) defined a source distance on the set of fuzzy numbers and applied it to approximate the generalized L-R fuzzy numbers with trapezoidal fuzzy numbers.

Although various fuzzy arithmetic rules are proposed, there are still some limitations on product operations arithmetic. The first is the weak practicability. For example, Chou (2003) computed the canonical representation of the product of two triangular fuzzy numbers. However, the product of two triangular fuzzy numbers is not a triangular fuzzy number anymore. Therefore, this fuzzy arithmetic rule cannot be used in real applications where arithmetics on more than two fuzzy numbers are required. The second issue is the information loss. The approximation methods take special type of fuzzy numbers to approximate the general fuzzy numbers based on some distance metric. Although most of the important information are preserved, some personalized properties contained in the membership function are neglected. To overcome the above limitations, in this paper, we study the product arithmetic of multiple positive L-R fuzzy numbers, which is meaningful on completing the fuzzy arithmetic rules, and is helpful on developing fuzzy optimization technology.

All the above studies focus on the basic fuzzy arithmetics including addition, subtraction, multiplication and division, of which the arithmetic result is still a fuzzy number. In applications, some real valued functions of fuzzy numbers need to be calculated to rank fuzzy numbers, e.g., “mathematical expectation”. One popular computing method is fuzzy simulation, which was first proposed by Liu and Iwamura (1998). Furthermore, Liu and Liu (2002) designed a stochastic discretization-based simulation algorithm to derive the expected value of functions of fuzzy variables. Based on the proposed product arithmetic methods, we develop a numerical integral-based simulation algorithm (NISA) for the product arithmetic among multiple positive L-R fuzzy numbers to calculate the expected value of product in an acceptable computation time. As applications, we apply NISA in fuzzy portfolio selection problem, where L-R fuzzy numbers are commonly accepted to denote the returns of risky assets due to their membership functions are convex and closer to the real return distributions. The results greatly promote the practical applications of fuzzy optimization technology.

Compared with previous fuzzy arithmetics, our proposed NISA exhibits higher practicability in solving complicated fuzzy optimization issues due to its capability of dealing with the arithmetic among large-scale fuzzy numbers without information loss. In the meanwhile, NISA outperforms some other popular fuzzy optimization techniques such as fuzzy simulation from the perspective of accuracy and running speed. The explicit contributions of this paper can be summarized as follows:

  • The product of multiple positive L-R fuzzy numbers is studied and some of its mathematical properties are proved, which assists in overcoming the limitation of information loss in the approximation arithmetics.

  • The NISA is proposed to approximate the expected value, variance and skewness of fuzzy numbers, achieving a better performance than fuzzy simulation in both accuracy and running speed.

  • The NIGA is firstly designed by integrating the NISA and genetic algorithm, which is able to efficiently tackle the complicated portfolio selection problems and exhibits higher practicability than fuzzy simulation-based genetic algorithm.

The rest of this paper is structured as follows. Section 2 reviews the preliminaries about fuzzy numbers. In Sect. 3, we discuss the product arithmetic of positive L-R fuzzy numbers and present some lemmas. Section 4 proposes a NISA to approximate the expected values, variances and skewness of fuzzy numbers. Section 5 introduces a multi-period portfolio selection problem and proposes a genetic algorithm integrating NISA to tackle with multi-period portfolio selection. Section 6 provides two numerical experiments to demonstrate the effectiveness and efficiency of our proposed algorithms. Finally, Sect. 7 concludes the paper.

2 Preliminaries

In this section, we briefly introduce some fundamental concepts on fuzzy numbers, fuzzy expected value, fuzzy variance and fuzzy skewness.

Definition 1

(Zadeh 1965) A fuzzy subset \(\widetilde{A}\) in X is defined as \(\widetilde{A}=\{\langle x, \mu (x)\rangle : x\in X\}\), where \(\mu : X\rightarrow [0,1]\) and the real value \(\mu (x)\) represents the degree of membership of x in \(\widetilde{A}\). The \(\gamma \)-level set of \(\widetilde{A}\) is defined as \([\widetilde{A}]^{\gamma }=\{x\in X: \mu (x)\ge \gamma \}\) for any \(\gamma \in (0, 1]\).

Remark 1

The \(\gamma \)-level set of \(\widetilde{A}\) is usually expressed as \([\widetilde{A}]^{\gamma }=[a_{1}(\gamma ),a_{2}(\gamma )]\) with \(\gamma \in (0, 1]\), where \(a_{1}(\gamma )\) and \(a_{2}(\gamma )\) represent the infimum and supremum of \([\widetilde{A}]^{\gamma }\), respectively.

Definition 2

(Dubois and Prade 1980) A fuzzy number \(\xi \) is a normal and convex fuzzy subset of \(\mathfrak {R}\). Here, normality implies that there is a point \(x_{0}\) such that \(\mu (x_{0})=1\), and convexity means that \(\mu (\alpha x_{1}+(1-\alpha )x_{2})\ge \text{ min }\{\mu (x_{1}),\mu (x_{2})\}\) for any \(\alpha \in [0,1]\) and \(x_{1}, x_{2}\in \mathfrak {R}\).

As regard to the L-R fuzzy number, various definitions have been proposed. In this paper, we employ the most commonly used definition given by Triesch (1993).

Definition 3

(Triesch 1993) A fuzzy number \(\xi \) is a L-R fuzzy number if its membership function satisfies

$$\begin{aligned} \mu (x)=\left\{ \begin{array}{ll} L\left( \frac{x-a}{b-a}\right) , &{}\quad \mathrm{if}~~a\le x\le b \\ R\left( \frac{c-x}{c-b}\right) , &{}\quad \mathrm{if}~~b\le x\le c \\ 0,&{}\quad \mathrm{otherwise}, \end{array} \right. \end{aligned}$$
(1)

where L and R are increasing and continuous functions: \([0,1]\rightarrow [0,1]\) with \(L(0)=R(0)=0\) and \(L(1)=R(1)=1\). Here b is the peak of \(\xi \), \(b-a\) and \(c-b\) are the left and right spread, respectively.

Definition 4

(Li et al. 2015) Let \(\xi \) be a fuzzy number with differentiable membership function \(\mu (x)\). Then its expected value is defined as

$$\begin{aligned} E[\xi ]=\int _{-\infty }^{+\infty }x\mu (x)|\mu '(x)|\text{ d }x. \end{aligned}$$
(2)

Definition 5

(Li et al. 2015) Let \(\xi \) be a fuzzy number with differentiable membership function \(\mu (x)\) and finite expected value \(E[\xi ]\). Then its variance is defined as

$$\begin{aligned} V[\xi ]=\int _{-\infty }^{+\infty }(x-E[\xi ])^{2}\mu (x)|\mu '(x)|\text{ d }x. \end{aligned}$$
(3)

Definition 6

(Li et al. 2015) Let \(\xi \) be a fuzzy number with differentiable membership function \(\mu (x)\) and finite expected value \(E[\xi ]\). Then its skewness is defined as

$$\begin{aligned} S[\xi ]=\int _{-\infty }^{+\infty }(x-E[\xi ])^{3}\mu (x)|\mu '(x)|\mathrm{d}x. \end{aligned}$$
(4)

Remark 2

For any L-R fuzzy number with differentiable membership function, its expected value, variance and skewness can be calculated following from Eqs. (2), (3) and (4). Here \(\mu '(x)\) represents the first order derivative of \(\mu (x)\) and the differentiability refers to the almost everywhere differentiability. For example, the membership function of a triangular fuzzy number (abc) is almost everywhere differentiable except the peak point b.

In addition, Li et al. (2015) proposed some equivalents of Eqs. (2), (3) and (4) by using \(\gamma \)-level set. Suppose that \(\xi \) has \(\gamma \)-level set \(\big [\xi \big ]^{\gamma }\)=\([a_{1}(\gamma ),a_{2}(\gamma )]\), then its expected value, variance and skewness are

$$\begin{aligned} E[\xi ]= & {} \int _{0}^{1}\gamma (a_{1}(\gamma )+\textit{a}_{2}(\gamma ))\mathrm{d}\gamma , \end{aligned}$$
(5)
$$\begin{aligned} V[\xi ]= & {} \int _{0}^{1}\gamma [(a_{1}(\gamma )-E[\xi ])^{2}+(a_{2}(\gamma )-E[\xi ])^{2}]\mathrm{d}\gamma , \end{aligned}$$
(6)
$$\begin{aligned} S[\xi ]= & {} \int _{0}^{1}\gamma [(a_{1}(\gamma )-E[\xi ])^{3}+(a_{2}(\gamma )-E[\xi ])^{3}]\mathrm{d}\gamma . \end{aligned}$$
(7)

3 Product on positive L-R fuzzy numbers

In this section, we study the product arithmetic of two positive L-R fuzzy numbers and extend it to nL-R fuzzy numbers. Suppose that \(\xi _{1}\) and \(\xi _{2}\) are two positive L-R fuzzy numbers with membership functions \(\mu _{1}(x)\) and \(\mu _{2}(x)\). Denote the peak point as \(b_{i}\), and the left and right spreads as \(b_{i}-a_{i}\) and \(c_{i}-b_{i}\) with \(i=1, 2\). Assume that \(\xi =\xi _{1}\times \xi _{2}\) has membership function \(\mu (x)\). It is obvious that \(\xi \) takes values in \([a_{1}a_{2}, c_{1}c_{2}]\). Based on the Zadeh extension principle, \(\mu (a_{1}a_{2})=\mu (c_{1}c_{2})=0\) and \(\mu (b_{1}b_{2})=1\). In addition, denote \(S=\{(x_{1}, x_{2})|a_{1}\le x_{1}\le c_{1}, a_{2}\le x_{2}\le c_{2}\}\). For any \(x_{0}\in (a_{1}a_{2}, c_{1}c_{2})\), we have

$$\begin{aligned} \mu (x_{0})=\sup \limits _{(x_{1}, x_{2})\in S}\{\min \{\mu _{1}(x_{1}), \mu _{2}(x_{2})\}|x_{1}x_{2}=x_{0}\}. \end{aligned}$$
(8)

There are four scenarios on the locations of \(x_{1}\) and \(x_{2}\) satisfying \(x_{1} x_{2}=x_{0}\):

$$\begin{aligned} L_{1}= & {} \{(x_{1}, x_{2})|a_{1}\le x_{1}\le b_{1}, a_{2}\le x_{2}\le b_{2}\},\\ L_{2}= & {} \{(x_{1}, x_{2})|a_{1}\le x_{1}\le b_{1}, b_{2}\le x_{2}\le c_{2}\},\\ R_{1}= & {} \{(x_{1}, x_{2})|b_{1}\le x_{1}\le c_{1}, b_{2}\le x_{2}\le c_{2}\},\\ R_{2}= & {} \{(x_{1}, x_{2})|b_{1}\le x_{1}\le c_{1}, a_{2}\le x_{2}\le b_{2}\}. \end{aligned}$$

It is obvious that \(S=L_{1}\cup L_{2}\cup R_{1}\cup R_{2}\) (See Fig. 1). We can prove the following properties:

  1. (i)

    for any \(x_{0}\in (a_{1}a_{2}, b_{1}b_{2})\), we have \(\mu (x_{0})=\sup \limits _{(x_{1}, x_{2}) \in L_{1}}\{\min \{\mu _{1}(x_{1}), \mu _{2}(x_{2})\}|\)\(x_{1}x_{2}=x_{0}\}\) and there exist \(x_1 \in [a_{1}, b_{1}]\) and \(x_2 \in [a_{2}, b_{2}]\) satisfying \(x_{1}x_{2}=x_{0}\) such that \(\mu (x_{0})=\mu _{1}(x_{1})=\mu _{2}(x_{2})\).

  2. (ii)

    for any \(x_{0}\in (b_{1}b_{2}, c_{1}c_{2})\), we have \(\mu (x_{0})=\sup \limits _{(x_{1}, x_{2}) \in R_{1}}\{\min \{\mu _{1}(x_{1}), \mu _{2}(x_{2})\}|\)\(x_{1}x_{2}=x_{0}\}\) and there exist \(x_1 \in [b_{1}, c_{1}]\) and \(x_2 \in [b_{2}, c_{2}]\) satisfying \(x_{1}x_{2}=x_{0}\) such that \(\mu (x_{0})=\mu _{1}(x_{1})=\mu _{2}(x_{2})\).

The proof can be found in “Appendix A”.

Fig. 1
figure 1

Scenarios for \(x_{1}\), \(x_{2}\) with \(x_{1}x_{2}=x_{0}\), \(x_{0}\in (a_{1}a_{2}, c_{1}c_{2})\)

Lemma 1

Suppose that \(\xi _{1}, \xi _{2}, \ldots , \xi _{n}\) are positive L-R fuzzy numbers with differentiable membership function \(\mu _{1}(x), \mu _{2}(x), \ldots , \mu _{n}(x)\), then \(\xi =\xi _{1}\times \xi _{2}\times \cdots \times \xi _{n}\) is also a positive L-R fuzzy number with differentiable membership function.

Proof

We prove this lemma by using mathematical induction. The argument breaks down into two steps.

Step 1 We prove this lemma holds when \(n=2\).

As is known from previous description, \(\xi =\xi _{1}\times \xi _{2}\) takes values in \([a_{1}a_{2}, c_{1}c_{2}]\), \(\mu (a_{1}a_{2})=\mu (c_{1}c_{2})=0\) and \(\mu (b_{1}b_{2})=1\). First, we prove the monotonicity, continuity and differentiability of \(\mu (x)\) when \(x\in [a_{1}a_{2}, b_{1}b_{2}]\). Denote the \(\gamma \)-level set of \(\xi \) as \([a_{1}(\gamma ), a_{2}(\gamma )]\) and the \(\gamma \)-level sets of \(\xi _{i}\) as \([a_{i1}(\gamma ), a_{i2}(\gamma )]\), \(i=1, 2\), \(\gamma \in (0,1]\), where \(a_{1}(\gamma )\in [a_{1}a_{2}, b_{1}b_{2}]\) and \(a_{2}(\gamma )\in [b_{1}b_{2}, c_{1}c_{2}]\). It can be found that \(a_{i1}(\gamma )\) is the inverse function of \(\mu _{i}(x)\) with \(x\in [a_{i}, b_{i}]\) and \(a_{i2}(\gamma )\) is the inverse function of \(\mu _{i}(x)\) with \(x\in [b_{i}, c_{i}]\). According to property (i), for any \(x\in [a_{1}a_{2}, b_{1}b_{2}]\) with \(a_{1}(\gamma )=x\), there exist \(x_1 \in [a_{1}, b_{1}]\) and \(x_2 \in [a_{2}, b_{2}]\) such that \(x_{1}x_{2}=x\) and \(\mu (x)=\mu _{1}(x_{1})=\mu _{2}(x_{2})=\gamma \), then \(a_{1}(\gamma )=a_{11}(\gamma )\cdot a_{21}(\gamma )\). Since \(a_{11}(\gamma )\) and \(a_{21}(\gamma )\) are increasing, continuous and differential for \(\gamma \in (0,1]\), then \(a_{1}(\gamma )\) is monotonic increasing, continuous and differential. Furthermore, \(\mu (x)\) representing the inverse function of \(a_{1}(\gamma )\) is differentiable when \(x\in [a_{1}a_{2}, b_{1}b_{2}]\). Similarly, according to property (ii), for any \(x\in [b_{1}b_{2}, c_{1}c_{2}]\) with \(a_{2}(\gamma )=x\), there exist \(x_1 \in [b_{1}, c_{1}]\) and \(x_2 \in [b_{2}, c_{2}]\) such that \(x_{1}x_{2}=x\) and \(\mu (x)=\mu _{1}(x_{1})=\mu _{2}(x_{2})=\gamma \), then \(a_{2}(\gamma )=a_{12}(\gamma )\cdot a_{22}(\gamma )\), where \(a_{12}(\gamma )\) and \(a_{22}(\gamma )\) are decreasing and continuous differentiable. It can be proved that \(\mu (x)\) is differentiable for \(x\in [b_{1}b_{2}, c_{1}c_{2}]\). According to Definition 3, \(\xi _{1}\times \xi _{2}\) is a L-R fuzzy number with differentiable membership function \(\mu (x)\).

Step 2 We prove this lemma holds when \(n>2\).

Suppose that \(\xi _{1}\times \xi _{2}\times \cdot \cdot \cdot \times \xi _{k}\) is a positive L-R fuzzy number with differentiable membership function. Similar to Step 1, we can prove that \(\xi =\xi _{1}\times \xi _{2}\times \cdot \cdot \cdot \times \xi _{k}\times \xi _{k+1}\) is a L-R fuzzy number with differentiable membership function. The proof is then complete. \(\square \)

Following from Lemma 1, the membership function of the product of any positive L-R fuzzy numbers with differentiable membership functions is differentiable and therefore the product’s expected value, variance and skewness can be well defined.

Example 1

Suppose that the membership functions of positive triangular fuzzy numbers \(\xi _{1}=(s_{1},s_{2},s_{3})\) and \(\xi _{2}=(t_{1},t_{2},t_{3})\) are

$$\begin{aligned} \mu _{1}(x)=\left\{ \begin{array}{ll} \frac{ x-s_{1}}{s_{2}-s_{1}}, &{}\quad \mathrm{if}~~s_{1}\le x<s_{2} \\ \frac{s_{3}- x}{s_{3}-s_{2}}, &{}\quad \mathrm{if}~~ s_{2}\le x<s_{3}\\ 0,&{}\quad \mathrm{otherwise}, \end{array} \right. \quad \mu _{2}(x)=\left\{ \begin{array}{ll} \frac{ x-t_{1}}{t_{2}-t_{1}}, &{}\quad \mathrm{if}~~t_{1}\le x<t_{2} \\ \frac{t_{3}- x}{t_{3}-t_{2}}, &{}\quad \mathrm{if}~~ t_{2}\le x<t_{3}\\ 0,&{}\quad \mathrm{otherwise}. \end{array} \right. \end{aligned}$$

Set the \(\gamma \)-level sets for \(\xi _{1}\) and \(\xi _{2}\) as \([a_{11}(\gamma ), a_{12}(\gamma )]\) and \([a_{21}(\gamma ), a_{22}(\gamma )]\), respectively. Then for any \(\gamma \in (0,1]\), we have

$$\begin{aligned} \begin{array}{ll} a_{11}(\gamma )=s_{1}+(s_{2}-s_{1})\gamma , &{}\quad a_{12}(\gamma )=s_{3}-(s_{3}-s_{2})\gamma ,\\ a_{21}(\gamma )=t_{1}+(t_{2}-t_{1})\gamma , &{}\quad a_{22}(\gamma )=t_{3}-(t_{3}-t_{2})\gamma . \end{array} \end{aligned}$$

Suppose that the \(\gamma \)-level set for \(\xi =\xi _{1}\times \xi _{2}\) is \([a_{1}(\gamma ), a_{2}(\gamma )]\). From properties (i) and (ii), we have

$$\begin{aligned} \mu (a_{1}(\gamma ))=\mu _{1}(a_{11}(\gamma ))=\mu _{2}(a_{21}(\gamma )), \mu (a_{2}(\gamma ))=\mu _{1}(a_{12}(\gamma ))=\mu _{2}(a_{22}(\gamma )). \end{aligned}$$

Therefore, we can obtain

$$\begin{aligned} a_{1}(\gamma )= & {} a_{11}(\gamma )a_{21}(\gamma )=(s_{1}+(s_{2}-s_{1})\gamma )(t_{1}+(t_{2}-t_{1})\gamma ),\\ a_{2}(\gamma )= & {} a_{12}(\gamma )a_{22}(\gamma )=(s_{3}-(s_{3}-s_{2})\gamma )(t_{3}-(t_{3}-t_{2})\gamma ). \end{aligned}$$

According to Lemma 1, \(\xi \) is a L-R fuzzy number with differentiable membership function. Then its expected value, variance and skewness can be calculated as follows:

$$\begin{aligned} E[\xi ]= & {} \frac{s_{1}t_{1}+s_{1}t_{2}+s_{2}t_{1}+6s_{2}t_{2}+s_{2}t_{3}+s_{3}t_{2}+s_{3}t_{3}}{12},\\ V[\xi ]= & {} \frac{(s_{1}t_{1}+2s_{2}t_{2})^{2}+(s_{3}t_{3}+2s_{2}t_{2})^{2}+(s_{1}t_{2}+s_{1}t_{1})^{2}+(s_{3}t_{2}+s_{3}t_{3})^{2}}{60}\\&+\,\frac{(s_{2}t_{3}+2s_{2}t_{2})^{2}+4t^{2}_{2}(s^{2}_{2}+s_{1}s_{2}+s_{2}s_{3})+2s_{2}(s_{1}t^{2}_{1}+s_{3}t^{2}_{3})}{60}\\&+\,\frac{(s_{2}t_{1}+2s_{2}t_{2})^{2}-60E[\xi ]^{2}}{60},\\ S[\xi ]= & {} \frac{3(s_{1}t_{2}+s_{2}t_{1}+s_{1}t_{1})^{3}+5(s_{1}t_{2}+s_{2}t_{1}+s_{2}t_{2})^{3}+3(s_{1}t_{1}+s_{2}t_{2})^{3}+9s^{3}_{1}t^{3}_{1}}{840}\\&+\,\frac{3(s_{3}t_{2}+s_{2}t_{3}+s_{3}t_{3})^{3}+5(s_{3}t_{2}+s_{2}t_{3}+s_{2}t_{2})^{3}+3(s_{3}t_{3}+s_{2}t_{2})^{3}+9s^{3}_{3}t^{3}_{3}}{840}\\&+\,\frac{s^{2}_{2}t^{2}_{2}(6s_{1}t_{1}+30s_{1}t_{2}+30s_{2}t_{1}+194s_{2}t_{2}+30s_{3}t_{2}+30s_{2}t_{3}+6s_{3}t_{3})}{840}\\&+\,\frac{18s_{2}s_{3}t_{2}t_{3}(s_{3}t_{2}+s_{2}t_{3})-5(s_{1}t_{2}+s_{2}t_{1})^3-5(s_{3}t_{2}+s_{2}t_{3})^3}{840}\\&+\,\frac{6s^{2}_{1}t^{2}_{1}(s_{1}t_{2}+s_{2}t_{1})+6s^{2}_{3}t^{2}_{3}(s_{3}t_{2}+s_{2}t_{3})+18s_{1}s_{2}t_{1}t_{2}(s_{1}t_{2}+s_{2}t_{1})}{840}\\&-\,3E[\xi ]V[\xi ]-E[\xi ]^{3}. \end{aligned}$$

For example, set \(\xi _{1}=(1, 2, 3)\) and \(\xi _{2}=(2, 3, 6)\), then \(E[\xi ]=7\), \(V[\xi ]=311/30\) and \(S[\xi ]=1079/35\). In particular, if \(\xi _{1}=\xi _{2}\) with \(s_{i}=t_{i}\), \(i=1, 2, 3\), we have

$$\begin{aligned} E[\xi ]= & {} \frac{s_{1}^{2}+2s_{1}s_{2}+6s_{2}^{2}+2s_{2}s_{3}+s_{3}^{2}}{12},\\ V[\xi ]= & {} \frac{s_{1}^{4}+10s_{2}^{4}+s_{3}^{4}+4(s_{1}+s_{3})s_{2}^{3}+3(s_{1}^{2}+s_{3}^{2})s_{2}^{2}+2(s_{1}^{3}+s_{3}^{3})s_{2}-30E[\xi ]^{2}}{30},\\ S[\xi ]= & {} \frac{s_{1}^{6}+14s_{2}^{6}+s_{3}^{6}+6(s_{1}+s_{3})s_{2}^{5}+5(s_{1}^{2}+s_{3}^{2})s_{2}^{4}+4(s_{1}^{3}+s_{3}^{3})s_{2}^{3}+3s_{1}^{4}s_{2}^{2}}{56}\\&+\,\frac{3s_{3}^{4}s_{2}^{2} +2(s_{1}^{5}+s_{3}^{5})s_{2}-168E[\xi ]V[\xi ]-56E[\xi ]^{3}}{56}. \end{aligned}$$

4 Numerical integral-based simulation algorithm

This section proposes a NISA to approximate the expected value, variance and skewness of the product and sum of multiple positive L-R fuzzy numbers. A comparison between the approximated values and the exact values is performed to illustrate the effectiveness of NISA.

Suppose that \(\xi _{i}\) is a positive L-R fuzzy number taking values in interval \([a_{i},c_{i}]\) with membership function \(\mu _{i}(x)\), \(i=1, 2, \ldots , n\). According to Lemma 1, \(\xi =\xi _{1}\times \xi _{2}\times \cdots \times \xi _{n}\) is a L-R fuzzy number in interval \([a_{1}a_{2}\cdots a_{n}, c_{1}c_{2}\cdots c_{n}]\) with membership function \(\mu (x)\). Denote the \(\gamma \)-level set of \(\xi \) as \([a_{1}(\gamma ), a_{2}(\gamma )]\) and the \(\gamma \)-level sets of \(\xi _{i}\) as \([a_{i1}(\gamma ), a_{i2}(\gamma )]\), \(i=1, 2, \ldots , n\), \(\gamma \in (0, 1]\). For any \(\gamma \in (0, 1]\), it follows from properties (i) and (ii) that

$$\begin{aligned} a_{1}(\gamma )=a_{11}(\gamma )a_{21}(\gamma )\cdots a_{n1}(\gamma ),\quad a_{2}(\gamma )=a_{12}(\gamma )a_{22}(\gamma )\cdots a_{n2}(\gamma ). \end{aligned}$$
(9)
Fig. 2
figure 2

Membership function of \(\xi \)

Based on the above analysis, we design NISA to approximate the expected value, variance and skewness of \(\xi \). Firstly, uniformly select N discrete points \(\gamma _{1},\gamma _{2},\ldots ,\gamma _{N}\in (0,1]\) (See Fig. 2) and compute the \(\gamma _{i}\)-level sets \([a_{1}(\gamma _{i}),a_{2}(\gamma _{i})]\) following from Eq. (9) with \(i=1,2,\ldots ,N\). Secondly, approximate \(E[\xi ]\) by using the following numerical integration formula

$$\begin{aligned} e=\sum _{i=1}^{N}\gamma _{i}\left[ a_{1}(\gamma _{i})+a_{2}(\gamma _{i})\right] (\gamma _{i}-\gamma _{i-1}) \end{aligned}$$

where \(\gamma _{0}=0\). Finally, approximate \(V[\xi ]\) and \(S[\xi ]\) as follows

$$\begin{aligned} v= & {} \sum _{i=1}^{N}\gamma _{i}[(a_{1}(\gamma _{i})-e)^{2}+(a_{2}(\gamma _{i})-e)^{2}](\gamma _{i}-\gamma _{i-1}),\\ s= & {} \sum _{i=1}^{N}\gamma _{i}[(a_{1}(\gamma _{i})-e)^{3}+(a_{2}(\gamma _{i})-e)^{3}](\gamma _{i}-\gamma _{i-1}). \end{aligned}$$

The core mechanism of NISA is generating a certain number of sample points and simulate the Riemann integrals of the expected values, variances and skewness. The steps are presented in Algorithm 4.1.

Algorithm 4.1NISA

Step 1.

Initialize parameter N.

Step 2.

Uniformly generate point sequence \(\gamma _{i}=i/N\) in interval (0, 1], \(i=1, 2, \ldots , N.\) Compute the \(\gamma _{i}\)-level sets: \(a_{1}(\gamma _{i})=a_{11}(\gamma _{i})a_{21}(\gamma _{i})\cdots a_{n1}(\gamma _{i}),\)\( a_{2}(\gamma _{i})=a_{12}(\gamma _{i})\)\(a_{22}(\gamma _{i})\cdots a_{n2}(\gamma _{i}).\)

Step 3.

Set \(e=0\), \(v=0\), \(s=0\) and \(i=1\).

Step 4.

\(e=e+\gamma _{i}a_{1}(\gamma _{i})/N+\gamma _{i}a_{2}(\gamma _{i})/N\). Set \(i=i+1\).

Step 5.

If \(i\le N\), go to Step 4.

Step 6.

Set \(j=1\).

Step 7.

\(v=v+\gamma _{j}(a_{1}(\gamma _{j})-e)^{2}/N+\gamma _{j}(a_{2}(\gamma _{j})-e)^{2}/N\), \(s=s+\gamma _{j}(a_{1}(\gamma _{j})-\)\(e)^{3}/N+\gamma _{j}(a_{2}(\gamma _{j})-e)^{3}/N\). Set \(j=j+1\).

Step 8.

If \(j\le N\), go to Step 7.

Step 9.

Return e, v and s.

The relative errors of expected value, variance and skewness are subject to parameter N. Therefore, the optimal parameter N needs to be determined to obtain a satisfactory approximation by varying the number of sample points in NISA.

Example 2

In this example, we consider the expected value, variance and skewness of \(\xi =\xi _{1}\times \xi _{2}\) with \(\xi _{1}=(1, 2, 3)\) and \(\xi _{2}=(2, 3, 6)\). According to Example 1, the exact values are \(E[\xi ]=7\), \(V[\xi ]=311/30\) and \(S[\xi ]=1079/35\). By running NISA 20 times with N varying from 10 to 200, the approximated values and relative errors are obtained (See Table 1). The relative error is defined as

$$\begin{aligned} \delta = \frac{|r-r^{*}|}{\max \{|r|,|r^{*}|\} } \times 100\%, \end{aligned}$$
(10)

where r is the approximated value and \(r^{*}\) is the exact value.

Table 1 Approximated values and relative errors as N varies

The variation tendency of relative errors with regard to N is depicted in Fig. 3, which shows that the relative errors for expected value, variance and skewness decrease with respect to N. When N exceeds 160, the relative errors of expected value and variance are both less than \(1\%\) and the relative error of skewness is less than \(4\%\), which verifies that NISA is able to converge to the exact value with a certain size of sample points. In addition, it follows from Table 1 that the average running time for different parameters is 0.0113 seconds, justifying the high running speed of NISA.

Fig. 3
figure 3

An illustration on convergence of NISA

Example 3

Taking \(N=2000\), we perform NISA on 12 fuzzy numbers to obtain their approximated expected values, variances and skewness and make comparisons with the exact values. The results are shown in Table 2, where the second column lists the approximated values for expected value/variance/skewness (e / v / s), the third column lists the exact values (\(E[\xi ]\)/\(V[\xi ]\)/\(S[\xi ]\)), and the last column records the relative errors (\(\delta (e)\)/\(\delta (v)\)/\(\delta (s)\)).

The results show that the relative errors range from 0.00 to \(2.57\%\) and the average errors for expected values, variances and skewness are \(0.48\%\), \(0.01\%\), and \(1.26\%\), which implies that NISA can obtain satisfactory approximations for the expected values, variances and skewness of fuzzy numbers.

Table 2 Expected values, variances and skewness on different fuzzy numbers

5 Fuzzy multi-period portfolio selection model and numerical integral-based genetic algorithm

This section presents the application of NISA in portfolio selection. A fuzzy multi-period portfolio selection model considering different risk preferences is introduced to deal with the financial investment issues, and a hybrid algorithm integrating NISA and genetic algorithm (NIGA) is designed to solve the above model.

5.1 Fuzzy multi-period portfolio selection model

Portfolio selection studies the method of allocating the investor’s initial capital among multiple risky assets to maximize the investment return and/or minimize the investment risk. The pioneer work of portfolio selection theory was proposed by Markowitz (1952), which inspires many subsequent portfolio selection studies (Lai et al. 2006; Yu et al. 2012). The above portfolio selection studies are based on probability theory, where the returns of risky assets are treated as random variables with known probability distributions derived by historical data. In case of there is no enough data, fuzzy numbers are used to characterize the asset returns. With the development of fuzzy theory, an increasing number of research works on fuzzy portfolio selection problem can be found in literature (Huang 2011; Li and Peter 2011; Li et al. 2015; Wang and Zhu 2002; Wu and Liu 2012; Zhang et al. 2017; Zhou et al. 2017), which reflect the successful applications of fuzzy theory in practical financial issues. In terms of investment horizon, the portfolio selection studies can be divided into single-period portfolio selections (Lai et al. 2006; Li and Peter 2011; Li et al. 2015; Markowitz 1952) and multi-period portfolio selections (Guo et al. 2016; Zhou et al. 2017). The representative single-period portfolio selection is Markowitz’s mean-variance model, which aspires to find the best tradeoff between the return and risk in one single period. Only one decision making is required at the beginning of this short-term investment. However, for the long-term investment, it is better to adjust the investment strategies constantly since the performances of risky assets change over different periods. Therefore, multi-period portfolio selection is attracting attention from both the academic researchers and practitioners. For example, Guo et al. (2016) studied a multi-period portfolio selection model where the investment horizons of risky assets were assumed to be different. In this paper, we consider a fuzzy multi-period portfolio selection problem.

Table 3 List of notations

Consider a portfolio selection problem among n risky assets and a risk-free asset over an investment horizon of T periods. The initial wealth is \(W_{1}\), and returns obtained at each period are reallocated in the next period. To facilitate our discussion, we introduce the following notations (See Table 3).

Various criteria are considered to achieve a high flexibility in portfolio selection, such as return, risk, skewness and transaction cost. The investment process is assumed to be self-financing, which means additional capital infusion or withdrawal is forbidden. The transaction cost is considered as a V-shaped function of differences between the tth period portfolio \(x_{t}\) and the \((t-1)\)th period portfolio \(x_{t-1}\). Hence the unit transaction cost at period t is \(D_{t}=\sum _{i=1}^{n+1}d_{ti}|x_{ti}-x_{(t-1)i}|\) with \(x_{0i}=0\) for all \(i=1,2,\ldots ,n+1\). Then the available wealth at the end of period T can be expressed as

$$\begin{aligned} W_{T+1}=W_{1}\prod _{t=1}^{T}\left( \sum _{i=1}^{n}\xi _{ti}x_{ti}+r_{f}x_{t(n+1)}-D_{t}\right) . \end{aligned}$$
(11)

In portfolio selection, the return, risk and skewness are three objectives that an investor concerns most, which are quantified by \(E[W_{T+1}]\), \(V[W_{T+1}]\) and \(S[W_{T+1}]\), respectively. Although higher moments of return distributions, e.g., kurtosis, are relevant to the investment decisions, their influence on the optimal portfolio is negligible compared with the first three moments. In addition, the introduction of higher moments in portfolio selection will significantly increase the calculation burden. Therefore, in this paper, we focus on the return, risk and skewness. A good portfolio is generally able to maximize the return and skewness, and minimize the investment risk. Accordingly, the mean-variance-skewness model is formulated as

$$\begin{aligned} \left\{ \begin{array}{ll} \mathrm{max}&{}E[W_{T+1}]\\ \mathrm{min}&{}V[W_{T+1}]\\ \mathrm{max}&{}S[W_{T+1}]\\ \mathrm{s. t. } &{}x_{t1}+x_{t2}+\cdots + x_{t(n+1)}=1,\ t=1,2,\ldots ,T,\\ &{}0\le x_{ti}\le 1, \ t=1,2,\ldots , T,\ i=1,2,\ldots ,n+1. \end{array} \right. \end{aligned}$$
(12)

The return, risk and skewness are of different importance for different individuals. For example, aggressive investors tend to maximize the total return rather than avert risk. However, conservative investors may exert a tremendous fascination on minimizing the total risk. In case that the return and risk are the same, both of the aggressive and conservative investors prefer a better skewness. The key to tackle with the above multi-objective portfolio selection model is to find a balance satisfying the three objectives simultaneously. To achieve this, utility function is employed to transform the multi-objective programming model into a single-objective programming problem.

Utility function of portfolio selection represents satisfaction degree of the investors with regard to the given portfolio, which differ among different individuals (See Fig. 4). The expected utility model (EUM) is employed to obtain the optimal investment strategy, which is expressed as

$$\begin{aligned} \left\{ \begin{array}{ll} \text{ max }&{}E[u(W_{T+1})]\\ \text{ s.t. } &{} x_{t1}+x_{t2}+\cdots + x_{t(n+1)}=1, t=1,2,\ldots ,T,\\ &{}0\le x_{ti}\le 1, \ t=1,2,\ldots ,T, i=1,2,\ldots ,n+1, \end{array} \right. \end{aligned}$$
(13)

where the first constraint represents that the proportions sum to one, ensuring all the available wealth is allocated to (\(n+1\)) assets at the beginning of each period. The second constraint means that no short sales or borrowings is allowed.

Fig. 4
figure 4

Utility functions of different investors

As is illustrated in Liu et al. (2003), it is assumed that the utility function \(u(W_{T+1})\) can be approximated by the third-order Taylor’s expansion around the expected value \(E(W_{T+1})\). Thus, a connection between utility function, mean, variance and skewness can be established, which is beneficial to incorporate three criteria together to reduce computational complexity. The extension process is shown as follows:

$$\begin{aligned} u(W_{T+1})= & {} u(E[W_{T+1}])+u'(E[W_{T+1}])(W_{T+1}-E[W_{T+1}])\\&+\frac{1}{2}u''(E[W_{T+1}])(W_{T+1}-E[W_{T+1}])^{2}\\&+\frac{1}{6}u'''(E[W_{T+1}])(W_{T+1}-E[W_{T+1}])^{3}, \end{aligned}$$

where \(u'(\cdot )\), \(u''(\cdot )\) and \(u'''(\cdot )\) represent the first, second and third order derivatives of \(u(\cdot )\), respectively.

Taking the expectation in both sides of the equation, one can obtain

$$\begin{aligned} E[u(W_{T+1})]= & {} u(E[W_{T+1}])+\displaystyle \frac{1}{2}u''(E[W_{T+1}])E[(W_{T+1}-E[W_{T+1}])^{2}]\\&+\,\frac{1}{6}u'''(E[W_{T+1}])E[(W_{T+1}-E[W_{T+1}])^{3}]\\= & {} u(E[W_{T+1}])+\displaystyle \frac{1}{2}u''(E[W_{T+1}])V[W_{T+1}]\\&+\,\frac{1}{6}u'''(E[W_{T+1}])S[W_{T+1}]. \end{aligned}$$

Example 4

Consider a 6-period portfolio selection problem with 6 risky assets, of which the returns are characterized by fuzzy numbers, and a risk-free asset with constant return \(r_{f}\). According to Eq. (11), the available wealth at the end of period 6 is

$$\begin{aligned} W_{7}=W_{1}\prod _{t=1}^{6}\left( \sum _{i=1}^{6}\xi _{ti}x_{ti}+r_{f}x_{t7}-\displaystyle \sum _{i=1}^{7}d_{ti}|x_{ti}-x_{(t-1)i}|\right) . \end{aligned}$$

Based on different risk preferences, the EUMs can be formulated as follows (Table 4).

Table 4 EUMs for different risk preferences

5.2 Numerical integral-based genetic algorithm

Genetic algorithm (GA) is a stochastic search method for optimization problems which is inspired by the Darwinian process of evolution. It starts by randomly generating an initial population consisting of multiple individuals, where each individual denotes a feasible solution, and then constantly update these individuals in each generation by mimicking the gene inheritance and mutation in the process of evolution. After several generations, the fittest individual survives as the optimal solution.

GA can be integrated with other optimization algorithms easily due to its strong practicability and scalability. One good illustration is the fuzzy simulation-based genetic algorithm (FSGA), which was widely applied in optimization. For example, Guo et al. (2016) employed FSGA to tackle with the multi-period portfolio selection problem with different investment horizons. Although FSGA is able to tackle with complex optimization issues, it has a significant drawback of expensive running cost. The first reason is the random selection of data points. It is theoretically reasonable to randomly select a certain number of data points to cover the whole interval such that the simulated value is closer to the exact value, but this random selection mechanism only works when the number of data points is large enough, which is caused by the complexity of the Zadeh extension principle. This explains why the number of data points N in fuzzy simulation is usually larger than 2500. However, in our proposed NISA, we uniformly select the data sequence \(\gamma _{i}\) in interval (0, 1] so that the \(\gamma _{i}\)-level sets cover every subinterval of [ac] (See Algorithm 4.1), which demonstrates a much looser constraint on N. As shown in Example 2, NISA can achieve a satisfactory approximation when N is more than 160. The second reason is the high computational complexity of fuzzy simulation. According to the computation procedure of fuzzy simulation (See “Appendix B”), N circles are performed to compute \(E[\xi ]\). In each circle, whether \(\max \{\nu _{k}|y_{k}\ge r\}\) or \(\max \{\nu _{k}|y_{k}\le r\}\) is computed, which involves N arithmetic operations. Then the computational complexity for fuzzy simulation is \(O(N^{2})\). For NISA, although there are also N circles performed, only one arithmetic operation is needed in each circle, so its computational complexity is O(N). Since the running speed of NISA is much faster than fuzzy simulation, we adopt NIGA to solve the multi-period portfolio selection problem. The whole solving process consists of five key procedures including initialization, evaluation, selection, crossover and mutation.

Initialization Initialization is operated to generate the initial population. First, randomly generate a chromosome \(\mathbf c =(c_{11}, c_{12}, \ldots , c_{1(n+1)};c_{21},\)\(c_{22},\)\(\ldots , c_{2(n+1)};\ldots ;c_{T1},\)\( c_{T2}, \ldots , c_{T(n+1)})\), where \(c_{ti}\in [0,1]\), \(t=1,2,\ldots ,T\), \(i=1, 2, \ldots , n+1\). Second, denote the solution \(\mathbf x =(x_{11}, x_{12}, \ldots , x_{1(n+1)};\)\(x_{21}, x_{22}, \)\(\ldots , x_{2(n+1)};\)\(\ldots ;x_{T1}, x_{T2}, \ldots , x_{T(n+1)})\) by \(x_{ti}=c_{ti}/(c_{t1}+c_{t2}+\cdots +c_{t(n+1)})\), which ensures the constraint \(x_{t1}+x_{t2}+\cdots +x_{t(n+1)}=1\) is satisfied. Repeat the above process \(pop_{-}size\) times to generate an initial population consisting of \(pop_{-}size\) feasible solutions: \(\mathbf x _{1}, \mathbf x _{2}, \ldots , \mathbf x _{pop_{-}size}\).

Evaluation Evaluation is used for assigning a reproduction probability to each chromosome. The chromosome \(\mathbf c _{i}\) will have more chance to produce offspring when \(E[u(W_{T+1} (\mathbf x _{i}))]\) is larger, \(i=1, 2, \ldots ,\)\( pop\_size\). Therefore, we first calculate the value of \(E[u(W_{T+1}(\mathbf x _{i}))]\) by NISA. Then, realign these chromosomes in a descending order such that

$$\begin{aligned} E[u(W_{T+1}(\mathbf x _{1}))]\ge E[u(W_{T+1}(\mathbf x _{2}))]\ge \cdots \ge E[u(W_{T+1}(\mathbf x _{pop_{-}size}))]. \end{aligned}$$

Finally, calculate the fitness of chromosome \(\mathbf c _{i}\) as follows:

$$\begin{aligned} Eval(\mathbf c _{i})=\alpha (1-\alpha )^{i-1}, \ i=1, 2, \ldots , pop\_size, \end{aligned}$$

where \(\alpha \in (0, 1)\) is a real number.

Remark 3

NISA is extremely crucial in this stage for its computation accuracy determines whether GA can obtain the optimal solution, and its high computation speed can significantly reduce the running time of GA.

Selection Selection is intended for updating the population by spinning the roulette wheel. Set \(q_{i}=\sum _{j=1}^{i}Eval(\mathbf c _{i})\) for all \(i=1, 2, \ldots , pop_{-}size\) and \(q_{0}=0\). Then, randomly generate a number \(r \in (0, q_{pop_{-}size}]\). If \(r\in (q_{i-1}, q_{i}]\), select the ith chromosome \(\mathbf c _{i}\). Repeat the above procedure \(pop_{-}size\) times.

Crossover Crossover is employed to reproduce the offspring by taking the arithmetic average of two selected chromosomes. Take \(p_{c}\) as the crossover probability. For each chromosome \(\mathbf c _{i}\), randomly generate a real number \(r\in [0,1]\). If \(r\in [0, p_{c}]\), select \(\mathbf c _{i}\). When the number of selected chromosomes u is odd, delete the last one to make it an even number. Divide all of the selected chromosomes into pairs: \((\mathbf v _{1}, \mathbf v _{2}), (\mathbf v _{3}, \mathbf v _{4}), \ldots ,\)\((\mathbf v _{u-1}, \mathbf v _{u})\). Conduct a crossover operator on each pair of chromosomes as follows

$$\begin{aligned} \mathbf v '_{i}=\lambda \mathbf v _{i}+(1-\lambda )\mathbf v _{i+1}, \mathbf v '_{i+1}=\lambda \mathbf v _{i+1}+(1-\lambda )\mathbf v _{i}, \end{aligned}$$

where \(\mathbf v '_{i}\) denotes the updated chromosome, \(\lambda \in (0,1]\) is a random number and odd number i satisfying \(1\le i \le u-1\) .

Mutation Mutation is designed to ensure the diversity of population and prevent the local convergence arising from crossover operation. Define \(\mathbf d \) as the mutation direction, \(p_{m}\) as mutation probability, and \(\beta \) as an approximate large positive number. For each chromosome \(\mathbf c _{i}\), randomly generate a number \(r\in [0, 1]\). If \(r\in [0, p_{m}]\), generate a feasible chromosome \(\mathbf c _{i}+\beta \mathbf d \) by selecting an appropriate \(\beta \) and \(\mathbf d \), and replace \(\mathbf c _{i}\) with \(\mathbf c _{i}+\beta \mathbf d \).

The steps for NIGA are summarized in Algorithm 5.1.

Algorithm 5.1 NIGA

Step 1.

Input the parameters: G, \(pop_{-}size\), \(p_{c}\), \(p_{m}\), \(\mathbf d \), \(\alpha \) and \(\beta \).

Step 2.

Initialize \(pop_{-}size\) chromosomes.

Step 3.

Compute the objective value \(E[u(W_{T+1}(\mathbf x _{i}))]\) for each chromosome by using NISA, reorder these chromosomes and calculate their fitness values.

Step 4.

Select the chromosomes by the roulette wheel selection method.

Step 5.

Renew the chromosomes by crossover operation.

Step 6.

Renew the chromosomes by mutation operation.

Step 7.

Repeat the third to sixth steps for G cycles.

Step 8.

Take the best chromosome as the optimal solution.

6 Numerical examples

This section proposes two numerical examples to verify the effectiveness and practicability of our proposed NISA. In Example 5, we consider a 6-year portfolio selection problem with 8 risky assets and a risk-free asset, and obtain the optimal investment strategy by NIGA. In Example 6, we solve a real-world portfolio selection problem by NIGA and FSGA respectively. The advantages of NIGA over FSGA are analysed from the perspective of robustness and running speed.

Example 5

Suppose that there are 8 risky assets with triangular fuzzy returns, and the risk-free asset return is \(r_{f}=1.0300\). An investor is prepared to construct a 6-year portfolio with the initial wealth \(W_{1}=1\) unit (1 unit represents 10000 dollars). The unit transaction cost matrix is given by

$$\begin{aligned} d=\left( \begin{array}{ccccccccc} 0.0010 &{}\quad 0.0009 &{}\quad 0.0030&{}\quad 0.0021 &{}\quad 0.0019 &{}\quad 0.0012&{}\quad 0.0025 &{}\quad 0.0015 &{}\quad 0.0005\\ 0.0018 &{}\quad 0.0008 &{}\quad 0.0019&{}\quad 0.0024 &{}\quad 0.0021 &{}\quad 0.0040&{}\quad 0.0020 &{}\quad 0.0019 &{}\quad 0.0005\\ 0.0022 &{}\quad 0.0008 &{}\quad 0.0012&{}\quad 0.0023 &{}\quad 0.0021 &{}\quad 0.0030&{}\quad 0.0017 &{}\quad 0.0021 &{}\quad 0.0005\\ 0.0025 &{}\quad 0.0007 &{}\quad 0.0011&{}\quad 0.0021 &{}\quad 0.0023 &{}\quad 0.0056&{}\quad 0.0020 &{}\quad 0.0021 &{}\quad 0.0005\\ 0.0014 &{}\quad 0.0009 &{}\quad 0.0014&{}\quad 0.0024 &{}\quad 0.0022 &{}\quad 0.0040&{}\quad 0.0018 &{}\quad 0.0020 &{}\quad 0.0005\\ 0.0012 &{}\quad 0.0007 &{}\quad 0.0011&{}\quad 0.0020 &{}\quad 0.0021 &{}\quad 0.0031&{}\quad 0.0016 &{}\quad 0.0023 &{}\quad 0.0005\\ \end{array} \right) , \end{aligned}$$

where \(d_{ti}\) denotes the transaction cost of asset i in the tth year. For example, \(d_{26}=0.0040\) means that trading one unit of asset 6 in the second year costs 0.0040 unit (40 dollars). The fuzzy returns of risky assets, expected values, variances and skewness in different periods are shown in Table 5 (The left column includes assets 1, 3, 5 and 7, and the right column refers to assets 2, 4, 6 and 8). Suppose that the investor is risk appetite with utility function \(u(x)=x^{3}\). According to Table 4, the EUM is

$$\begin{aligned} \left\{ \begin{array}{ll} \mathrm{max}&{}E[W_{7}]^{3}+3E[W_{7}]V[W_{7}]+S[W_{7}]\\ \mathrm{s.t.}&{}x_{t1}+x_{t2}+\cdots + x_{t9}=1, t=1,2,\ldots ,6,\\ &{}0\le x_{ti}\le 1, \ t=1,2,\ldots ,6, i=1,2,\ldots ,9. \end{array} \right. \end{aligned}$$
(14)
Table 5 The fuzzy returns, expected values, variances and skewness for risky assets of Example 5

The optimal investment strategy is obtained by running the NIGA (See Table 6), where the parameters are set as follows: \(pop_{-}size=200\), \(G=130\), \(p_{m}=0.1\) and \(p_{c}=0.9\). Take the first year as an example. The best investment proportions for the 9 assets are \(5.02\%\), \(4.79\%\), \(11.07\%\), \(9.76\%\), \(18.52\%\), \(18.98\%\), \(11.85\%\), \(18.88\%\), \(1.13\%\), respectively. Asset 6 has the highest proportion for its high return and largest skewness. Asset 8 has a comparatively high proportion for its return is the highest. For a risk appetite investor, high return is more preferable compared with low risk. Therefore, due to the lowest return and relatively small skewness, the investment proportion of asset 2 is only \(1.72\%\), which is the smallest among the 8 risky assets. In addition, it is seen from Table 6 that assets 5 and 6 are superior assets for their investment proportions stably fluctuate between \(15.00\%\) and \(21.00\%\). While asset 2 is a typical inferior asset with its investment proportion varying greatly in different periods. Therefore, when dealing with this type of inferior asset, the investor needs to consider carefully before making the investment decision. The final expected return, variance, skewness and expected utility are 2.7728, 4.0603, 13.0982 and 68.1915, respectively.

Table 6 The optimal portfolios of Example 5

Example 6

Consider a 3-year portfolio selection consisting of 8 stocks selected from the Shanghai Stock Exchange: China Vanke Company (000002), BOE Technology Group Company (000725), Shanghai Pudong Development Bank (600000), CITIC Securities Company (600030), China United Telecommunications Company (600050), Chinese Universe Publishing and Media Company (600373), HNA Innovation Company (600555) and Metallurgical Corporation of China (601618). At the beginning of each year, the investor allocates part of the available wealth to the 8 stocks and deposits the rest in the bank with interest rate \(r_{f}=1.0300\). According to Shanghai Stock Exchange trading rules, the transaction costs for different stocks are the same (Guo et al. 2016), then the unit transaction cost matrix is

$$\begin{aligned} d=\left( \begin{array}{ccccccccc} 0.0030 &{}\quad 0.0030 &{}\quad 0.0030&{}\quad 0.0030 &{}\quad 0.0030 &{}\quad 0.0030 &{}\quad 0.0030&{}\quad 0.0030 &{}\quad 0.0000 \\ 0.0030 &{}\quad 0.0030 &{}\quad 0.0030&{}\quad 0.0030 &{}\quad 0.0030 &{}\quad 0.0030 &{}\quad 0.0030&{}\quad 0.0030 &{}\quad 0.0000 \\ 0.0030 &{}\quad 0.0030 &{}\quad 0.0030&{}\quad 0.0030 &{}\quad 0.0030 &{}\quad 0.0030 &{}\quad 0.0030&{}\quad 0.0030 &{}\quad 0.0000 \\ \end{array} \right) \end{aligned}$$

where \(d_{t9}=0.0000\), \(t=1,2,3\), which means no trading fee is charged when depositing or withdrawing money in the bank. Assume the returns of stocks as triangular fuzzy numbers, which are derived from analyzing the historical data. We collect the daily opening prices from January 2014 to December 2016 in the iFinD database (https://data.mendeley.com/datasets/fckp89tff7/1). The daily returns for each stock are obtained by equation:

$$\begin{aligned} r_{ij}=p_{ij}/p_{i(j-1)}, \quad i=1,2,\ldots , 8, \ j=1,2,\ldots ,n_{i} \end{aligned}$$

where \(p_{ij}\) represents the opening price of the j-th trading day for stock i, \(p_{i0}\) denotes the initial price and \(n_{i}\) is the total number of trading days for stock i. Remark that the number of trading days for different stocks may differ due to the possibility of trade suspension. By employing the granular computing method (Zhou et al. 2017), the fuzzy returns are obtained, see for instance, Table 7.

Table 7 The fuzzy returns of stocks in Example 6

Assume the utility function is \(u(x)=\sqrt{x}\). The optimal solution can be obtained easily by running NIGA. Due to the stochastic searching mechnism of GA, diverse solutions can be obtained when the parameters are different. In terms of this, the robustness is commonly applied to measure the relative stability and reliability of algorithm. To verify the robustness of NIGA, 6 sets of parameters are adopted and their corresponding relative errors are obtained by equation

$$\begin{aligned} \delta _{i}=(|\max \{f_{1},f_{2},\ldots ,f_{6}\}-f_{i}|/\max \{f_{1},f_{2},\ldots ,f_{6}\})\times 100\%, i=1,2,\ldots ,6 \end{aligned}$$

where \(f_{i}\) represents the expected utility value of the ith parameter set. In the meanwhile, for each set of parameters, we obtain the relative error and running time of NIGA and compare them with FSGA (See Table 8).

Table 8 Comparison of solutions in Example 6

According to Table 8, the average error and running time for NIGA are \(0.12\%\) and 102.35s, respectively. In contrast, the average error and running time for FSGA are \(0.52\%\) and 35578.74s. It is obvious that NIGA has a smaller relative error compared with FSGA, which illustrates that NIGA performs better in terms of stability and reliability. As for the running time, NIGA has better performance. The data reveals that the running speed of NIGA is 350 times faster than FSGA. This significant difference is due to NISA costs much less time in computing the expected utility values than fuzzy simulation (See Sect. 5.2). Since calculations of multiple individuals in different generations are involved in GA, the gap in running speed is amplified significantly. In real financial applications, timely decision making is extremely important for the investment opportunity fleets soon in fast-changing financial markets. In addition, more risky assets are considered in real investment, requiring a large computation capacity to obtain the optimal investment strategy in a short time. Therefore, NIGA performs better in dealing with real financial optimization issues for its advantages in accuracy, stability and running speed. This reflects the strong practicability of NISA. The optimal portfolio strategy is shown in Table 9.

Table 9 The optimal portfolios of Example 6

7 Conclusions

Fuzzy arithmetic is inevitable in both modeling and solution processes for fuzzy optimization. Currently, some fuzzy arithmetics are restricted by the weak practicability and information loss in arithmetic process. In this paper, we study the product arithmetic of multiple positive L-R fuzzy numbers and prove some important properties on membership functions. Based on the proposed arithmetic rules and properties, we design the NISA to approximate the expected values, variances and skewness of L-R fuzzy numbers and proved its effectiveness from the perspective of accuracy and running speed. As an application, we consider a fuzzy multi-period utility maximization model. To solve the proposed model, we integrate the NISA and GA and analyze its advantages over the FSGA. The results promote the completion of fuzzy arithmetic, improve the practicability of fuzzy optimization technology, and assist the investors to achieve the optimal investment strategy timely in the fast-changing financial markets.

Frankly speaking, this study only studies the product arithmetic on positive L-R fuzzy numbers. To widen the practicability, in the future, we can extend the study to generalized fuzzy numbers. This is challenging for the difficulty in determining the shape of the membership function of the product and proving its continuity and differentiability. The second extension is studying the division arithmetic on fuzzy numbers. Currently, there are few studies on the rules and properties of fuzzy division arithmetic, and some proposed division arithmetics are only theoretically invalid. For example, some fuzzy analytic hierarchy process related studies treat the reciprocal of triangular fuzzy number (abc) as (1 / c, 1 / b, 1 / a) (Ahmed and Kilic 2019), which actually contradicts with the Zadeh extension principle. Therefore, it is attractive to extend the studies to the above cases and apply them to more optimization and decision making problems.