algorithmic modeling for Rhino
Would it be possible to have a gene list that could be controlloed with an input such as a string?
The input string would define the number of genes, min and max values, the number of decimals, and the current value of the gene
Something like
1,0,100,5,5.00005;2,3,500,1,452.1;.....;gene number,min,Max,number of Decimals,current value of gene
where the "," separates the different values for each gene and the ";" separate the genes
I am asking this since I use Galapagos for optimization but to use other optimization methods (usually pattern search, simulated annealing etc) I connect Matlab to grasshopper via UDP and sometimes I use also Matlab to set the variables and their ranges and this would simplify a lot my patches since I would use the same connections for Matlab and Galapagos.
Thanks
Tags:
If the current value of the gene is set by a string, then Galapagos cannot tweak it. Which in turn means it cannot be optimized. Also, Galapagos currently cannot handle a varying number of genes.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
What I meant is not that Galapagos was running while the number of genes was changing. The optimization with matlab (or other software) and galapagos would happen in two different moment.
The way I thought about it was to have a way to use the string as an alternative way to set all the sliders and their number in the gene list as sometimes it would be easier instead of doing it manually.
So the user would attach the string than chose "internalise data", disconnect the string and than run galapagos
or if the user wated to use another software to take care of the optimization it would be possible to reattach the string to the gene list without having to do any other work in the patch and the list would chang receiving data (through udp or other way) from the other software
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by