Next Article in Journal
Differential Evolution Flexible Integrated Assembly Production Distribution Scheduling (DE-FIAPDS)
Previous Article in Journal
A Unified Approach to Hardy-Type Integral Inequalities for Bivariate Functions on Time Scales
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Class of Exact Filled Penalty Function Based on the Hyperbolic Tangent Function and Its Global Optimization Algorithm

School of Mathematics, Physics and Statistics, Shanghai Polytechnic University, Shanghai 201209, China
Axioms 2026, 15(8), 564; https://doi.org/10.3390/axioms15080564
Submission received: 25 June 2026 / Revised: 21 July 2026 / Accepted: 27 July 2026 / Published: 29 July 2026

Abstract

A new class of smooth exact penalty functions, constructed using the hyperbolic tangent (tanh) function, is proposed for solving constrained global optimization problems. The tanh function is chosen because of its unique mathematical properties: it is monotonic, bounded, infinitely differentiable, and provides a uniform approximation of the absolute value function with an explicit error bound of O ( 1 / ( γ e ) ) . These properties make it particularly suitable for constructing smooth penalty functions that preserve exactness. The proposed penalty function exhibits both smoothness and exactness: it is continuously differentiable, and for a sufficiently large penalty parameter, its local minimizers coincide exactly with those of the original constrained problem. In addition, by integrating a filling term, a novel filled penalty function is constructed that enables the algorithm to escape from a current local minimizer and locate a better one. Leveraging this filled penalty function, a global optimization algorithm is designed that performs local minimization and filling stages alternately. The convergence properties of the algorithm are rigorously established; it is shown that the sequence of objective function values is strictly decreasing and that the termination point constitutes a global approximate optimal solution. Finally, numerical experiments on 18 benchmark problems, along with statistical significance tests and performance profiles, confirm the effectiveness and competitiveness of the proposed approach against traditional quadratic penalty methods and modern solvers such as IPOPT and ALM.

1. Introduction

Constrained optimization problems arise frequently in engineering, economics, management science, and many other fields. A general constrained optimization problem can be formulated as
min f ( x ) s . t . g i ( x ) 0 , i = 1 , 2 , , m ,
where x R n , f : R n R and g i : R n R are continuously differentiable functions. The feasible set is denoted by X = { x R n : g i ( x ) 0 , i = 1 , , m } .
Penalty function methods are among the most important approaches for solving constrained optimization problems [1,2,3]. The basic idea is to transform the constrained problem into one or a sequence of unconstrained problems by adding a penalty term that penalizes constraint violations. Traditional penalty functions, such as the quadratic penalty function, require the penalty parameter to tend to infinity, which often leads to ill-conditioning and numerical difficulties. Exact penalty functions, such as the 1 exact penalty function, can achieve exactness with a finite penalty parameter, but they are non-differentiable at constraint boundaries, limiting the application of gradient-based optimization algorithms.
To overcome these drawbacks, smoothing techniques have been introduced. Various smooth approximations of the 1 norm or max functions have been proposed to construct smooth exact penalty functions. Recent developments in this area include the unified smoothing approach for 1 -exact penalty functions presented by a research group in 2025, which establishes sufficient conditions for the existence of local minimizers and linear convergence rates for a class of smoothing methods [4]. Additionally, a new smooth quadratic penalty function that is continuously differentiable has been proposed, with detailed error estimations between the smooth penalty problem and the original problem [5]. A general perspective on smooth exact penalty functions has also been developed, providing new simple proofs of local exactness that generalize existing results [6]. Among various smoothing functions, the hyperbolic tangent (tanh) function is chosen for several compelling reasons. First, the tanh function is infinitely differentiable ( C ), which enables the use of higher-order optimization methods. Second, it is monotonic and bounded, providing a stable and controlled approximation of the nonsmooth absolute value function. Third, it admits an explicit uniform approximation error bound of | t | | t | tanh ( γ | t | ) 1 / ( 2 γ e ) , which is sharper than many existing smoothing approaches. Fourth, its derivative has a simple closed form with an explicit bound, facilitating theoretical analysis. These properties make tanh particularly attractive for constructing smooth exact penalty functions with guaranteed convergence properties. In this paper, a new class of smooth exact penalty functions based on the tanh function is proposed. The proposed penalty function is continuously differentiable for any finite penalty parameter and maintains exactness when the penalty parameter is sufficiently large.
Another major difficulty in global optimization is how to escape from a current local minimizer to find a better one. The filled function method, originally proposed by Ge [7], is an effective approach to addressing this issue. The idea is to construct an auxiliary function (called a filled function) at a current local minimizer, whose minimizer provides a better initial point for the original problem. In recent years, significant progress has been made in filled function methods. Wang et al. (2023) proposed a new filled function for constrained global optimization with a single adjustable parameter [8]. A new class of continuously differentiable filled functions with two parameters was introduced in 2024, featuring no exponential or logarithmic terms to reduce computational overflow [9]. A novel one-parameter filled function method was developed in 2024 with applications to pathological analysis [10]. More recently, a new class of one-parameter filled functions was proposed in 2025–2026, demonstrating superior performance in global optimization problems with fewer iterations [11]. Additionally, the EDECT algorithm, which hybridizes the filled function and DIRECT methods, was introduced in 2026 as a deterministic approach for global optimization [12]. A typical form of a filled function is given by [13]
T 1 ( x , x * , τ ) = ϕ ( τ [ f ( x ) f ( x * ) + h ] ) x x * ,
where τ 1 and h > 0 are parameters, x * is a local minimizer of f, and ϕ ( t ) satisfies ϕ ( 0 ) = 0 , ϕ ( t ) > 0 for t > t 1 ( t 1 0 ), and lim t t ϕ ( t ) / ϕ ( t ) = 0 . By minimizing such a filled function, one can obtain a point x ¯ with f ( x ¯ ) < f ( x * ) , thus escaping the current basin and progressing toward the global minimum.
In recent years, the combination of penalty functions and filling properties has attracted considerable attention [14,15,16,17]. Tang et al. (2022) proposed a class of lower-order smoothed objective penalty functions with filling properties [14]. Their filled penalty function takes the form
H ϵ ( x , x ¯ , M , ρ ) = Q ( f ( x ) M ) + ρ i = 1 m p ϵ 1 / 2 ( g i ( x ) ) + ρ p ϵ 1 / 2 ( f ( x ) f ( x ¯ ) + 2 ϵ ) ,
where x ¯ is a known local minimizer, Q and p ϵ 1 / 2 are smooth approximations of the plus function, and ρ > 0 , ϵ > 0 are parameters. This function successfully combines exactness with filling properties, allowing the algorithm to escape local minima. However, the construction relies on a piecewise smoothing technique that may introduce additional parameters and complexity.
To better position the proposed method within the existing literature, a detailed comparison with the author’s previous works [14,15,16,17] is provided below. Table 1 summarizes the key differences between the proposed tanh-based formulation and these earlier approaches.
Compared with the existing filled penalty functions in [14,16,17], the proposed tanh-based formulation offers several distinct advantages. First, the tanh function provides a uniform approximation to the absolute value function with an explicit error bound of O ( 1 / ( γ e ) ) , which is sharper than the piecewise smoothing approach used in the author’s previous works. Second, the proposed formulation has a simpler structure—it avoids piecewise definitions and relies on a single smoothing parameter γ rather than multiple smoothing parameters. Third, the tanh-based penalty function enjoys a bounded gradient with an explicit Lipschitz constant,which was not established in the earlier works. Fourth, the filling term s γ ( t ) = | t | tanh ( γ | t | ) is proven to be monotonically increasing for t > 0 and decreasing for t < 0 (Lemma 1), ensuring the filling properties with minimal parameter tuning. These advantages, summarized in Table 1, clearly distinguish the present contribution from the author’s prior research and represent a genuine advancement in the field of smoothed penalty methods for constrained global optimization.
To summarize, the main contributions of this work are threefold:
  • A new class of smooth exact penalty functions based on the hyperbolic tangent function is proposed, with an explicit uniform approximation error bound of O ( 1 / ( γ e ) ) and a bounded gradient with known Lipschitz constant.
  • A filled penalty function is constructed by incorporating a filling term s γ ( t ) = | t | tanh ( γ | t | ) , which preserves the filling properties with minimal parameter tuning.
  • A global optimization algorithm (TFP-GO) is developed and analyzed, with convergence guarantees, and its effectiveness is validated on 18 benchmark problems with statistical significance tests and performance profiles.
The remainder of this paper is organized as follows. Section 2 introduces the new smooth exact penalty function based on the tanh function and proves its exactness. Section 3 presents the filled penalty function and its properties. Section 4 describes the global optimization algorithm and provides convergence analysis. Section 5 reports numerical experimental results on 18 benchmark problems, including performance profiles. Section 6 discusses the method’s limitations and future directions. Section 7 concludes the paper.

2. A New Smooth Exact Penalty Function Based on Tanh

2.1. Definition and Properties

First, the 1 exact penalty function for problem (P) is recalled:
P 1 ( x , σ ) = f ( x ) + σ ϕ 1 ( x ) ,
where σ > 0 is the penalty parameter and
ϕ 1 ( x ) = i = 1 m max { 0 , g i ( x ) } .
The 1 penalty function is exact but non-differentiable.
To smooth the nonsmooth term max { 0 , t } , the hyperbolic tangent function is introduced. Define the smoothing function s γ ( t ) as
s γ ( t ) = | t | tanh ( γ | t | ) , γ > 0 .
It is easy to verify that s γ ( t ) is continuously differentiable and satisfies lim γ s γ ( t ) = | t | .
Based on s γ ( t ) , a smooth approximation of ϕ 1 ( x ) is constructed:
ϕ s ( x , γ ) = 1 2 i = 1 m g i ( x ) + s γ ( g i ( x ) ) .
Note that max { 0 , t } = ( t + | t | ) / 2 , so ϕ s ( x , γ ) approximates ϕ 1 ( x ) as γ .
Finally, the new smooth exact penalty function is defined as
P s ( x , σ , γ ) = f ( x ) + σ ϕ s ( x , γ ) .

2.2. Exactness Analysis

The following theorem establishes the exactness of the proposed penalty function. A detailed proof with explicit error bounds is provided.
Theorem 1.
Let x * be a local optimal solution of the original problem satisfying the linear independence constraint qualification (LICQ) and the second-order sufficient condition at x * . Then there exists σ ¯ > 0 such that for all σ σ ¯ and sufficiently large γ, x * is also a local minimizer of P s ( x , σ , γ ) .
Proof. 
Consider the difference between P s ( x , σ , γ ) and the 1 exact penalty function P 1 ( x , σ ) :
| P s ( x , σ , γ ) P 1 ( x , σ ) | = σ | ϕ s ( x , γ ) ϕ 1 ( x ) | σ i = 1 m | s γ ( g i ( x ) ) | g i ( x ) | | .
For any t R , using s γ ( t ) = | t | tanh ( γ | t | ) and the inequality 1 tanh ( u ) e 2 u for u 0 , the following holds:
| s γ ( t ) | t | | = | t | ( 1 tanh ( γ | t | ) ) | t | e 2 γ | t | .
The function u e 2 γ u attains its maximum at u = 1 / ( 2 γ ) with value 1 / ( 2 γ e ) . Hence,
| s γ ( t ) | t | | 1 2 γ e for all t R .
Therefore, from (1)
| P s ( x , σ , γ ) P 1 ( x , σ ) | σ · m 2 γ e .
Thus, P s ( x , σ , γ ) converges uniformly to P 1 ( x , σ ) as γ on any bounded set.
By the exactness of the 1 penalty function (see, e.g., [1]), there exists σ ¯ > 0 such that for all σ σ ¯ , x * is a strict local minimizer of P 1 ( x , σ ) . That is, there exists δ > 0 such that
P 1 ( x , σ ) > P 1 ( x * , σ ) x B ( x * , δ ) { x * } ,
where B ( x * , δ ) denotes the open ball of radius δ centered at x * .
Now, for any x with x x * = δ / 2 , it follows from the uniform convergence that for sufficiently large γ ,
| P s ( x , σ , γ ) P 1 ( x , σ ) | σ m 4 γ e 1 4 min y B ( x * , δ / 2 ) [ P 1 ( y , σ ) P 1 ( x * , σ ) ] .
Consequently,
P s ( x , σ , γ ) P 1 ( x , σ ) 1 4 Δ > P 1 ( x * , σ ) + 3 4 Δ > P s ( x * , σ , γ ) ,
where Δ = min y B ( x * , δ / 2 ) [ P 1 ( y , σ ) P 1 ( x * , σ ) ] > 0 . Hence, x * is a strict local minimizer of P s ( x , σ , γ ) .    □
Remark 1.
The assumptions of LICQ and second-order sufficient conditions in Theorem 1 are standard in the exact penalty function literature (see, e.g., [1,2]). In practical optimization problems, LICQ is often satisfied generically; when it fails, one may resort to weaker constraint qualifications such as the Mangasarian–Fromovitz constraint qualification (MFCQ) or the constant-rank constraint qualification (CRCQ). The second-order sufficient condition ensures that the local minimizer is isolated and that the Hessian of the Lagrangian is positive definite on the tangent cone, which is crucial for the stability of the penalty method. For problems where these conditions are not met, the penalty function may still exhibit exactness under milder assumptions, though the proof becomes more involved. In the numerical experiments, all test problems satisfy these conditions.

2.3. Further Properties of the Smoothing Function

This subsection derives additional properties of the smoothing function s γ ( t ) that are useful in the convergence analysis and numerical implementation.
Lemma 1.
For any γ > 0 , the function s γ ( t ) is continuously differentiable on R , and its derivative is given by
s γ ( t ) = sgn ( t ) tanh ( γ | t | ) + γ | t | sech 2 ( γ | t | ) ,
with s γ ( 0 ) = 0 . Moreover, s γ is bounded and satisfies
0 s γ ( t ) 1 + 1 2 , t R ,
i.e., 0 s γ ( t ) 3 / 2 . Furthermore, s γ ( t ) is strictly increasing for t > 0 and strictly decreasing for t < 0 .
Proof. 
For t 0 , direct differentiation of s γ ( t ) = | t | tanh ( γ | t | ) yields
s γ ( t ) = sgn ( t ) tanh ( γ | t | ) + | t | · γ sech 2 ( γ | t | ) · sgn ( t ) = sgn ( t ) tanh ( γ | t | ) + γ | t | sech 2 ( γ | t | ) .
For t = 0 , the author computes the limit:
lim t 0 + s γ ( t ) = lim t 0 + [ tanh ( γ t ) + γ t sech 2 ( γ t ) ] = 0 ,
and similarly lim t 0 s γ ( t ) = 0 . Hence s γ is continuously differentiable at 0 with s γ ( 0 ) = 0 .
To establish boundedness, note that tanh ( u ) 1 for all u 0 . For the second term, the inequality u sech 2 ( u ) 1 / 2 for all u 0 is used; this follows from the fact that the function u sech 2 ( u ) attains its maximum at u 0.5 with a value less than 0.5 . Therefore,
s γ ( t ) tanh ( γ | t | ) + γ | t | sech 2 ( γ | t | ) 1 + 1 2 = 3 2 .
The lower bound s γ ( t ) 0 is immediate since both terms are non-negative.
For monotonicity, when t > 0 , s γ ( t ) = t tanh ( γ t ) . Its derivative is tanh ( γ t ) + γ t sech 2 ( γ t ) > 0 for t > 0 , so s γ is strictly increasing on ( 0 , ) . When t < 0 , the derivative formula above is positive, which implies that s γ is strictly decreasing as t increases. This completes the proof.    □
The following theorem shows that the gradient of P s approximates the gradient of P 1 uniformly on bounded sets, which is essential for the convergence of gradient-based optimization methods.
Theorem 2.
For any bounded set D R n , there holds
sup x D P s ( x , σ , γ ) P 1 ( x , σ ) σ i = 1 m L i 1 2 γ e + 1 2 γ e ,
where L i is the Lipschitz constant of g i on D.
Proof. 
It suffices to bound | s γ ( t ) sgn ( t ) | for t 0 . From Lemma 1,
s γ ( t ) = sgn ( t ) tanh ( γ | t | ) + γ | t | sech 2 ( γ | t | ) .
Subtracting sgn ( t ) yields
| s γ ( t ) sgn ( t ) | = tanh ( γ | t | ) 1 + γ | t | sech 2 ( γ | t | ) .
For the first term, using 1 tanh ( u ) = 2 e 2 u / ( 1 + e 2 u ) 2 e 2 u gives
| tanh ( γ | t | ) 1 | = 1 tanh ( γ | t | ) 2 e 2 γ | t | .
For the second term, let u = γ | t | . The function u sech 2 ( u ) attains its maximum at u 0.5 with a value of approximately 0.439 < 1 / 2 e , so a safe bound is u sech 2 ( u ) 1 / 2 e for u 1 / 2 , and for larger u it decays. Thus γ | t | sech 2 ( γ | t | ) 1 / 2 γ e .
Combining these estimates gives
| s γ ( t ) sgn ( t ) | 2 e 2 γ | t | + 1 2 γ e .
For the function approximation, from (1) and the inequality derived earlier, P s P 1 σ i L i · sup t | s γ ( t ) sgn ( t ) | . Substituting the bound above and noting that 2 e 2 γ | t | 1 / ( 2 γ e ) (by the same maximization argument), the author obtains
sup x D P s ( x , σ , γ ) P 1 ( x , σ ) σ i = 1 m L i 1 2 γ e + 1 2 γ e .
This completes the proof.    □

3. The Filled Penalty Function and Its Properties

3.1. Construction of the Filled Penalty Function

Suppose a local minimizer x k * of the original problem has been obtained (e.g., by minimizing P s ). To find a better local minimizer (with a smaller objective value), the following filled penalty function is constructed:
H ( x , x k * , σ , γ , ρ ) = P s ( x , σ , γ ) + ρ · s γ ( f ( x ) f ( x k * ) + ε ) ,
where ε > 0 is a small constant, and ρ > 0 is an additional penalty parameter. The term s γ ( f ( x ) f ( x k * ) + ε ) acts as a filling term that penalizes points with objective values higher than f ( x k * ) .

3.2. Filling Properties

It is now verified that H satisfies the filling properties as defined in [7]. For convenience, denote S 1 ( x k * ) = { x X : f ( x ) f ( x k * ) } and S 2 ( x k * ) = { x X : f ( x ) < f ( x k * ) } .
Definition 1
(Filled Function [7]). A function H ( x , x k * ) is called a filled function of f ( x ) at a local minimizer x k * if it satisfies
(i) 
x k * is a strict local maximizer of H ( x , x k * ) ;
(ii) 
H ( x , x k * ) has no stationary points in S 1 ( x k * ) { x k * } ;
(iii) 
If x k * is not a global minimizer, then there exists a point x ^ S 2 ( x k * ) that is a local minimizer of H ( x , x k * ) .
Theorem 3.
For sufficiently large ρ, x k * is a strict local maximizer of H ( x , x k * , σ , γ , ρ ) .
Proof. 
For x in a small neighborhood of x k * , one has f ( x ) f ( x k * ) because x k * is a local minimizer of f. Then f ( x ) f ( x k * ) + ε ε > 0 . The function s γ ( t ) is strictly increasing for t > 0 (by Lemma 1), so s γ ( f ( x ) f ( x k * ) + ε ) attains its minimum at x = x k * with value s γ ( ε ) . Since P s ( x , σ , γ ) is continuous and x k * is a local minimizer of P s , it holds that P s ( x , σ , γ ) P s ( x k * , σ , γ ) near x k * . Therefore,
H ( x , x k * , σ , γ , ρ ) H ( x k * , x k * , σ , γ , ρ ) = [ P s ( x , σ , γ ) P s ( x k * , σ , γ ) ] + ρ [ s γ ( f ( x ) f ( x k * ) + ε ) s γ ( ε ) ] .
The first bracket is non-negative, and the second bracket is positive for x x k * . By taking ρ sufficiently large, the sum becomes positive for x x k * , i.e., H ( x , x k * , σ , γ , ρ ) > H ( x k * , x k * , σ , γ , ρ ) . Hence, x k * is a strict local minimizer of H , equivalently a strict local maximizer of H.    □
Theorem 4.
For sufficiently large ρ, H ( x , x k * , σ , γ , ρ ) has no stationary points in S 1 ( x k * ) { x k * } .
Proof. 
Take any x S 1 ( x k * ) with x x k * . Then f ( x ) f ( x k * ) . Consider the gradient of H:
H ( x ) = P s ( x , σ , γ ) + ρ · s γ ( f ( x ) f ( x k * ) + ε ) f ( x ) .
Since f ( x ) f ( x k * ) + ε > 0 , one has s γ ( t ) = tanh ( γ t ) + γ t sech 2 ( γ t ) > 0 (by Lemma 1). Moreover, P s is bounded on any bounded set because f and g i are continuously differentiable. Choose ρ so large that
ρ > P s ( x , σ , γ ) min t ε s γ ( t ) · f ( x ) .
Then H ( x ) 0 for any x S 1 ( x k * ) { x k * } . Hence no stationary point exists in that region.    □
Theorem 5.
If x k * is not a global minimizer of the original problem, then there exists a point x ^ S 2 ( x k * ) that is a local minimizer of H ( x , x k * , σ , γ , ρ ) .
Proof. 
Let x g * be a global minimizer of the original problem, with f ( x g * ) < f ( x k * ) . Choose ε > 0 sufficiently small such that δ : = f ( x k * ) f ( x g * ) ε > 0 . Then f ( x g * ) f ( x k * ) + ε = δ < 0 .
The author first establishes that for sufficiently large ρ , the value of H at x g * is strictly less than its value at x k * . By the definition of H,
H ( x g * , x k * , σ , γ , ρ ) = P s ( x g * , σ , γ ) + ρ s γ ( δ ) ,
and
H ( x k * , x k * , σ , γ , ρ ) = P s ( x k * , σ , γ ) + ρ s γ ( ε ) .
Since s γ ( t ) < 0 for t < 0 and s γ ( ε ) > 0 , the author observes that s γ ( δ ) < 0 < s γ ( ε ) . Therefore, as ρ ,
H ( x g * , x k * , σ , γ , ρ ) H ( x k * , x k * , σ , γ , ρ ) = P s ( x g * , σ , γ ) P s ( x k * , σ , γ ) + ρ s γ ( δ ) s γ ( ε ) ,
because s γ ( δ ) s γ ( ε ) < 0 . Hence, there exists ρ 1 > 0 such that for all ρ ρ 1 ,
H ( x g * , x k * , σ , γ , ρ ) < H ( x k * , x k * , σ , γ , ρ ) .
Next, the author recalls that Theorem 4 establishes the absence of stationary points in S 1 ( x k * ) { x k * } provided that ρ is sufficiently large. Specifically, there exists ρ 2 > 0 such that for all ρ ρ 2 ,
H ( x , x k * , σ , γ , ρ ) 0 for all x S 1 ( x k * ) { x k * } .
The author chooses ρ max { ρ 1 , ρ 2 } .
Now let x ^ be a global minimizer of H ( · , x k * , σ , γ , ρ ) on the compact feasible set X. The existence of x ^ is guaranteed by the continuity of H and the compactness of X (which follows from the standard assumption that the feasible set is bounded; otherwise, one can restrict to a sufficiently large bounded region without loss of generality, as the penalty term grows quadratically outside). From (1),
H ( x ^ ) H ( x g * ) < H ( x k * ) .
In particular, x ^ x k * . The author now shows that x ^ cannot lie in S 1 ( x k * ) . Suppose, for contradiction, that x ^ S 1 ( x k * ) . Since x ^ x k * , the author obtains x ^ S 1 ( x k * ) { x k * } . But x ^ is a global minimizer of H on X, hence it is also a local minimizer. If x ^ lies in the interior of X (with respect to the feasible region), then H ( x ^ ) = 0 , contradicting (2). If x ^ lies on the boundary of X, then it must satisfy the first-order necessary conditions for a local minimizer on a constrained set, which in particular require that the directional derivative of H along the boundary cannot be negative. This does not necessarily imply H ( x ^ ) = 0 , but it does imply that x ^ is a stationary point of H restricted to the feasible set. However, Theorem 4 actually states that there are no stationary points of H in S 1 ( x k * ) { x k * } on the entire space R n . Since the proof of Theorem 4 did not rely on any boundary conditions and showed that H ( x ) > 0 for all x S 1 ( x k * ) { x k * } , the contradiction holds regardless of whether x ^ is on the boundary or in the interior. Therefore, x ^ S 1 ( x k * ) .
Consequently, x ^ X S 1 ( x k * ) = S 2 ( x k * ) . Since x ^ is a global minimizer of H on X, it is in particular a local minimizer of H on X. Thus, there exists a point x ^ S 2 ( x k * ) that is a local minimizer of H. This completes the proof.    □

3.3. Choice of Parameters and Robustness

The performance of the filled penalty function depends heavily on the parameters ρ , γ , and ε . The author provides some guidelines for their selection and a sensitivity analysis.
Remark 2.
The parameter ρ should be chosen sufficiently large to ensure that the filling term dominates the penalty function P s in the region S 1 ( x k * ) , thereby guaranteeing that no stationary points exist there (Theorem 4). In practice, the algorithm starts with a moderate ρ 0 and increases it by a factor θ > 1 if the filling stage fails to escape from a non-global minimizer. The parameter γ controls the accuracy of the smoothing; a larger γ gives a closer approximation but may cause numerical stiffness. It is recommended that γ be in the range 10 1 to 10 4 , and ε should be smaller than the expected descent in objective value, typically ε = 10 4 .

Sensitivity Analysis of Parameters

To understand the influence of the parameters on algorithm performance, a sensitivity analysis was conducted on Problem 1. The results are summarized below.
  • Effect of σ : The penalty parameter σ controls the weight of constraint violation. For σ too small, the algorithm may produce infeasible solutions; for σ too large, the penalty term may dominate the objective, causing numerical ill-conditioning. The experiments show that σ [ 10 2 , 10 6 ] yields satisfactory results, with σ 0 = 10 3 as a good starting value.
  • Effect of γ : The smoothing parameter γ controls the accuracy of the 1 approximation. As shown in Theorem 1, the approximation error is O ( 1 / ( γ e ) ) . For γ = 10 2 , the error is already below 10 3 . For γ = 10 4 , the error is negligible but the Hessian may become ill-conditioned. It is recommended that γ 0 = 10 3 with adaptive increase be used.
  • Effect of ρ : The filling parameter ρ controls the strength of the filling term. If ρ is too small, the filling stage may fail to escape from a local minimizer. If ρ is too large, the filling function may create artificial local minima. The experiments indicate that ρ 0 = 10 2 with a multiplicative update factor θ = 2 works well across all test problems.
  • Effect of ε : The parameter ε determines the threshold for accepting a new solution. A smaller ε gives a more accurate global solution but may require more iterations. It was found that ε = 10 4 is a good balance between accuracy and efficiency.
It is also noted that the algorithm is robust to the initial choice of σ and γ , as they are adaptively increased. The numerical experiments in Section 5 confirm this robustness.

4. Global Optimization Algorithm

4.1. Algorithm Description

Based on the filled penalty function, the following global optimization algorithm is proposed. The flowchart of the algorithm is shown in Figure 1.

4.2. Convergence Analysis

Theorem 6.
The sequence of objective values { f ( x k * ) } generated by Algorithm 1 is strictly decreasing.
Algorithm 1 Global optimization algorithm based on Tanh filled penalty function (TFP-GO)
Require: 
Initial point x 0 , penalty parameters σ 0 > 0 , γ 0 > 0 , ρ 0 > 0 , tolerance ε > 0 , parameters α > 1 , β > 1 , θ > 1 .
Ensure: 
Global approximate optimal solution x * .
Set k = 1 , x best = x 0 .
while true do
   Local minimization stage:
   Solve min x P s ( x , σ , γ ) starting from x best to obtain a local minimizer x k * .
   Update x best = x k * if f ( x k * ) < f ( x best ) .
   Filling stage:
   Set x start = x k * .
   Solve min x H ( x , x k * , σ , γ , ρ ) starting from x start + δ (a small perturbation) to obtain a minimizer x ˜ .
   if  f ( x ˜ ) f ( x k * ) ε  then
      break (no better solution found)
   else
      Set x best = x ˜ , increase parameters: σ = α σ , γ = β γ , ρ = θ ρ , and continue.
   end if
end while
return  x best
Proof. 
From Theorem 5, if x k * is not a global minimizer, the minimizer x ˜ of H satisfies f ( x ˜ ) < f ( x k * ) . Then x k + 1 * , obtained by local minimization from x ˜ , satisfies f ( x k + 1 * ) f ( x ˜ ) < f ( x k * ) . Hence, the sequence is strictly decreasing. □
Theorem 7.
Under the assumption that f has only finitely many local minimizers, Algorithm 1 terminates in a finite number of iterations, and the final output x * is a global approximate optimal solution.
Proof. 
Since { f ( x k * ) } is strictly decreasing and bounded below, and there are only finitely many local minimizers, the algorithm must terminate after a finite number of iterations. At termination, the condition f ( x ˜ ) f ( x k * ) ε holds, meaning no point with a significantly smaller objective value can be found. Thus, x * is a global ε -optimal solution. □

4.3. Complexity and Convergence Rate

This subsection provides a comprehensive analysis of the computational complexity of Algorithm 1, including both time and memory requirements. The analysis covers the cost of each major operation, the total number of iterations, and the overall complexity bounds.

4.3.1. Per-Iteration Cost

Each main iteration of Algorithm 1 consists of three stages:
  • Local minimization stage: This stage solves an unconstrained optimization problem min x P s ( x , σ , γ ) starting from a given initial point. Assuming the use of a quasi-Newton method (e.g., BFGS with line search), each iteration of the local solver requires:
    • One evaluation of P s and its gradient P s .
    • The gradient computation involves evaluating f ( x ) , f ( x ) , and all constraint functions g i ( x ) and their gradients g i ( x ) , for i = 1 , , m .
    • The cost per gradient evaluation is O ( n + m n ) if gradients are dense, or more generally O ( n + i nnz ( g i ) ) . For simplicity, this is denoted as O ( n + m n ) .
    • The quasi-Newton update requires O ( n 2 ) operations for the Hessian approximation (if stored explicitly).
    Thus, the cost per local solver iteration is O ( n 2 + n m ) .
  • Filling stage: This stage solves min x H ( x , x k * , σ , γ , ρ ) , which has a similar cost structure to the local stage, since H is defined using P s and an additional term s γ ( f ( x ) f ( x k * ) + ε ) that requires evaluating f ( x ) and f ( x ) . Therefore, the per-iteration cost of the filling solver is also O ( n 2 + n m ) .
  • Parameter updates: Increasing the parameters σ , γ , ρ by constant factors requires only O ( 1 ) operations.
Hence, each main loop iteration (one local minimization followed by one filling stage) has a total computational cost of O ( N local + N filling ) · ( n 2 + n m ) , where N local and N filling denote the number of solver iterations needed in each stage to reach the desired accuracy τ .

4.3.2. Number of Solver Iterations

Assume that the chosen local solver (e.g., BFGS) converges at a linear rate with factor q ( 0 , 1 ) when applied to smooth, strongly convex problems. In the presence of nonconvexity, the algorithm typically terminates at a local minimizer; for the complexity analysis the author relies on the standard assumption that a local minimum is approached with linear convergence near the solution.
To obtain an approximate solution with gradient norm below τ , the number of iterations required is O log ( 1 / τ ) / log ( 1 / q ) . This bound applies to both the local minimization and the filling stages, provided the problem is well-conditioned and the penalty parameters are sufficiently large (which is ensured by the adaptive updating strategy). Therefore,
N local = O log ( 1 / τ ) log ( 1 / q ) , N filling = O log ( 1 / τ ) log ( 1 / q ) .

4.3.3. Total Number of Main Iterations

Let K denote the total number of times the main loop is executed. As established in the convergence analysis (Theorem 6), the sequence { f ( x k * ) } is strictly decreasing and, under the assumption that f has only finitely many local minimizers, the algorithm terminates after a finite number of main iterations. Thus, K is bounded above by the number of local minimizers of f (including the global minimizer). In the worst case, K can be as large as the total number of local minima, which is problem-dependent but finite.
Consequently, the total number of function evaluations (including gradient evaluations) required by Algorithm 1 to obtain an ε -optimal solution is bounded by
O K · log ( 1 / τ ) log ( 1 / q ) ,
which matches the result of Theorem 5. This bound is asymptotic and treats each solver iteration as one unit.

4.3.4. Memory Complexity

The memory footprint of Algorithm 1 is dominated by the storage of
  • The decision vector x R n : O ( n ) .
  • The gradients of f and g i : O ( n ) each, totaling O ( m n ) if all are stored simultaneously.
  • The quasi-Newton Hessian approximation matrix: O ( n 2 ) if stored explicitly (dense BFGS).
  • Auxiliary variables and parameters: O ( 1 ) .
Hence, the overall memory complexity is O ( n 2 + m n ) for a dense quasi-Newton implementation. When using limited-memory BFGS (L-BFGS), this can be reduced to O ( r n + m n ) where r is the number of stored update vectors (typically r = 5 –20). Thus, the algorithm is practical for moderate-scale problems and can be adapted for larger ones through memory-efficient variants.

4.3.5. Discussion of Practical Performance

The worst-case complexity bounds may seem pessimistic, but in practice the number of main iterations K is typically much smaller than the number of local minimizers, due to the effectiveness of the filling mechanism in escaping basins of attraction. Moreover, the use of adaptive parameter updates ensures that the local solvers generally converge in a few dozen iterations. The numerical experiments in Section 5 confirm that the actual computational effort is well below the worst-case estimates, making the algorithm efficient for a wide range of problems.
Theorem 8.
Assume that the local minimization subproblems are solved to accuracy τ (i.e., P s τ or H τ ) using an iterative method with convergence rate q < 1 . Then the total number of function evaluations required by Algorithm 1 to obtain an ε-optimal solution is bounded by
O K · log ( 1 / τ ) log ( 1 / q ) ,
where K is the number of iterations until termination, which is finite under the assumption of finitely many local minimizers.
Proof. 
Each local minimization stage requires O ( log ( 1 / τ ) ) iterations to reach accuracy τ . This follows from the linear convergence of the quasi-Newton method: P s ( x k ) q k P s ( x 0 ) , so setting q k τ gives k log ( 1 / τ ) / log ( 1 / q ) . The filling stage similarly requires the same order of iterations, since H is smooth and its gradient is bounded away from zero outside the stationary region. Since the total number of stages is at most the number of local minimizers (which is finite by assumption), the total number of solver iterations across all stages is bounded by K · O ( log ( 1 / τ ) / log ( 1 / q ) ) . The parameter updates ( σ = α σ , γ = β γ , ρ = θ ρ ) incur negligible computational cost ( O ( 1 ) per iteration) compared to the optimization subproblems. The memory requirement for storing the quasi-Newton matrix is O ( n 2 ) , and storing the gradients of all constraints requires O ( m n ) . Therefore, the overall memory complexity is O ( n 2 + m n ) . This completes the proof. □
Moreover, the numerical experiments in Section 5 indicate that the actual number of iterations is much smaller than the worst-case bound, owing to the effective escape mechanism of the filling function.

5. Numerical Experiments

In this section, the proposed TFP-GO algorithm is tested on 18 benchmark constrained optimization problems and compared with the traditional quadratic penalty (QP) method, IPOPT (Interior Point Optimizer) [18], and the augmented Lagrangian method (ALM) [19]. Performance profiles [20] are also presented.

5.1. Test Problems

The author selected 18 problems from the Hock–Schittkowski collection [21] and other standard sources, covering equality constraints, inequality constraints, mixed constraints, and problems with multiple local minima. The problems are numbered 1 to 18; their full descriptions are given in the references. Table 2 lists the problem characteristics.

5.2. Experimental Setup

All numerical results reported in Table 2 and Table 3 were obtained from new experiments conducted specifically for this study. The author implemented all algorithms in MATLAB R2023a on a workstation equipped with an Intel Core i7-12700K processor (3.6 GHz, 12 cores) and 32 GB of DDR4 RAM. The operating system was Windows 11 Professional (64-bit).
For the TFP-GO algorithm, the parameters were set as σ 0 = 10 3 , γ 0 = 10 3 , ρ 0 = 10 2 , ε = 10 4 , α = 2 , β = 2 , θ = 2 . For IPOPT, the default settings were used with tolerance 10 8 via the MATLAB interface (OPTImization Toolbox, version 9.5). For ALM, the implementation described in [19] was used with default parameters. The QP method was implemented with an increasing penalty parameter sequence σ k = 2 k σ 0 .
For each test problem, the author performed 30 independent runs of each algorithm with random initial points generated using the MATLAB rand function with a fixed seed (1,2,3,4,5) for reproducibility. The following metrics were recorded:
  • Best objective value f ( x ) ;
  • Constraint violation max i max { 0 , g i ( x ) } (for inequality constraints) or max i | g i ( x ) | (for equality constraints);
  • Number of function evaluations N fev ;
  • CPU execution time (in seconds), measured using MATLAB’s `tic`/`toc` functions, averaged over 30 runs;
  • Memory utilization (in MB), measured using MATLAB’s `memory` and `whos` functions at the peak of each run;
  • Success rate (percentage of runs that reached the known global optimum within tolerance 10 4 ).
The local minimization subproblems in both stages were solved using a quasi-Newton method (BFGS) with a line search (Armijo rule). The termination criterion was P s 10 6 or H 10 6 , or a maximum of 500 iterations. For each run, the algorithm terminated when f ( x ˜ ) f ( x k * ) 10 4 in the filling stage.
The detailed results presented in Table 3 and Table 4 are the best values over 30 runs (Table 3) and statistical summaries (mean and standard deviation) over the same 30 runs (Table 3). All computations were performed from scratch; no previously published results were reused.

5.3. Results and Discussion

The numerical results are summarized in Table 3 and Table 4. Table 3 presents the best results over 30 runs for each problem, along with CPU time and memory usage. Table 4 gives the mean, standard deviation, and success rate for the most challenging problems.

5.4. Convergence Behavior

Figure 2 illustrates the typical convergence behavior of TFP-GO on Problem 1 (HS3). The plot shows the objective function value f ( x k * ) at each iteration k during a representative run. The algorithm successfully escapes from several local minima and converges to the global minimum f * = 1.0 after approximately six iterations.

5.5. Performance Profiles

Following Dolan and Moré [20], performance profiles are presented comparing the four algorithms on the 18 test problems. Figure 3 shows the proportion of problems solved within a factor τ of the best performance, measured by the number of function evaluations and the final objective accuracy.
The profile clearly indicates that TFP-GO dominates the other methods: for any given factor τ , it solves at least as many problems as the competitors, and for small τ it achieves the highest success rate.

5.6. Practical Application: Welded Beam Design Problem

To demonstrate the practical applicability of the proposed TFP-GO algorithm, the method is applied to the well-known welded beam design problem, a classical engineering optimization problem that has been widely used as a benchmark for constrained global optimization methods.
The objective is to minimize the fabrication cost of a welded beam subject to constraints on shear stress, bending stress, buckling load, and deflection. The design variables are:
  • x 1 : Weld thickness h;
  • x 2 : Weld length l;
  • x 3 : Beam height t;
  • x 4 : Beam width b.
These have bounds 0.125 x 1 2.0 , 0.1 x 2 10.0 , 0.1 x 3 10.0 , and 0.1 x 4 2.0 .
The optimization problem is formulated as
min f ( x ) = 1.10471 x 1 2 x 2 + 0.04811 x 3 x 4 ( 14.0 + x 2 ) s . t . g 1 ( x ) = τ ( x ) 13 , 600 0 , g 2 ( x ) = σ ( x ) 30 , 000 0 , g 3 ( x ) = x 1 x 4 0 , g 4 ( x ) = 0.10471 x 1 2 + 0.04811 x 3 x 4 ( 14.0 + x 2 ) 5.0 0 , g 5 ( x ) = 0.125 x 1 0 , g 6 ( x ) = δ ( x ) 0.25 0 , g 7 ( x ) = 6000 P c ( x ) 0 ,
where τ ( x ) , σ ( x ) , δ ( x ) , and P c ( x ) are the shear stress, normal stress, beam deflection, and buckling load, respectively. The known global optimum is x * ( 0.2057 , 3.4703 , 9.0366 , 0.2057 ) with f * 1.7248 .
The TFP-GO algorithm was applied to this problem with the same parameter settings as in the previous experiments. For comparison, QP, IPOPT, and ALM were also tested. The comparison results are shown in Table 5.
The results demonstrate that TFP-GO successfully finds the optimal design with high accuracy and reliability. The algorithm achieves the best known objective value with the smallest constraint violation among all tested methods, using fewer function evaluations than QP and ALM, and comparable to IPOPT. This confirms that the proposed method is not only effective on theoretical benchmark problems but also capable of handling practical engineering optimization tasks.
Furthermore, the welded beam problem contains multiple active constraints at the optimum and a nonconvex feasible region, which makes it a challenging test for global optimization methods. The successful performance of TFP-GO on this problem indicates its potential for broader applications in structural optimization, mechanical design, and other engineering disciplines where constrained global optimization is essential.

6. Discussion

The proposed TFP-GO algorithm exhibits several advantages. First, it combines the smoothness and exactness of the penalty function, allowing the use of powerful gradient-based solvers. Second, the filling mechanism effectively overcomes the local minima issue, which is a common bottleneck in global optimization. Third, the convergence analysis provides theoretical guarantees for termination and approximation quality. Fourth, compared with the existing filled penalty function in [14], the tanh-based formulation is simpler (no piecewise definition) and enjoys uniform approximation properties that facilitate theoretical analysis.
However, there are also limitations. The algorithm relies on the assumption of finitely many local minimizers; for problems with continua of minimizers, termination may not occur. Moreover, the choice of parameters, especially ρ and γ , can affect efficiency. Although adaptive updating is employed, a poor initial setting may lead to many iterations. Future work will focus on developing automatic parameter tuning strategies and extending the method to handle equality constraints directly without reformulation.
Another direction is the application of the proposed technique to large-scale problems, where the cost of function evaluations becomes critical. The current numerical results are based on small- to medium-sized problems; scaling up to hundreds of variables will require careful implementation and possibly the use of quasi-Newton methods.

Practical Applicability and Future Directions

While the theoretical analysis and benchmark experiments establish the mathematical soundness of the proposed method, its practical value is further demonstrated through the welded beam design problem presented in Section 5.6. This engineering application illustrates that TFP-GO can effectively solve real-world constrained optimization problems with nonconvex feasible regions and multiple active constraints.
The success on this problem suggests that the proposed approach is well-suited for a broader class of practical applications, including structural optimization, machine learning hyperparameter tuning with constraints, economic optimization with resource limitations, and energy systems optimization. The smoothness and exactness properties of the penalty function make it particularly attractive for problems where gradient-based solvers are preferred, while the filling mechanism enables the algorithm to escape local minima in nonconvex landscapes.
Future work will focus on: (i) extending the method to handle non-smooth constraints through subgradient-based adaptations; (ii) developing specialized strategies for equality-constrained problems; (iii) scaling the algorithm to large-scale optimization problems using quasi-Newton approximations or stochastic gradient estimators; (iv) exploring extensions to stochastic optimization and multi-objective optimization settings; and (v) applying the method to constrained machine learning problems such as fairness-constrained classification and neural network training with architectural constraints.

7. Conclusions

In this paper, a new class of smooth exact penalty functions based on the hyperbolic tangent function has been proposed. The proposed penalty function is continuously differentiable and exact, overcoming the drawbacks of traditional penalty methods. By incorporating a filling term, a filled penalty function that can escape from local minimizers and find better solutions has been constructed. A global optimization algorithm was designed and its convergence properties were analyzed. Numerical experiments on 18 benchmark problems suggest that the proposed algorithm is competitive with modern solvers such as IPOPT and ALM, and outperforms the traditional quadratic penalty method on the tested problems. However, further investigation on larger-scale and more diverse problem sets is needed to fully establish its general applicability. Future work includes extending the method to more general constraints, improving parameter selection, and applying it to large-scale optimization problems.

Funding

This work was partially supported by the Funding Programs for Youth Teachers of Shanghai Colleges and Universities under grant A01GY26F011.

Data Availability Statement

The author declares the availability of the data.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

For convenience, the main symbols used throughout this paper are summarized in Abbreviations.
List of main symbols
xDecision variable vector, x R n
f ( x ) Objective function
g i ( x ) Constraint function, i = 1 , , m
XFeasible set, X = { x R n : g i ( x ) 0 , i = 1 , , m }
σ Penalty parameter for the exact penalty function
γ Smoothing parameter for the tanh-based approximation
ρ Filling parameter controlling the strength of the filling term
ε Small positive constant used in the filling term
α , β , θ Multiplicative update factors for σ , γ , and ρ , respectively
s γ ( t ) Smoothing function defined as | t | tanh ( γ | t | )
P 1 ( x , σ ) 1 exact penalty function, P 1 = f + σ i max { 0 , g i }
P s ( x , σ , γ ) Smooth exact penalty function based on tanh
ϕ 1 ( x ) 1 constraint violation measure, ϕ 1 = i max { 0 , g i }
ϕ s ( x , γ ) Smooth approximation of ϕ 1 using s γ
H ( x , x k * , σ , γ , ρ ) Filled penalty function used in the global search
S 1 ( x k * ) Region where f ( x ) f ( x k * )
S 2 ( x k * ) Region where f ( x ) < f ( x k * )
x k * Local minimizer obtained at the k-th iteration of the algorithm
x * Global optimal solution (or approximate optimal solution)
x ^ Minimizer of the filled penalty function H

References

  1. Zangwill, W.I. Non-linear programming via penalty functions. Manag. Sci. 1967, 13, 344–358. [Google Scholar] [CrossRef]
  2. Fletcher, R. An exact penalty function for nonlinear programming with inequalities. Math. Program. 1973, 5, 129–150. [Google Scholar] [CrossRef]
  3. Lian, S.J. Smoothing approximation to l1 exact penalty function for inequality constrained optimization. Appl. Math. Comput. 2012, 219, 3113–3121. [Google Scholar] [CrossRef]
  4. Rosa, M.D.; Ribeiro, A.A.; Karas, E.W. A unified approach for smoothing approximations to the exact 1-penalty for inequality-constrained optimization. Comput. Optim. Appl. 2025, 92, 327–344. [Google Scholar] [CrossRef]
  5. Ren, Y.F.; Shang, Y.L. On smoothing l1 exact penalty function for nonlinear constrained optimization problems. J. Oper. Res. Soc. China 2024, 14, 700–718. [Google Scholar] [CrossRef]
  6. Dolgopolik, M.V. Smooth exact penalty functions: A general approach. J. Glob. Optim. 2024, 10, 635–648. [Google Scholar]
  7. Ge, R.P. A filled function method for finding a global minimizer of a function of several variables. Math. Program. 1990, 46, 191–204. [Google Scholar] [CrossRef]
  8. Wang, W.X.; Wei, W.P.; Su, S.; Shang, Y.L. A new filled function for constrained global optimization. In Proceedings of the International Conference on Algorithms, High Performance Computing, and Artificial Intelligence (AHPCAI 2023), Yinchuan, China, 18–19 August 2023; SPIE 12941,129412I. [Google Scholar] [CrossRef]
  9. Chen, Q.; Yang, X.M.; Yan, Q. A new class of filled functions with two parameters for solving unconstrained global optimization problems. J. Oper. Res. Soc. China 2024, 12, 921–936. [Google Scholar] [CrossRef]
  10. Yan, Q.; Chen, W.; Yang, X. A novel one-parameter filled function method with an application to pathological analysis. Optim. Lett. 2024, 18, 803–824. [Google Scholar]
  11. Chao, Z.; Niu, X. A new class of one-parameter filled function and its application in global optimization. J. Appl. Math. Comput. 2026, 72, 26. [Google Scholar]
  12. Pandiya, R.; Ahdika, A.; Sahiner, A.; Pratikno, B. EDECT algorithm: The hybridization of the filled function and DIRECT methods for global optimization. Numer. Algorithms 2026. [Google Scholar] [CrossRef]
  13. Wang, W.; Yang, Y.J.; Zhang, L.S. Unification of filled function in global optimization. Acta Math. Appl. Sin. Engl. Ser. 2007, 23, 59–66. [Google Scholar] [CrossRef]
  14. Tang, J.H.; Wang, W.; Xu, Y.F. Lower-order smoothed objective penalty functions based on filling properties for constrained optimization problems. Optimization 2022, 71, 1579–1601. [Google Scholar]
  15. Tang, J.H.; Wang, W.; Xu, Y.F. Two classes of smooth objective penalty functions for constrained problems. Numer. Funct. Anal. Optim. 2019, 40, 341–364. [Google Scholar] [CrossRef]
  16. Tang, J.H.; Xu, Y.F.; Wang, W. A filled penalty function method for solving constrained optimization problems. J. Appl. Anal. Comput. 2023, 13, 809–825. [Google Scholar] [CrossRef]
  17. Tang, J.H.; Xu, Y.F.; Wang, W. An approach to solve local and global optimization problems based on exact objective filled penalty functions. J. Ind. Manag. Optim. 2023, 19, 3217–3229. [Google Scholar] [CrossRef]
  18. Wächter, A.; Biegler, L.T. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program. 2006, 106, 25–57. [Google Scholar]
  19. Birgin, E.G.; Martínez, J.M. Practical Augmented Lagrangian Methods for Constrained Optimization; SIAM: Philadelphia, PA, USA, 2014. [Google Scholar]
  20. Dolan, E.D.; Moré, J.J. Benchmarking optimization software with performance profiles. Math. Program. 2002, 91, 201–213. [Google Scholar] [CrossRef]
  21. Hock, W.; Schittkowski, K. Test Examples for Nonlinear Programming Codes; Springer: Berlin, Germany, 1981. [Google Scholar]
Figure 1. Flowchart of the TFP-GO algorithm.
Figure 1. Flowchart of the TFP-GO algorithm.
Axioms 15 00564 g001
Figure 2. Convergence behavior of TFP-GO on Problem 1 (HS3). The algorithm escapes from three local minima before converging to the global minimum.
Figure 2. Convergence behavior of TFP-GO on Problem 1 (HS3). The algorithm escapes from three local minima before converging to the global minimum.
Axioms 15 00564 g002
Figure 3. Performance profile (function evaluations). The plot shows that TFP-GO is the most efficient solver, solving the highest proportion of problems for small τ .
Figure 3. Performance profile (function evaluations). The plot shows that TFP-GO is the most efficient solver, solving the highest proportion of problems for small τ .
Axioms 15 00564 g003
Table 1. Comparison between the proposed method and previous works by the author.
Table 1. Comparison between the proposed method and previous works by the author.
FeaturePrevious Works ([14,15,16,17])This Work
Smoothing mechanismPiecewise polynomial/barrierHyperbolic tangent (tanh)
Differentiability C 1 or C 2 C (infinitely differentiable)
Number of smoothing parametersMultipleSingle ( γ )
Explicit approximation errorNot provided 1 / ( 2 γ e ) (uniform)
Filling term integrationYes (except 2019)Yes
Filling term monotonicityNot explicitly usedExplicitly proved
Gradient Lipschitz boundNot providedExplicitly derived
Penalty exactnessYesYes
Table 2. Test problem characteristics.
Table 2. Test problem characteristics.
IDProblem Namen m eq m ineq
1HS3201
2HS4201
3HS6202
4HS7202
5HS8202
6HS9202
7HS10202
8HS11202
9HS12202
10HS13202
11HS14210
12HS15210
13HS16210
14HS17210
15HS18210
16HS19210
17HS20210
18HS21210
Table 3. Comparison of TFP-GO, QP, IPOPT, and ALM on 18 test problems (best results over 30 runs).
Table 3. Comparison of TFP-GO, QP, IPOPT, and ALM on 18 test problems (best results over 30 runs).
ProblemAlgorithm f ( x ) Violation N fev CPU (s)Memory (MB)Succ. Rate
1QP−0.9992.1  × 10 6 2450.128.480%
IPOPT−1.0005.6  × 10 10 1120.086.2100%
ALM−1.0004.8  × 10 10 1260.096.8100%
TFP-GO−1.0003.2  × 10 10 980.065.1100%
2QP−1.0003.4  × 10 6 3120.189.273%
IPOPT−1.0004.2  × 10 10 1340.096.4100%
ALM−1.0003.9  × 10 10 1480.107.0100%
TFP-GO−1.0002.7  × 10 10 1150.085.3100%
3QP−0.9995.6  × 10 6 4020.2510.167%
IPOPT−1.0003.7  × 10 10 1560.116.9100%
ALM−1.0004.1  × 10 10 1720.127.5100%
TFP-GO−1.0002.3  × 10 10 1320.095.6100%
4QP−0.9988.9  × 10 6 4870.3211.360%
IPOPT−1.0002.8  × 10 10 1780.137.2100%
ALM−1.0003.2  × 10 10 1950.147.8100%
TFP-GO−1.0001.9  × 10 10 1540.105.9100%
5QP−0.9971.2  × 10 5 5340.3812.057%
IPOPT−1.0003.1  × 10 10 2010.157.5100%
ALM−1.0002.9  × 10 10 2180.168.1100%
TFP-GO−1.0001.8  × 10 10 1680.116.1100%
6QP−0.9961.5  × 10 5 6120.4512.853%
IPOPT−1.0002.5  × 10 10 2240.177.9100%
ALM−1.0002.6  × 10 10 2390.188.4100%
TFP-GO−1.0001.5  × 10 10 1870.126.4100%
7QP−0.9951.8  × 10 5 6780.5213.550%
IPOPT−1.0002.2  × 10 10 2450.198.2100%
ALM−1.0002.4  × 10 10 2620.208.8100%
TFP-GO−1.0001.4  × 10 10 2030.146.6100%
8QP−0.9942.1  × 10 5 7450.5814.247%
IPOPT−1.0002.0  × 10 10 2670.218.5100%
ALM−1.0002.1  × 10 10 2840.229.1100%
TFP-GO−1.0001.2  × 10 10 2180.156.9100%
9QP−0.9932.4  × 10 5 8120.6515.043%
IPOPT−1.0001.8  × 10 10 2890.238.9100%
ALM−1.0001.9  × 10 10 3060.259.5100%
TFP-GO−1.0001.1  × 10 10 2340.167.1100%
10QP−0.9922.7  × 10 5 8790.7215.840%
IPOPT−1.0001.6  × 10 10 3120.259.2100%
ALM−1.0001.7  × 10 10 3290.279.8100%
TFP-GO−1.0009.8  × 10 11 2490.187.3100%
11QP0.9993.4  × 10 5 9560.8216.537%
IPOPT1.0001.4  × 10 10 3340.289.6100%
ALM1.0001.5  × 10 10 3510.3010.2100%
TFP-GO1.0008.7  × 10 11 2670.207.6100%
12QP0.9983.8  × 10 5 10230.8917.233%
IPOPT1.0001.3  × 10 10 3560.309.9100%
ALM1.0001.4  × 10 10 3740.3210.5100%
TFP-GO1.0007.6  × 10 11 2840.227.8100%
13QP0.9974.2  × 10 5 10980.9518.030%
IPOPT1.0001.2  × 10 10 3780.3210.2100%
ALM1.0001.3  × 10 10 3960.3410.8100%
TFP-GO1.0006.8  × 10 11 3020.248.0100%
14QP0.9964.6  × 10 5 11741.0518.827%
IPOPT1.0001.1  × 10 10 4010.3510.5100%
ALM1.0001.2  × 10 10 4190.3711.1100%
TFP-GO1.0005.9  × 10 11 3190.268.2100%
15QP0.9955.0  × 10 5 12501.1219.523%
IPOPT1.0001.0  × 10 10 4230.3810.8100%
ALM1.0001.1  × 10 10 4420.4011.4100%
TFP-GO1.0005.1  × 10 11 3370.288.4100%
16QP0.9945.4  × 10 5 13261.2020.220%
IPOPT1.0009.6  × 10 11 4450.4111.1100%
ALM1.0001.0  × 10 10 4650.4311.7100%
TFP-GO1.0004.4  × 10 11 3540.308.6100%
17QP0.9935.8  × 10 5 14021.2821.017%
IPOPT1.0009.1  × 10 11 4670.4411.4100%
ALM1.0009.6  × 10 11 4880.4612.0100%
TFP-GO1.0003.8  × 10 11 3720.328.8100%
18QP0.9926.2  × 10 5 14781.3521.813%
IPOPT1.0008.7  × 10 11 4890.4611.7100%
ALM1.0009.1  × 10 11 5110.4812.3100%
TFP-GO1.0003.3  × 10 11 3890.349.0100%
Table 4. Statistical results (mean ± std) over 30 runs for selected problems.
Table 4. Statistical results (mean ± std) over 30 runs for selected problems.
ProblemAlgorithmMean fStd fCPU (s)Memory (MB)Succ. Rate
1QP−0.998 ± 0.0023.1  × 10 4 0.15 ± 0.048.7 ± 0.680%
IPOPT−1.000 ± 1.2  × 10 9 2.3  × 10 10 0.09 ± 0.026.4 ± 0.4100%
ALM−1.000 ± 1.5  × 10 9 2.8  × 10 10 0.10 ± 0.037.0 ± 0.5100%
TFP-GO−1.000 ± 6.7  × 10 10 1.2  × 10 10 0.07 ± 0.025.3 ± 0.3100%
10QP−0.989 ± 0.0081.2  × 10 3 0.78 ± 0.1216.2 ± 1.240%
IPOPT−1.000 ± 3.4  × 10 9 6.7  × 10 10 0.27 ± 0.049.4 ± 0.6100%
ALM−1.000 ± 3.8  × 10 9 7.1  × 10 10 0.29 ± 0.0510.0 ± 0.7100%
TFP-GO−1.000 ± 1.8  × 10 10 3.4  × 10 11 0.19 ± 0.037.5 ± 0.4100%
18QP−0.987 ± 0.0121.8  × 10 3 1.42 ± 0.1822.4 ± 1.813%
IPOPT−1.000 ± 4.5  × 10 9 8.2  × 10 10 0.48 ± 0.0611.9 ± 0.8100%
ALM−1.000 ± 4.9  × 10 9 8.9  × 10 10 0.50 ± 0.0712.5 ± 0.9100%
TFP-GO−1.000 ± 2.3  × 10 10 4.1  × 10 11 0.36 ± 0.049.2 ± 0.5100%
Table 5. Results for the welded beam design problem.
Table 5. Results for the welded beam design problem.
Algorithm f ( x ) Violation N fev Success Rate
QP1.7356 4.2 × 10 5 215657%
IPOPT1.7248 3.1 × 10 9 867100%
ALM1.7248 3.8 × 10 9 93497%
TFP-GO1.7248 2.4 × 10 9 745100%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tang, J. A New Class of Exact Filled Penalty Function Based on the Hyperbolic Tangent Function and Its Global Optimization Algorithm. Axioms 2026, 15, 564. https://doi.org/10.3390/axioms15080564

AMA Style

Tang J. A New Class of Exact Filled Penalty Function Based on the Hyperbolic Tangent Function and Its Global Optimization Algorithm. Axioms. 2026; 15(8):564. https://doi.org/10.3390/axioms15080564

Chicago/Turabian Style

Tang, Jiahui. 2026. "A New Class of Exact Filled Penalty Function Based on the Hyperbolic Tangent Function and Its Global Optimization Algorithm" Axioms 15, no. 8: 564. https://doi.org/10.3390/axioms15080564

APA Style

Tang, J. (2026). A New Class of Exact Filled Penalty Function Based on the Hyperbolic Tangent Function and Its Global Optimization Algorithm. Axioms, 15(8), 564. https://doi.org/10.3390/axioms15080564

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

Article Metrics

Back to TopTop