The landscapes
Before a solver meets a design problem, it is tested on mathematical functions whose every hill and valley is known. This page shows six classic single-objective surfaces with a search running on them, the classic two-objective ZDT set, and where such tests stop being useful.
Illustrative run: a textbook algorithm (20 points, two variables, fixed seed) written for this page, not a SilverHawk solver. White dots are the current points, the coloured line follows the best point found so far. New run changes the seed.
Each function is defined for any number of variables; the surfaces show two, the most a screen can draw. Heights are normalised per function, and Rosenbrock is compressed so that its valley stays visible. The white marker is the global minimum. The search runs use the drawn domain and two variables; the readout shows the real number of evaluations, best value and position at each iteration. Try the same function with PSO, DE and random search: on Rastrigin, for instance, a swarm can settle in a local trap that another seed avoids. Particle swarm: Kennedy and Eberhart (1995), with inertia weight (Shi and Eberhart, 1998); differential evolution, DE/rand/1/bin: Storn and Price (1997).
Single-Objective Benchmark Component
SilverHawk includes a native benchmark component for classic synthetic functions (shown configured as Sphere: 1vars). It evaluates analytical landscapes (Sphere, Rastrigin, Rosenbrock, Ackley, Griewank, Beale, Step) in microseconds, allowing users to benchmark algorithms, test exploratory swarms, and tune hyperparameters directly on the Grasshopper canvas without simulation latency.
When there is more than one objective
Design problems rarely ask for one number. Energy against cost, daylight against overheating: the answer is a set of trade-offs, the Pareto front. The classic multi-objective test set is ZDT (Zitzler, Deb and Thiele, 2000). Each problem has two objectives, f₁ and f₂, and a front whose shape is known exactly.
A ZDT problem cannot be drawn as a surface like the ones above: the standard versions have 30 or 10 variables, and every design has two scores instead of one. So it is drawn as two plots side by side. On the left, the decision space: the variables of each design (here only two, so that it fits on a page). On the right, the objective space: what those designs score. One design is one dot on each side. The grey cloud is where 700 random designs fall; the thick line is the true front, the best trade-offs that exist.
Decision space · x₁ and x₂
Objective space · f₁ and f₂ (minimise both)
random designscurrent populationtrue Pareto front / sethypervolume of the current best setreference point (1.1, 1.1)
Illustrative run: textbook NSGA-II (Deb et al., 2002; population 40, 80 generations, two variables, fixed seed) written for this page, not SilverHawk’s code. The standard problems use 30 variables (ZDT1–3) or 10 (ZDT4, ZDT6); ZDT5 is binary and is not shown. Hypervolume is measured against the reference point (1.1, 1.1) and compared with the value of the true front.
Multi-Objective Benchmark Component (ZDT Suite)
For multi-objective benchmarking, SilverHawk provides a dedicated component implementing the classic ZDT test suite (ZDT1, ZDT2, ZDT3, ZDT4, ZDT6, shown configured as ZDT1: 1D 2obj). It computes conflicting objectives simultaneously in microseconds, allowing direct tracking of Pareto front evolution, generational distance, and hypervolume convergence on the Grasshopper canvas.
Why we use them
A synthetic function costs microseconds to evaluate and its answer is known exactly. That makes it possible to run an algorithm thousands of times with different random seeds, to sweep its parameters, and to switch single mechanisms on and off to see what each one contributes. Each surface isolates a difficulty: a narrow curved valley, a field of local traps, a plateau with no slope, a best basin hidden far from the centre.
This is how the original hybrid algorithms in SilverHawk were designed and tuned, among other test problems: components and parameters were chosen on landscapes like these, where a failure can be traced to its cause.
Why they are not enough
Architectural design optimisation (ADO) problems are a different kind of object. Nothing in the table below is an exotic case; it is the ordinary situation in a Grasshopper definition.
| Synthetic function | ADO problem | |
|---|---|---|
| One evaluation | Microseconds | Seconds to minutes: a daylight, energy or structural simulation |
| Budget | Effectively unlimited | Small, so wall-clock time matters as much as the number of evaluations |
| Landscape | Analytic and known | Unknown, possibly noisy, discontinuous, with infeasible regions |
| Variables | Continuous, in a box | Continuous and discrete mixed, linked by geometry |
| Optimum | Known in advance | Unknown; a good and varied set of alternatives is often the real goal |
| Objectives | Usually one | Often several, in conflict |
How the two serve each other
A synthetic function tells you whether a mechanism works in isolation: whether it escapes a trap, follows a valley, copes with a plateau. An ADO problem tells you whether that mechanism is useful. Neither is sufficient alone. Results that stay on the benchmarks may never transfer to real design work, while real cases are too expensive to repeat often enough for sound statistics.
For this reason the SilverHawk studies pair synthetic suites with architectural cases, and report what changes between them. The recurring finding is the one the No Free Lunch theorem predicts: no single solver wins on every landscape, which is why the plug-in offers many.
References
Metaheuristics & Foundations
- Particle swarm optimization. Proc. IEEE Int. Conf. Neural Networks, 1942–1948. doi ↗
- A modified particle swarm optimizer. IEEE World Congress on Comput. Intelligence, 69–73. doi ↗
- Differential Evolution – A Simple and Efficient Heuristic for Global Optimization. J. Global Optimization 11, 341–359. doi ↗
Multi-Objective Suites & Theory
- Comparison of Multiobjective Evolutionary Algorithms: Empirical Results. IEEE Trans. Evolutionary Computation 4(2), 173–187. doi ↗
- A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 6(2), 182–197. doi ↗
- No free lunch theorems for optimization. IEEE Trans. Evolutionary Computation 1(1), 67–82. doi ↗
Continue exploring
A building with 22 variables
A daylight and energy problem with three objectives, made repeatable with surrogate models.
Open lesson →A free-form shell with 85 variables
The Kakamigahara roof, a structural benchmark used for almost two decades, with a model you can rotate.
Open lesson →The Travelling Salesman on canvas
Discrete ordering in Grasshopper: the DataTree branch bias of the SilverEye tutorial, and how a normalized permutation encoding reveals true solver capability.
Open lesson →Two ways to spend a budget
How population-based metaheuristics and surrogate models spend evaluation budgets differently, and why SilverHawk is developing a native RBF solver.
Read deep dive →