Skip to content

Tunny v0.5.0

Compare
Choose a tag to compare
@hrntsm hrntsm released this 03 Sep 05:28
· 659 commits to main since this release
5bc6639

Summary

  • Constraints can now be taken into consideration.
    • Only TPE, GP, NSGAII can use constraint.
    • Multiobjective optimization can now take constraints into account; visualization of ParetoFront results shows areas that do not satisfy the constraints, as shown in the gray areas below.
    • image
  • Add Clusterting output
    • The k-means method can be used to cluster the Pareto solution of the optimization.
    • image
  • Add Hypervolume output
    • Hypervolume visualization was added as one of the indicators to determine convergence of multi-objective optimization.
      • If the increase in this value is small, you can consider that the multi-objective optimization has converged.
    • image
  • Advanced optimization settings can now be made from the UI.
    • image

Details

Breaking Change

  • The format in which optimization results are saved has been changed. Optimization results from previous versions cannot be handled.

Added

  • Hypervolume visualization
    • It is useful for determining convergence in multi-objective optimization.
  • Clustering visualization
    • Clustering of results during multi-objective optimization makes it easier to evaluate solutions.
  • BoTorch Sampler
    • This sampler use Gaussian Process and support multi-objective optimization.
  • Quasi-MonteCarlo Sampler
  • Support Constraint.
    • Only TPE, GP, NSGAII can use constraint.
  • Sampler detail settings UI
    • Previously it was necessary to change the JSON file of the settings, but now it can be changed in the UI
  • Enable Text Bake in the FishMarket component.
  • Allows selection of NSGA-II crossover methods.
    • Uniform, BLXAlpha, SPX, SBX, VSBX, UNDX
  • Ability to set Popsize on CMA-ES restart
  • Run GC after trial when has geometry attribute or setting always run.
    • This change probably make optimize slower before
    • If you want to cut this setting, set the value of "GcAfterTrial" to 2 in Settings.json.
  • Show LICENSE button in Tunny UI.

Changed

  • When genepool is an input, it now creates variable names using nicknames.
  • The output of the Pareto solution was made to consider the constraints.
  • Multivariate in TPE sampler default option is false to true
  • Updated Optuna used to v3.0.0
    • Use suggest_int and suggest_float instead of suggest_uniform for more accurate variable generation in optimization
    • Random and Grid samplers now support multi-objective optimization
    • The format of the db file in which the results are saved has changed. Please note that it is not compatible with the previous one.

Fixed

  • The PythonInstaller window now has no text on the progress bar.
  • When more than one Study exists, another Study Name is set and RunOpt no longer causes a Solver Error.
  • The error does not occur when the Brep of Geometry of Attribute is null.

Related PR

Full Changelog: v0.4.0...v0.5.0