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: 1239

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.

Thanks for the advice. Struggling students! I can’t tell you how much this https://www.grabmyessay.com/do-my-homework homework service has changed my life. I used to be overwhelmed with assignments and then I found this gem. The team of experts here are like my academic angels. Not only did they create a perfect, plagiarism free paper, but they took the time to understand the details of the task. The peace of mind that comes with their money back guarantee is priceless. Trust me, if you’re in a bind with homework, these people are the real deal!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service