Grasshopper

algorithmic modeling for Rhino

Automatically run solver and output best solution after N generations

Below is a schematic of what I want to do, namely:

  1. Trigger a solver like Octopus or Galapagos from within a definition (not by double-clicking the component), run the solver for a fixed number of generations, then only output the best solution (I only have 1 evaluation metric)
  2. Optionally, I would like to automatically increment an additional parameter and rerun the process for each parameter setting

Not sure how to go about this - any tips to point me in the right direction would be much appreciated!

Views: 25

Replies to This Discussion

I've done something similar, but it required serious coding in C#. 

I used "reflection" to call some of the methods in Galapagos to automatically trigger it.

Thanks Thomas, I'm pretty unfamiliar with C# - is this something you are able to share?

You can use Octopus Explicit and Anemone/Hoopsnake for this I think. When I have time I can dig out an old definition.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2018   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service