Abstract
Standard quadratic optimization problems (StQPs) are NP-hard in computational complexity theory when the matrix is indefinite. This paper describes an approximate algorithm of finding inner optimal values of StQPs. The approximate algorithm fuzzifies variable x ∈ R n with normalized possibility distributions and simplifies the solving of StQPs. The approximation ratio is discussed and determined. Numerical results show that (1) the new algorithm achieves higher accuracy than the semidefinite programming method and linear programming approximation method; (2) the novel algorithm consumes less than one out of fourth computational time that is consumed by linear programming approximation method; (3) the computational time of the new algorithm does not correlate with the matrix densities whereas the computational times of the branch-and-bound and heuristic algorithms do.
Keywords
Introduction
StQPs are widely used in graph theory, operations research, engineering, and financial mathematics. A StQP is NP-hard in computational complexity theory when the matrix is indefinite [3].
Bomze and Klerk [2], Liuzzi et al. [15], Nowak [17], and Scozzari and Tardella [18] have developed algorithms such as the semidefinite programming and linear programming approximation [2], the branch-and-bound algorithm [15], the decomposition method for indefinite matrices [17], the heuristic algorithms [18] to solve StQPs. Bomze and Klerk [2] have shown that a polynomial-time approximation scheme (PTAS) can be used to solve StQPs. However, the aforementioned methods require an iterative technique that starts from an initial point, derived from mathematical equations or heuristic rules, and repeats the process until a solution is found. A common concern to iterative techniques is how to obtain a feasible direction and achieve the global optimal solution while satisfying constrained condition [4]. In addition, the iterative technique usually means that the algorithm consumes longer computational times. For example, semidefinite programming consumes 801 seconds for a size 20 StQP [2].
Numerical experiments in [18] and [15] show that the computational times of exact algorithm, heuristic algorithm and branch-and-bound algorithm correlate with matrix densities, such that for the same size of StQP problems, the larger the density of the matrix, and thus the longer the computational times.
Zadeh proposed the concepts of fuzzy numbers and possibility distributions [8, 20]. Fuzzy sets theory has been applied for solving quadratic programming problems [1, 21]. The applications are usually to fuzzify coefficients in either constraint functions or objective functions. However, the techniques of coefficient fuzzifications do not reduce the computational complexity.
This paper proposes a novel algorithm that fuzzifies the variable x ∈ R n of StQPs by using normalized possibility distributions. The fuzzification transforms the problem of finding an inner optimal solution of StQPs into the problem of verifying that values satisfy inequalities. The benefits of the novel algorithm are as follows: (1) it can achieve better accuracy than Linear Programming Approximations (LPA) [2] and Semidefinite Programming (SDP) [2]; (2) it consumes less computational times than LPA and DSP [2]; (3) the computational time of the novel algorithm is uncorrelated with matrix densities.
This paper is organized such that Section 2 gives a preliminary to the concepts of approximate ratio, fuzzification, triangular fuzzy number, and the normalization of possibility distributions. Section 3 describes the algorithm and the fuzzification in detail. Section 4 provides the analysis of the algorithm and determines the approximation ratio of the novel algorithm. Section 5 shows examples and numerical experiment results. Section 6 gives the conclusion.
Preliminary
If a problem is a maximization(minimization) problem, and I is any instance of the problem. OPT (I) represents the optimization solution for the instance, and A (I) represents the solution of an approximation algorithm. The absolute approximation ratio R
A
for an approximation algorithm A for the problem is defined as
Fuzzification is the process of assigning the numerical inputs of a system to fuzzy sets with some degree of membership function.
The concept of fuzzification is commonly used in fuzzy sets theory and fuzzy control theory [11, 22].
A TFN is a special case of fuzzy number, whose membership function forms a triangle. A TFN λ is usually denoted with three values such that λ = (d l , d m , d r ), where d m is the mean of the TFN λ, such that λ (d m ) =1, d l and d r are the lower and upper limits of the TFN [13].
Suppose x ∈ R n . When each x i is fuzzified with a fuzzy number λ i (i = 1, 2, ⋯ , n), the set of fuzzy numbers λ = (λ1, λ2, ⋯ , λ n ) is called a possibility distribution of the variable x.
As Zadeh described in his initial paper, the sum of a possibility distribution is not necessarily 1 [19]. However, practical problems require the normalization of the possibility distributions. The definition of normalized possibility distribution is given in Definition 2.5.
Suppose that x ∈ R n , λ is a possibility distribution of x, and λ i (t) is the membership function of the fuzzy number λ i (i = 1, ⋯ , n). The normalization of a possibility distribution λ is defined as
It is clear that μ (t) ∈ R n and μ (t) ∈ △ = {μ (t) ∈ R n ∣ μ i (t) ≥0 ; e T μ (t) =1} , t ∈ R, where e is the n-vector of all ones.
The problem
A StQP problem is described as follows.
A StQP has a variable x = (x1, x2, ⋯ , x n ) ∈ R n and x∈ △. That is, x i ∈ [0, 1]. The fuzzification is to assign a TFN to each x i . As a result, a set of TFNs is assigned to the variable x ∈ R n .
However, the above fuzzification has a problem that λ∈ △ is not guaranteed because x∈ △. In order to guarantee that the set of TFNs is over the standard simplex and to make the fuzzification reasonable, instead of assigning a set of TFNs λ directly to x, the fuzzification in this paper assigns the normalization of a possibility distribution to x such that
Based on the Proposition 3.1, λ
i
(t) can be denoted as follows in D
j
⊆ [0, 1].
By substituting x∈ △ with μ (t)∈ △, the problem (3.1) can be transformed as follows.
The algorithm calculates t* in Equation (3.14) for each domain
So far, it is only known that μ (t*) is an approximate critical point if the inequalities in (3.15) are satisfied. It is necessary to determine that f (μ (t)) has a local maximum value or a local minimum value at μ (t*). This leads to the following theorem.
Proof. Notice that in each D
i
(i = 1, 2, ⋯ , M), function f (μ (t)) is a [0, 1] → R, differentiable, and continuous function of t. t* ∈ D
i
is a solution of Equation (3.12). The Taylor series of f (μ (t)) at t* in domain D
i
is as follows.
Notice that without this theorem, the algorithm can only find critical points. This theorem distinguishes that the objective function reaches either the local minimum or local maximum value at each critical point.
From a conceptual point of view, the proposed algorithm might be considered as a type of divide-and-conquer algorithm. However, it differs from the divide-and-conquer algorithms because the proposed algorithm requires neither a base case for subproblems nor the recursive operations that are required.
Firstly, the algorithm fuzzifies x ∈ R n with a normalized possibility distribution, then simplifies the StQP into the Equation (3.14). Secondly, the algorithm calculates t* in the Equation (3.14) in each sub domain, then, verifies whether t* satisfies the inequalities in (3.15). If the verification succeeds, then the algorithm finds an inner critical point of (3.5) in the sub domain D i (i = 1, ⋯ , M). Thirdly, the algorithm calculates S i in (3.16) to determine whether the critical point is a local minimum point or a local maximum point. Finally, the algorithm compares all the local maximum (minimum) values, determines the approximate maximum (minimum) solution of a StQP in a reduced form. The algorithm is depicted in Fig. 1. The details of the algorithm is described in Algorithm 1.

The fuzzification and the algorithm.
When t* is a solution of (3.12), first, we show that the approximate solution satisfies δ - ε proof conditions in D i (i = 1, 2, ⋯ , M). Secondly, the approximation ratio is analysed.
Proof. Since t* ∈ D
i
is a solution of Equation (3.12), based on the Equation (3.18), one has the following.
Without loss of generality, we suppose that the interval [0, 1] is equally divided into M (1 ≤ M ≤ n) partitions by the mean values of TFNs λ (t).
Proof. From Equation (3.18), one has the following.
In practical applications, the exact solution is usually unknown, and the approximation ratio (4.2) measures how accurate the new algorithm is. Notice that Equation (4.5) shows that the approximation ratio depends on the number M such that when M is larger, the ε i will be smaller and the approximation ratio will close to 1.
We use Bomze and Klerk’s Examples 5.1 and 5.2 and their results in [2]. First, we compare the accuracy of the new algorithm with the accuracy of SDP and LPA [2]. Secondly, we compare the computational times of the new algorithm with that of SDP and LPA [2]. Finally, we show that the computational time of the novel algorithm does not correlate with matrix densities while the computational times of the branch-and-bound algorithm and the heuristic algorithm do [15, 18].
The new algorithm was programmed with C++ in Microsoft Visual Studio 2015 environment. Numerical experiments were run on a computer with Intel Core I5-7200U CPU (2.5GHz) with 8 GB RAM.
Since the exact solutions of Examples 5.1 and 5.2 are given in [2], we use the following relative error RE to measure the deviation.
The new algorithm runs with three different M (M=3, M=4 and M=5). We get same approximate solution 0.5 for each M. The comparison results are shown in the Table 1, and approximate solution x* is shown in Table 2.
The computational results comparison with SDP and LPA [2]
The solutions x* of the new algorithm
This simple example shows that the new algorithm and SDP achieve better accuracy than LPA.
The computational results comparison with SDP and LPA [2]
The solution x* of the new algorithm
Examples 5.1 and 5.2 show interesting observations: (1) Table 1 shows that the novel algorithm achieves better accuracy than LPA; (2) Table 3 indicates that the novel algorithm gains better accuracy than both SDP and LPA; (3) Tables 2 and 4 show that the new algorithm is able to find different points x* that achieve the same approximate value.
This section is a continuation of the Examples 5.1 and 5.2. We use Bomze and Klerk’s results in Table 1 of paper [2] for the comparison. The new algorithm runs for a size n = 10, 15, 20, 25, 30, 35 and 40 StQPs, respectively. The parameter M is set to be the size n. The results are shown in Table 5.
The comparison of computational times in Seconds
The comparison of computational times in Seconds
Table 5 shows that SDP consumes more CPU times. In order to visualize the difference between the novel algorithm and LPA, we use Fig. 2 to show the distinction.

Computational time compaison with LPA [2].
Table 5 and Fig. 2 indicate that LPA consumes more than four times CPU time than the novel algorithm. The combination of Table 5 and Examples 5.1 and 5.2 indicate that the novel algorithm does not only achieve better accuracy than SDP and LPA (Tables 1, 3), but it also consumes less computational time than SDP and LPA (Table 5 and Fig. 2).
We use Liuzzi et al’s results [15] and Scozzari et al’s results [18] because: (1) the numerical experiments in [15] and [18] have the density information of the matrix Q; (2) the works in [15] and [18] contain hardware information that is similar to ours such that [15] used 2.7 GHz Intel I5 CPU with 32 GB RAM and [18] used 2 GHz P4 without RAM information.
The new algorithm is tested with n=50, 100, 200 and 500 with M=1 and 20. Because we are not able to have the exact solutions from [15, 18], we cannot compare the accuracy between the novel algorithm and the algorithms in [15, 18]. However, we use the same density of the matrix Q such that density is 0.25, 0.5 and 0.75 for the comparison. The comparison results are shown in Table 6. The computational times for NBB were extracted from Tables 4 and 5 in [15]. The CPU time for exact algorithm and heuristic algorithm were extracted from Table 1 in [18].
Computational time comparison with traditional methods
Computational time comparison with traditional methods
A1:Exact Algorithm [18]; A2:Heuristic [18]; NBB [15]; NA: New algorithm. The symbol ‘–’ means that the value is not available.
The computational time of the new algorithm cannot be directly compared with that of algorithms in [15, 18], because the numerical experimentations were performed with different computers and only the size n and the matrix densities are the same. However, interesting observations can be found in Table 6. The computational time of the novel algorithm does not correlate with matrix densities whereas the computational times of branch-and-bound [18], heuristic and exact algorithms [15] do.
In order to visualize that the CPU time of the novel algorithm is uncorrelated with matrix densities, we plot a graph in Fig. 3 by using the data when M = 1.

Relationship between CPU time and matrix densities (M = 1).
We present a novel algorithm for solving StQPs by fuzzifying the variable of quadratic functions with the normalized possibility distribution. The advantages of the new algorithm are that (1) the constraint condition of StQPs, variables must be in the standard simplex, are encapsulated into a normalized possibility distribution; (2) an inner approximate minimum value and an inner approximate maximum value can be found in one run if a StQP has both minimum and maximum; (3) the approximation ratio is provided for measuring how accurate the new algorithm can be when exact solutions are unknown.
Even though we consider that it is better to have more comparison data with more other algorithms using large sizes of StQPs, the current numerical experiments show that (1) the novel algorithm achieves better accuracies than SDP and LPA [2] in Table 1 and 3; (2) the new algorithm consumes less computational times than SDP and LPA [2] in Table 5 and Fig. 2; (3) the computational time of the new algorithm does not correlate with the matrix densities whereas the computational time of the branch-and-bound and heuristic algorithms depends on the matrix densities [15, 18].
The new algorithm can be easily extended to solve generic quadratic optimization problems such that
Future research will involve the application of the new algorithm to solve practical problems such as portfolio optimization problems and the analysis of the new algorithm from the perspective of computational complexity theory.
