Skip to content

The Solver Panel ​

The SilverHawk solver panel opens from the SH_Solver component and contains two main tabs: Settings and Optimization.

The panel header displays the current version (v0.6.36), the run status badge (IDLE, RUNNING, DONE, CONVERGED, STOPPED, REINSTATED), and a badge (SO or MO) indicating the problem type detected from the connected objectives.

The panel refreshes automatically when wires or objective settings change on the canvas. Clicking Refresh at the bottom forces an immediate manual refresh, while Defaults restores standard parameters.


Algorithm Selection & STRIKE Modes ​

The Algorithm drop-down lists all optimization algorithms available for the detected problem type, organized into three groups:

  • Hyper-heuristic
  • Evolutionary
  • Swarm Intelligence

A star (★) marks the algorithms recommended for the detected problem type. Below the selector, a short description summarizes the algorithmic mechanics.

Solver Panel Overview
Figure 1: The SilverHawk Solver Panel interface.

STRIKE Operational Modes ​

When selecting STRIKE (for single-objective) or STRIKE-MO (for multi-objective), the Mode selector appears with three distinct strategies:

  1. AutoSelect: Candidate algorithms are evaluated during an initial warm-up phase; the top-performing algorithm then takes over for the remainder of the run. The final report explicitly indicates which standalone algorithm to use next time.
  2. Bandit: Online adaptive selection. The choice among candidate algorithms is continuously revised during the entire run with bandit-style credit assignment. This is the only STRIKE mode that behaves as an online bandit; AutoSelect, the default, selects once after the warm-up.
  3. Scout: A diagnostic benchmarking mode that tests candidate algorithms with hyperparameter settings adapted to the problem dimensionality, recommending which solvers are best suited for the active landscape.

FAIR BENCHMARK BUDGET

Checking Fixed FE budget (fair benchmark) ensures that the warm-up evaluations consume part of the declared budget, guaranteeing that STRIKE and standalone solvers use the exact same number of total function evaluations.


Objective and Search Space ​

  • Single-Objective Direction: Offers Minimize and Maximize. When SH_Objective components are wired into the solver, this section instead displays the declared directions and the detected problem type (see Objective Direction).
  • Total Agents: The population size (default: 20).
  • Start From: Dictates how the initial population is generated:
    • Random: Uniform random distribution within slider bounds.
    • Sliders: The current position of canvas sliders is explicitly included as one individual in the initial population.
    • Midpoint: Positions individuals relative to the midpoint of the domain bounds.
  • Vmax %: For velocity-based swarm algorithms, limits the maximum particle step relative to the variable domain (default: 50%, 20% for PSO).

Stopping Criteria ​

  • Max Iterations: Maximum number of generations (default: 60). The estimated number of function evaluations is displayed at the bottom as Est. FEs=population×iterations. Ticking No limit allows the run to continue until another criterion is met.
  • Max Stagnant Gen: Number of consecutive generations without improvement before the run is declared converged (default: 50). Ticking No limit disables early convergence stopping.
  • Smart Start Seeds: For single-objective, non-STRIKE algorithms, runs a short warm-up across N seeds within the overall budget, and the most promising seed continues for the full run. (With 1 seed, the feature is disabled).

Runtime Limit and Viewport Preview ​

  • Runtime Limit: Caps the wall-clock duration of a run in hours, minutes, and seconds (default: 15 minutes). When active, the panel indicates that the actual number of evaluations will be determined dynamically upon completion.
  • Suppress Preview (Eye Icon): Temporarily disables Grasshopper and Rhino viewport redraws while the solver runs. The speed-up depends on canvas complexity: for definitions with heavy geometric meshing or analysis previews, the acceleration can be substantial (5x to 20x).
Suppress Preview Tooltip
Figure 2: Tooltip of the preview suppression eye icon.

Batch Runs ​

Ticking Batch runs repeats the optimization run a specified number of times (1 to 30, default 10) with independent random seeds, writing one .csv log per run.

Batch run settings
Figure 3: Batch run settings and Pick-Algo.
Pick-Algo dialog
Figure 4: Pick-Algo algorithm selection dialog.
Batch output folder dialog
Figure 5: Batch output folder and prefix dialog.
  • Pick-Algo: Opens a dialog to execute the same batch run across multiple selected algorithms in sequence.
  • Output Path: The folder button sets the destination directory. If left empty, files are automatically saved to:
    Desktop\SilverHawk_BatchRuns\<Algorithm>\<Algorithm>_runNN_<timestamp>.csv

The Optimization Tab ​

The Optimization tab houses the live execution controls and real-time telemetry:

  • Controls: Start, Pause (suspends run), Stop (ends run), and Reset (clears results).
  • Live Telemetry: Elapsed Time (ET), Estimated Remaining Time (ETA), Best fitness found, and Function Evaluations counter (FEs).
  • Convergence Chart: For STRIKE runs, colored vertical bands in the chart show exactly which candidate algorithm was active at each iteration.
  • Results Table: Lists candidate individuals. Double-clicking any row, or selecting it and clicking Reinstate, immediately restores that design state to the canvas sliders.

Solver Run Status States ​

StatusMeaning
IDLENo run yet, or solver reset.
RUNNINGOptimization run actively in progress.
DONEIteration or runtime evaluation budget fully consumed.
CONVERGEDStagnation criterion met (no improvement over N generations).
STOPPEDManually stopped by user.
REINSTATEDA selected result row has been written back to canvas sliders.

Multi-Objective View ​

In multi-objective mode, the scalar best-value display is replaced by three multi-objective metrics:

  • Hypervolume (HV): Total dominated volume relative to the reference point.
  • PF vs. EA:
    • PF (Pareto Front): The non-dominated set of the final population.
    • EA (External Archive): The cumulative archive of all non-dominated solutions discovered across the entire run. (The archive is typically larger and represents the true cumulative output).
  • Nadir + 1 Reference Point: Ticking nadir+1 calculates the hypervolume reference point using the nadir point of the front plus one unit in each objective dimension, making hypervolume values directly comparable across different algorithm runs.
Multi-objective run telemetry
Figure 6: Live MO telemetry (HV, PF, EA).
2-Objective Pareto view with Knee point
Figure 7: 2-Objective Pareto curve with Knee point (diamond).
3-Objective Pareto view with Viridis bar
Figure 8: 3-Objective Pareto cloud with Viridis color bar.
  • Knee-Point Detection: The solution offering the optimal balanced compromise is marked with a diamond symbol.
  • Interactive Inspection: Clicking an axis title cycles through the plotted objectives; hovering over any point displays its exact numerical values; double-clicking a point reinstates it to the canvas.