arXiv(opens in a new tab)cs.NEOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.22397

When the implementation matters more than the algorithm: NSGA-II and other multi-objective optimizers in engineering design tools

Luciano Ambrosini

Abstract

Engineering design tools increasingly embed optimizers as ready-made components that users select by algorithm name, while operator settings and bound, integer and duplicate handling stay fixed inside each tool. This study tests whether the name predicts the result. A tool-agnostic harness exposes one deterministic black box, an emulator of a published 22-variable mixed-integer building-performance problem, to the native optimizers of three Grasshopper plug-ins, to canonical NSGA-II, SMS-EMOA and GDE3 from Python libraries, and to the model-based RBFMOpt. Eighteen configurations were run at 5,000 evaluations under three population allocations, with statistics fixed in advance. Four NSGA-II implementations differed by up to 5% in hypervolume, more than three canonical algorithms of different families differed from one another, and their response to population size differed by up to 10 percentage points; for two MOEA/D implementations, by 28. On ZDT test functions the same NSGA-II implementations differed up to 470-fold in IGD. An ablation in one open-source NSGA-II reproduced the behaviour of one tool from its documented settings but not the gaps of the other two, so documented parameters do not identify an implementation. Counting the budget in wall-clock time reversed the ranking of the model-based optimizer, and reporting the final population instead of the archive understated some configurations by up to a third; most differences fell below the surrogate's error. For optimizers embedded in design-support systems, the implementation is part of the method; a reporting checklist is derived: implementation and version, effective settings, budget in time and evaluations, and archive-based indicators.

Keywords: Multi-objective optimization; NSGA-II; Implementation divergence; Reproducibility; Benchmarking; Architectural design optimization; Surrogate model

1. Introduction

Optimization reaches most designers as a component of a design environment rather than as a library. Such environments act as design-support systems in which the optimizer is one embedded component among geometry, simulation and visualization, and the user interacts with it through a small interface rather than through code. In parametric tools such as Grasshopper, the user drags an optimizer onto the canvas, connects the design variables and the objectives, and chooses an algorithm from a list of names: NSGA-II, MOEA/D, a differential-evolution or a model-based method. The operator settings, the handling of bounds and integer variables and the treatment of duplicate solutions are fixed by the plug-in and are rarely visible in its interface. Studies that use these tools typically report the algorithm name, keep the defaults and present the final population of a single run [1, 2]. This practice assumes that the name of an algorithm identifies its behaviour.

The evolutionary computation community has shown that this assumption is fragile. Results depend on implementation details that publications often omit [3, 4], and properties of an implementation can bias benchmark conclusions without the algorithm itself being at fault [5, 6]. The handling of out-of-bound solutions alone changes the behaviour of differential evolution and particle swarm optimization [7–9], and implementations of NSGA-II, GDE3 and MOEA/D in different optimization frameworks give significantly different results under nominally identical settings [10], as do single-objective algorithms [11]. These studies concern libraries used by optimization researchers on analytic test functions, where the settings can be inspected and changed. Engineering design software differs in three respects: the user cannot inspect or change most settings, different tools offer the same algorithm with different defaults, and what matters is the consequence in the units of the design problem. Whether implementation then matters as much as the choice of algorithm, whether the documented settings explain the differences, and whether they change a design has not been measured in a controlled way. What is missing is a test of optimizers as they are deployed in design systems, rather than as they are published.

Building performance optimization is a demanding test case. Energy demand, thermal comfort and daylight conflict, so the designer needs a set of trade-offs, and population-based metaheuristics, above all NSGA-II [12], are the default in research and practice [13, 14]. Benchmarks on building problems have compared global search algorithms [15, 16] and model-based against population-based methods at small budgets [17–19]; like most benchmarks, they compare algorithms by name. Machine-learning surrogates now replace the building simulation in many studies [20], and evaluations that cost milliseconds change the computational picture: thousands of evaluations are affordable, repeated runs fit in a working session, and the overhead of the optimizer can dominate the run time [17].

Zorn et al. [2] published a problem that makes a controlled comparison possible: a 22-variable, mixed-integer shoebox office with total energy demand, overheating degree-hours and daylight factor as objectives, a surrogate version and the full data set [21]. This paper uses an emulator of that surrogate as one deterministic black box, queried identically by every optimizer, so that any difference in outcome comes from the optimizer and its implementation and not from the evaluation. Four questions are asked:

• RQ1. Does the algorithm or its implementation decide the result? NSGA-II is run in four independent implementations, MOEA/D and GDE3 in two.

• RQ2. Does advice on the population allocation transfer between implementations of the same algorithm?

• RQ3. How do the rankings change when the budget is counted in wall-clock time instead of evaluations?

• RQ4. How much do the reported set and the indicator change the conclusions, and are the differences large enough to change a design?

The contributions are: (i) a tool-agnostic evaluation harness in which the native optimizers of three Grasshopper plug-ins and three canonical library algorithms query the same emulator, with C# and NumPy inferencers that agree to 10−1210^{-12} (Section 2); (ii) a controlled comparison of eighteen configurations at three population allocations under a statistical protocol fixed before the final campaign, together with a side-by-side account of the settings that differ between implementations of the same algorithm, a check of the implementation contrasts on analytic test functions, and an ablation that tests whether the documented settings explain the differences (Sections 3–6); (iii) an analysis of the differences in design terms, against the error of the surrogate, and of whether rankings on analytic test functions transfer to the building problem (Sections 5.4–5.7); and (iv) a reporting checklist for optimizers embedded in design software, derived from these results (Section 6.4). In line with the no-free-lunch argument [22] and benchmarking guidance [4, 23], the conclusions on algorithm rankings are specific to this problem class; the findings on implementation, budget and reporting concern the software and transfer to any tool that exposes optimizers by name. All evaluations, the emulator and the analysis code are released, and every configuration except those of the not-yet-released SilverHawk plug-in can be re-run.

References (53)