(by hiron_rgkr)
Tunny is optimization component. Multi-objective optimization with constraints is supported; multiple algorithms such as BayesianOptimization, NSGAII, CMA-ES, etc. can be used.
Support Email

Tunny is Grasshopper's optimization component using Optuna, an open source hyperparameter auto-optimization framework.

This component support below optimization algorithms. 

  1. Bayesian optimization(TPE)
  2. Bayesian optimization(GP)
  3. Genetic algorithm(NSGA-II)
  4. Genetic algorithm(NSGA-III)
  5. Evolution strategy(CMA-ES)
  6. Quasi-MonteCarlo
  7. Random
  8. BruteForce
  9. Human-in-the-loop optimization

TPE, GP, NSGA-II and NSGA-III also support multi-objective optimization with constrains.

It is inspired by components such as Galapagos, opossum, and wallacei, and can be used in a similar way to them.
For more information on how to use it, click here to see document.

The following is taken from the Optuna official website

Optuna™, an open-source automatic hyperparameter optimization framework, automates the trial-and-error process of optimizing the hyperparameters. It automatically finds optimal hyperparameter values based on an optimization target. Optuna is framework agnostic and can be used with most Python frameworks, including Chainer, Scikit-learn, Pytorch, etc.
Optuna is used in PFN projects with good results. One example is the second place award in the Google AI Open Images 2018 – Object Detection Track competition.

Optuna official site : https://optuna.org/


First, Tunny runs on Windows only.

  1. Download Tunny from this page or release page
  2. Right-click the .zip file > Properties > make sure there is no "blocked" text
  3. In Grasshopper, choose File > Special Folders > Components folder. Move Tunny folder you downloaded there.
  4. Restart Rhino and Grasshopper
  5. Enjoy!
  • License Type:
License Cost:
For instructions on installing Grasshopper Add-Ons, please see FAQ for details.
Tunny v0.12.0
Grasshopper for Rhino 7 for Win
Grasshopper for Rhino 8 for Win
Other version Tunny
Grasshopper for Rhino 7 for Win
Also by Hiron_rgkr