Derivative-free methods for mixed-integer nonsmooth constrained optimization

Tommaso Giovannelli, Giampaolo Liuzzi, Stefano Lucidi, Francesco Rinaldi · DOI

Introduction

In many real-world engineering and scientific applications, optimization is performed on "black-box" systems—simulations where inputs are provided and outputs are received, but the underlying equations and their derivatives remain inaccessible. These problems are notoriously difficult because they often involve a "triple threat": mixed-integer variables, nonsmooth functions, and black-box constraints. This paper introduces DFNDFL, a novel derivative-free optimization framework designed to tackle these challenges simultaneously by combining dense search directions for continuous variables with primitive directions for discrete ones.

Problem Formulation and Challenges

Existing optimization methods often struggle when mixed-integer variables, nonsmoothness, and black-box constraints appear together. The challenges are defined as follows:

  1. Mixed-Integer Variables: Parameters can be continuous (e.g., temperature) or discrete (e.g., the number of components), requiring navigation of both Euclidean space and integer lattices.
  2. Nonsmoothness: The objective function may have "kinks" or sharp corners where traditional calculus-based methods fail.
  3. Black-Box Constraints: The feasible region is defined by complex simulations that do not provide gradient information.

The authors aim to fill this gap with a linesearch-based algorithmic framework that ensures convergence to stationary points even in these "noisy" environments.

The DFNDFL Framework

The authors propose two main algorithms: DFNDFL for bound-constrained problems and DFNDFL–CON for problems with general nonlinear constraints. The core innovation lies in a dual-phase search strategy:

Phase 1: Continuous Search with Density

To handle nonsmoothness, the algorithm uses a "Projected Continuous Search." Unlike standard methods that only look along coordinate axes, this approach uses a dense sequence of directions (specifically the Sobol sequence). In nonsmooth optimization, the set of directions that improve the function can be an arbitrarily narrow cone. Using a dense sequence guarantees that, asymptotically, the algorithm will always find a direction within that narrow cone.

Phase 2: Discrete Search with Primitive Directions

To explore the integer lattice, the algorithm employs primitive directions (integer vectors whose components have a greatest common divisor of 1). This allows for a more thorough exploration of the discrete grid than simple coordinate moves, helping the algorithm escape poor local minima and providing a "jump" mechanism to explore the discrete space more aggressively.

Constraint Handling via Exact Penalty

To handle nonlinear constraints without needing their derivatives, the authors embed the problem into an exact penalty function. This transforms the constrained problem into a bound-constrained one, allowing the core DFNDFL machinery to solve it while maintaining theoretical convergence properties toward Clarke-Jahn stationary points.

Experimental Evaluation

The algorithms were evaluated on a comprehensive suite of test problems, including 24 bound-constrained problems and 204 nonlinearly constrained problems. The authors compared their results against several state-of-the-art solvers, including NOMAD (Mesh Adaptive Direct Search), RBFOpt (Radial Basis Function optimization), and MISO.

Key Results

  • Superior Scaling: DFNDFL consistently outperformed benchmarks like NOMAD. Crucially, the performance gap widened as the required accuracy increased (from a tolerance of $10^{-1}$ to $10^{-5}$).
  • Reliability: In the nonlinearly constrained case, DFNDFL–CON proved to be the most reliable algorithm, solving a higher percentage of problems within the 5,000-evaluation budget compared to its competitors.
  • Efficiency: A modified version of the algorithm, which uses coordinate directions first and only resorts to the dense sequence when necessary, showed significant efficiency gains by capturing local function behavior early in the search.

Discussion and Future Work

While the framework is robust, it is primarily a local search method and may still get trapped in local optima for highly non-convex global optimization problems. Additionally, the reliance on dense sequences can be computationally expensive if the black-box function itself takes a very long time to evaluate.

Future directions suggested by the authors include integrating surrogate models (like those used in RBFOpt) into their linesearch framework to boost efficiency for extremely expensive functions. They also aim to explore more sophisticated ways to automatically update penalty parameters for constraints.

Conclusion

DFNDFL provides a theoretically rigorous and numerically efficient solution for mixed-integer nonsmooth constrained optimization. By bridging the gap between mixed-integer programming and nonsmooth analysis, it offers a reliable tool for complex engineering problems where mathematical gradients are unavailable.

Summary updated

BibTeX
@article{giovannelli2022derivative,
  author = {Tommaso Giovannelli and Giampaolo Liuzzi and Stefano Lucidi and Francesco Rinaldi},
  title = {{Derivative-free methods for mixed-integer nonsmooth constrained optimization}},
  journal = {Comput. Optim. Appl.},
  year = {2022},
  doi = {10.1007/s10589-022-00363-1},
}
Figure