Efficient implicit constraint handling approaches for constrained optimization problems

Iman Rahimi, Amir H. Gandomi, Mohammad Reza Nikoo, Mohsen Mousavi, Fang ChenScientific 2024

Abstract

Many real-world optimization problems, particularly engineering ones, involve constraints that make finding a feasible solution challenging. This work extends the boundary update (BU) method, an implicit constraint handling technique that aims to cut the infeasible search space over iterations to find the feasible region faster. In doing so, the search space is twisted, which can make the optimization problem more challenging. In response, two switching mechanisms are implemented that transform the landscape along with the variables back to the original problem when the feasible region is found. To achieve this objective, two thresholds, representing distinct switching methods, are taken into account: Hybrid-cvtol (switching when constraint violations reach zero) and Hybrid-ftol (switching when no further change is observed in the objective space). Benchmarked against standard evolutionary algorithms on engineering design problems, the proposed method significantly boosts convergence speed and solution quality for constrained optimization problems.

Introduction

Real-world engineering design—from car crashworthiness to structural engineering—is defined by constraints. Often, the "feasible region" (the set of designs that satisfy all physical or operational rules) is a tiny, hard-to-find sliver of the total search space. Standard Evolutionary Algorithms (EAs) often struggle in these scenarios, spending excessive computational time just trying to find a single valid solution.

The Boundary Update (BU) method was previously proposed to solve this by "cutting" the infeasible space and narrowing variable bounds. However, BU has a major side effect: it "twists" the mathematical landscape of the problem. While this helps find the feasible region quickly, it can distort the path to the true global optimum, potentially leading to premature convergence.

Methodology

To address the limitations of the standard BU approach, this paper introduces two novel hybrid switching mechanisms:

  1. Hybrid-cvtol (Constraint Violation Tolerance): The algorithm uses the BU method to aggressively hunt for the feasible region. The moment the entire population reaches zero constraint violations, the algorithm "switches off" BU and returns to a standard search landscape to fine-tune the results.
  2. Hybrid-ftol (Objective Function Tolerance): BU is utilized until the change in the objective space (the fitness of the solutions) plateaus. At this point of stability in the "twisted" space, the algorithm transitions to a standard phase.

These mechanisms were integrated into a suite of well-known algorithms, including Genetic Algorithms (GA), Differential Evolution (DE), and Multi-Objective Evolutionary Algorithms like NSGA-II and NSGA-III.

Experimental Setup

The researchers evaluated their approach against a rigorous set of benchmarks:

  • Mathematical Benchmarks: The G1 problem (highly constrained, 13 variables), BNH, and OSY.
  • Engineering Design Problems: Car-side impact design (minimizing weight while meeting safety constraints), speed reducer design, and welded/cantilevered beam design (structural optimization involving stress and deflection limits).

Key Insights: Landscape Warping

The BU method effectively re-maps the search space. The following figure illustrates how this "twisting" focuses the search but changes the contours the algorithm must navigate. The hybrid approach acts as a performance booster by leveraging this warping to find feasibility and then reverting to the original landscape for final optimization.

Contour plot showing how the BU method twists the search space landscape

Results and Discussion

The hybrid approach demonstrated significant advantages across both single- and multi-objective problems:

  • Massive Speedups: In the OSY benchmark, a standard NSGA-II required 1,500 evaluations to find a feasible population. The BU-coupled version achieved this in just 300 evaluations—a 5x improvement in initial convergence.
  • Superior Solution Quality: Across nearly all tests, the hybrid methods found better objective values and more diverse Pareto fronts than either standalone BU or standard EAs. The transition from the warped space back to the original space allows the algorithm to avoid the pitfalls of a distorted landscape while retaining the speed of the initial search.
Comparison of Pareto fronts for multi-objective problems with and without the BU approach
  • Reliability: The hybrid methods produce more consistent results across different random seeds compared to traditional methods, making them more robust for practical engineering applications.

Conclusion

This study demonstrates that the BU method is an excellent "starter" but a poor "finisher." By implementing dynamic switching mechanisms, the proposed hybrid approach captures the rapid feasibility-finding capabilities of BU while ensuring high-quality final solutions. Future work will focus on the scalability of this method to large-scale problems with hundreds of variables and its integration with more modern metaheuristic algorithms.

Summary updated

BibTeX
@inproceedings{rahimi2024efficient,
  author = {Iman Rahimi and Amir H. Gandomi and Mohammad Reza Nikoo and Mohsen Mousavi and Fang Chen},
  title = {{Efficient implicit constraint handling approaches for constrained optimization problems}},
  booktitle = {Scientific},
  year = {2024},
  doi = {10.1038/s41598-024-54841-z},
}
Figure