Prospects for Applied Mathematics and Data Analysis

Hessian matrix for testing the convexity and concavity of the objective function in nonlinear programming and neutrosophic nonlinear programming problems

Maissam Jdid
Volume 4, Issue 2, pp. 09 –14 (2024)
DOI: https://doi.org/10.54216/PAMDA.040202
Online: https://www.americaspg.com/journal/34/article/3872

Abstract

Mathematical examples rely on constructing mathematical models consisting of an objective function and constraints. These models may be linear, nonlinear, or otherwise. The objective function is either a maximization function or a minimization function for a given quantity. Nonlinear programming constitutes an important and fundamental part of operations research and is more comprehensive than linear programming. Therefore, researchers have focused on presenting studies that help find the optimal solution to these problems. Most of these studies have focused on the importance of knowing the type of objective function—whether it is convex or concave—because this knowledge helps determine the type of maximum value we obtain when studying a nonlinear programming problem. The Hessian matrix was used for this purpose. In this research, we will present the most important concepts that can be used when determining the type of maximum value for a nonlinear programming problem, as mentioned in some classic references. We will then reformulate them using the concepts of neutrosophic logic.

Keywords: Operations research; Nonlinear models; Neutrosophic logic; Neutrosophic nonlinear models; Concavity of a functions; Convexity of functions; Hessian matrix

1. INTRODUCTION

tion, profit, or investment of human resources and energies. Its essence is to build a practical scientific model for a specific system that includes identifying the influencing factors and then obtaining the optimal solution for this model.

We call mathematical programming the science that investigates determining the maximum or minimum value of a specific function, called the objective function, which depends on a number of variables that may be interconnected or independent of each other, known as constraints. It is one of the methods of operations research, a science that emerged during World War II due to the presence of many complex strategic issues that require optimal solutions. This science has gained a prominent position among the mathematical methods used in planning and managing various economic and military activities because it helps specialists develop ideal plans in terms of costs, production, financing, distribu-

The mathematical model is a nonlinear model if any component of the objective function or constraints is a nonlinear expression, and the nonlinear expressions may be in both. The region of possible solutions for a nonlinear mathematical model is the set of vectors whose components satisfy all constraints, while the optimal solution is the vector that satisfies all constraints and where the function reaches an optimal value (maximum or minimum). The efforts of researchers in the field of nonlinear programming have focused on presenting many concepts and methods that help in obtaining the optimal solution. In this research, we present some of these concepts based on what was mentioned in references [1, 2, 3, 4]. Then we will reformulate these concepts using the new vision presented by neutrosophic logic, the logic that is the latest achievement of logical thought in its persistent quest to comprehend reality and expresses the uprising of the mind when it collides with the unreasonableness of reality or with a false rationality that covers fossilized systems that seek stability in a world in which the pace of development and change is accelerating. To view the stages of development of this science from its inception until today and the most important research and studies that have been published using the concepts of this logic, which have included most fields of science, see [5].

2. DISCUSSION

The mathematical model consists of decision variables, an objective function, and constraints. The region of possible solutions for a nonlinear mathematical model is the set of vectors whose components satisfy all constraints. The optimal solution is the vector that satisfies all constraints and at which the function reaches a maximum value (maximum or minimum).

Previous Studies

Unconstrained Problems [4]

Solving unconstrained nonlinear programming problems means finding the general minimum or maximum value of a real function f that follows n real variables x1,x2,...,xn, which takes values from −∞to +∞, meaning there is no constraint on the vector x ∈Rn. We are interested in this type of problem because the optimal conditions for solving constrained problems are merely a logical extension of the conditions for solving unconstrained problems.

Definition of an unconstrained nonlinear programming problem: Let us have a function f : Rn −→R defined in the form f(x) = f(x1,x2,...,xn) for any vector x ∈Rn:

Min x∈Rn f(x).

We say that this problem is unconstrained. That is, we must look for a point ¯x ∈Rn such that

f(¯x) ≤f(x), ∀x ∈Rn. (1)

We say that the point ¯x that satisfies (1) is a general minimum limit point.

If the point ¯x satisfies the relation

f(¯x) < f(x), ∀x ∈Rn,

we say that the point ¯x is a unique general minimum limit point. If there is a neighborhood N(¯x) around the point ¯x such that the relation f(¯x) < f(x), ∀x ∈N(¯x), is satisfied only in the neighborhood, then ¯x is said to be a local minimum limit. Refer to Figure 1.

Figure 1. Illustration of local and general minimum limit points.
Figure 1. Illustration of local and general minimum limit points.

We note that f(¯x1) < f(x), ∀x ∈N(¯x), so ¯x1 is a local minimum limit, while

f(¯x3) ≤f(x), ∀x ∈Rn,

and therefore ¯x3 is a general minimum limit.

Necessary and Sufficient Conditions for General and Local Minimums [2, 4]

Assume that the function f(x) is continuous and that its first partial derivatives ∂f/∂xi and second partial derivatives ∂2 f/(∂xi∂xj) are also continuous for any point x ∈Rn; then we have the following.

Theorem. If the point ¯x ∈Rn is a local minimum limit of the function f(x), then:

a. ∇f(¯x) = 0.

b. The Hessian matrix of the function f,

 ∂2 f  , ∂xi∂xj

∇2 f(¯x) = is a positive near-perfect matrix.

We say that the point x∗that satisfies condition (a) of the previous theorem, i.e.,

∂f ∂xi (x∗) = 0, i = 1,2,...,n,

is a stationary (critical) point.

Theorem. With the same assumptions as the previous theorem, we say that the point ¯x is a local minimum limit of the function f(x) over Rn if

∇f(¯x) = 0 and the Hessian matrix

 ∂2 f  ∂xi∂xj

∇2 f(¯x) = is a positive near-perfect matrix.

Note. A stationary point does not necessarily have to be a local minimum endpoint.

Figure 2. A stationary inflection point that is not a local limit.
Figure 2. A stationary inflection point that is not a local limit.

Figure 2 shows a stationary point x∗, but it is not a local limit. We can also see from this figure that the sufficient conditions for the existence of a local minimum limit are not met. Because the function f accepts an inflection point x∗, the Hessian matrix is not perfectly positive. Rather, it is almost perfectly positive:

∂2 f ∂x2 (x∗) = 0.

Convex Functions [2, 4]

When the function f is convex and defined on Rn, we can obtain necessary and sufficient conditions for a point to be a general minimum limit point. This can be summarized in the following theorem.

Theorem. If f is a convex, continuously differentiable function, then the necessary and sufficient condition for the point

¯x to be a general minimum limit point of the function f on Rn is that ∇f(¯x) = 0.

Necessary and Sufficient Conditions for General and Local Maximum Limits

Similarly to those for general and local minimum limits, we summarize the necessary and sufficient conditions for the existence of maximum limits with the following theorems.

Theorem. If the function f(x) is continuous and its first partial derivatives ∂f/∂xi and the second partial derivatives ∂2 f/(∂xi∂xj) are also continuous for any point x ∈Rn, then we have: if the point ¯x is a maximum limit (general or local) of the function f, then

∇f(¯x) = 0, and the Hessian matrix of the function f,

 ∂2 f  (¯x) , ∂xi∂xj

∇2 f(¯x) = is a near-perfect negative matrix.

Theorem. Using the same assumptions as the previous theorem, we say the point ¯x is a local maximum limit point of the function f(x) on Rn if ∇f(¯x) = 0 and the Hessian matrix

 ∂2 f  ∂xi∂xj

∇2 f(¯x) = is a positive perfect matrix.

Result. Assume that ∇f(¯x) = 0.

Neutrosophic Mathematical Model

In the problem of examples where the objective and constraints are in the form of neutrosophic mathematical functions, the neutrosophic mathematical model is written in the following form:

N f = N f(x1,x2,...,xn) −→(Max) or (Min), according to the restrictions

  ≤ ≥ = Ngi(x1,x2,...,xn) Nbi, i = 1,2,...,m, 
x1,x2,...,xn ≥0.

In this model, such variables in the objective function and in constraints are neutrosophic values, as well as the second side of the relationships that represent constraints. This model is a nonlinear model if any component of the target function or constraints is a nonlinear statement, and the nonlinear statements may be in both.

Some Important Neutrosophic Definitions in Nonlinear Programming

The Quadratic Form of the Neutrosophic Target Function

A function with variables f(x1,x2,...,xn) is called a quadratic form if the following is true:

n ∑ i=1 n ∑ j=1

(Nqij)xixj = XT(NQ)X.

N f(x1,x2,...,xn) =

Here NQn×n = [Nqij] is a neutrosophic matrix, meaning that all or some of its elements are neutrosophic values of the shape Nqij = qij +εij, where εij is the indeterminism of the elements of the matrix and any neighborhood may be close to qij. It shall be written in one of the forms [λ1ij,λ2ij], {λ1ij,λ2ij}, or otherwise, and XT = (x1,x2,...,xn).

Here we can always assume, without prejudice to the generality of the problem, that NQ is symmetrical. We can replace the matrix NQ with the symmetrical matrix

NQ+NQT without changing the quadratic form.

Basic Minor Neutrosophic Matrices

If the matrix NQ has dimensions n×n, then the basic minimum matrix of rank k is a mini-matrix with k×k dimensions, and we obtain it by neglecting any (n−k) lines and the corresponding columns of the matrix.

Note. The determinant of the basic minor neutrosophic matrix is called the basic determinant, and for each square matrix of rank n×n there are 2n −1 basic determinants.

Main Basic Minor Neutrosophic Matrices

The main basic minor neutrosophic matrices of rank k for a matrix n×n are obtained from the matrix NQ by neglecting the last n−k lines and their corresponding columns.

Example 1. Find the basic minor matrices and the main basic minor matrices from the following neutrosophic matrix:

[0,1] [2,3] [4,5] [6,7] [8,9] [10,11] [12,13] [14,15] [16,17]

Basic minor matrices. Of the first rank, the elements of the main diameter are

[0,1], [8,9], [16,17].

From the second rank, the matrices are

[0,1] [2,3] [6,7] [8,9]

[6,7] [10,11] [12,13] [16,17]

[8,9] [10,11] [14,15] [16,17]

From the third rank, the matrix is NQ.

Main basic minor matrices. From the first rank, the matrix is [0,1] (we neglect the last two lines and the corresponding columns). The main basic minor matrix of the second rank is

[0,1] [2,3] [6,7] [8,9] and the main basic minor matrix of the third rank is NQ.

Note. The number of major basic minor matrices in a matrix n×n is n.

Neutrosophic Function Gradation

For N f(x1,x2,...,xn), the relation defines the neutrosophic function gradient as

∂N f  , ∂N f ,..., ∂N f ∇f(x1,x2,...,xn) = . ∂x1 ∂x2 ∂xn

Hessian Matrix of the Neutrosophic Function

For N f(x1,x2,...,xn), it is a square and symmetrical matrix of rank n×n, denoted by NH(x1,x2,...,xn), and defined by the following relation:

 ∂2N f ∂Nxi∂Nxj

 NH(x1,x2,...,xn) = .

Positive Defined Neutrosophic Matrix

A symmetrical neutrosophic matrix NQ is positively defined if the following is true:

Using the quadratic form, we say that a matrix NQ is positive and defined if and only if

XT(NQ)X > 0 for all X values.

Positive Quasi-Defined Neutrosophic Matrix

A symmetrical neutrosophic matrix NQ is a quasi-positive definition if the following is true:

Using the quadratic form, we say that a matrix NQ is positive quasi-defined if and only if

XT(NQ)X ≥0 for all X values.

Note 1. To prove that a matrix NQ is negative (or negative quasi-defined), −NQ must be positive (or positive quasidefined).

Negative Defined and Quasi-Defined Neutrosophic Matrices

The defined neutrosophic matrix is negative if and only if −NQ is positive and defined, or if the quadratic form satisfies

XT(NQ)X < 0 for all X values.

The quasi-defined neutrosophic matrix is negative if and only if −NQ is positive and defined, or if the quadratic form satisfies

XT(NQ)X ≤0.

Note 2. We say that a matrix Q is not defined if XT(NQ)X is positive for some values and negative for other values.

Note 3. The previous tests apply only to symmetrical matrices. If the matrix NQ is asymmetrical, we replace it with the matrix

NQ−NQT

2 and apply the tests.

Convex and Concave Functions

The function N f is a convex function if the Hessian matrix of this function is positive or quasi-positive and defined for all variables. The function N f is concave if the Hessian matrix of this function is negative or quasi-negative and defined for all variables.

Example 2. Show whether the function N f is convex or concave, where N f is given by the relationship

N f = [3,3.5]x2

1 +4x2 2 +3x2 3 +2x1x2 +3x1x3 +x2x3 −4x1 +5x2 +3x3.

We find the partial derivatives of the function N f with respect to the variables x1,x2,x3:

= 2[3,3.5]x1 +2x2 +3x3 −4,

= 8x2 +2x1 +x3 +5,

= 6x3 +3x1 +x2 +3.

Then we find the Hessian matrix of the function N f:

 ∂2N f ∂Nxi∂Nx j

 HN f (x1,x2,...,xn) =
∂2N f ∂2N f ∂x1∂x2   ∂x2  1 ∂2N f . HN f = ∂x2 2 ∂2N f ∂x3∂x2 ∂2N f ∂x2 3

∂2N f ∂x1∂x3 ∂2N f ∂x2∂x1

 .

∂2N f ∂x2∂x3 ∂2N f ∂x3∂x1

Thus,

[6,7] 2 3 2 8 1 3 1 6

HN f =

We note that HN f is a symmetrical matrix and all diagonal elements are positive. The basic minimum determinants are positive because the main determinant of the third rank is equal to

[6,7] 2 3 2 8 1 3 1 6

= [6,7](8×6−1)−2(2×6−3)

+3(2−3×8) = [198,245] > 0.

The main determinant of the second rank is

= [6,7]×8−4

[6,7] 2 2 8

= [48,56]−4 = [44,52] > 0.

The main determinant of the first rank is |[6,7]| > 0. From the above, we can see that the Hessian matrix of the function N f is positive; that is, the function N f is a convex function.

The Maximum and Minimum Value of a Bound Nonlinear Function

From the previous study, we can determine whether the value of a target function in a nonlinear model is a minimum value or a maximum value as follows:

Current Study

From the information provided in previous studies, we conclude the following. To study unrestricted neutrosophic nonlinear programming problems, we calculate the partial derivatives of the objective function

∂N f , i = 1,2,...,n. ∂xi

We solve the set of equations that we obtain from ∇N f(¯x) = 0. The solution represents a limit point of the function. To determine its type, we find a Hessian matrix and determine its type using the following result.

Result. Assume that ∇N f(¯x) = 0.

We illustrate this with the following example.

Example 3. Find the maximum values of the following neutrosophic function, and then determine its type:

N f = [3,3.5]x2

1 +4x2 2 +3x2 3 +2x1x2 +3x1x3 +x2x3 −4x1 +5x2 +3x3.

Solution. We found that the partial derivatives are as follows (Example 2):

= 2[3,3.5]x1 +2x2 +3x3 −4,

= 8x2 +2x1 +x3 +5,

= 6x3 +3x1 +x2 +3.

We solve the following set of equations:

2[3,3.5]x1 +2x2 +3x3 −4 = 0,

8x2 +2x1 +x3 +5 = 0,

6x3 +3x1 +x2 +3 = 0.

We get ¯x. To determine whether it is a maximum or minimum value, we determine the type of the objective function by testing the Hessian matrix as follows:

 ∂2N f ∂Nxi∂Nx j

 HN f (x1,x2,...,xn) =
∂2N f ∂x1∂x2 ∂2N f   ∂x2  ∂2N f HN f = . ∂x2 2 ∂2N f ∂x3∂x2 ∂2N f ∂x2 3

∂2N f ∂x1∂x3 ∂2N f ∂x2∂x1

 .

∂2N f ∂x2∂x3 ∂2N f ∂x3∂x1

From this,

[6,7] 2 3 2 8 1 3 1 6

HN f =

We found previously (Example 2) that this matrix is positively defined, meaning that the function N f is a convex function.

3. CONCLUSION AND RESULTS

In this research, we presented a study of neutrosophic nonlinear dependencies, and what is mentioned in this research can be used when searching for optimal values for neutrosophic nonlinear models, as there are many practical problems that lead to nonlinear models and we need to obtain optimal solutions to them that take into account all the conditions and fluctuations that face us during the workflow. This is provided to us by the science of neutrosophy through the neutrosophic values that we can use to build neutrosophic nonlinear models, specified through the realistic study of the issues under study.

References

  1. G. V. Reklaitis, A. Ravindran, and K. M. Ragsdell, Engi- neering Optimization: Methods and Applications. New York, NY, USA: Wiley-Interscience, 1983.
  2. J. S. Bakaja, W. Mualla et al., Operations Research Book [Translated into Arabic]. Damascus, Syria: The Arab Center for Arabization, Translation, Authoring and Publishing, 1998.
  3. D. G. Luenberger and Y. Ye, Linear and Nonlinear Programming. New York, NY, USA: Springer Science+Business Media, 2015.
  4. M. D. Al Hamid, Mathematical Programming. Aleppo, Syria: Aleppo University, 2010.
  5. F. Smarandache and M. Jdid, “Research in the field of neutrosophic operations research,” 2023.