nch, xno items in one list)2 divide the list lenght value by the numer of items per branch needed3A generate a list with the series component: the step equal to the target numer of items per branch; the no of items equals the number of target branches
3B generate a list with the series component: the first number of the series equals to the number of items needed (-1 to account for the 0 index); the step size again equal to the target number of itmes per branch as 3A4 feed 3A & 3B to a domain component thus identifying the start -3A- and end -3B- of the domains by which the list will be subdivided5 use a subset component with the domains above thus creating 19 branches with lists having 5 items eachfor lists which are subdivided into branches when the target number of branches is not a multiple of the number of items contained in the list:6 identify if the target number of branches is a multiple of the list by using the modulus component fed by the list lenght -1- and the target number of branches7 identify last index in the 3B series with the item component (reversed to take the last value fed)8 add 6+7 above which dill define the start of the domain that will pick up the remanent items not accommodated in 59 add (+1) to 7 above to define the end of the domain that will pick up the the remanent items not accommodated in 510 feed 8 & 9 to a domain component11 include 10 as part of the subset in 5I'm now trying to understand the components mentioned by Michael...
sn
…
I extract the first two with a "Redim Preserve t(1)" command.
In the first case, the redim is correct, Line 7 = Line 2 and Line 8 = Line 3. It just kept the first two values like it is supposed to be.
But, for the second curve starting Line 9, some t values are messed up after the Redim. Line 16 = Line 17 despite Line 11 was different from Line 12. That's what is creating a problem later in the Split.
Weird.
…
the Options. For example, if we look at the default settings in this order:
Population: Number of iterations / generation 50 - Galapagos tries 50 slider positions each generation. When it finishes 50, it looks at the results and takes from the best results based on your fitness.
Initial Boost: Factor for the first generation 2. You want to ensure Galapagos sees as much of the solution space as possible in order to not miss any potential solutions. The first generation is multiplied by this factor. If Population is 50, the first generation will be 50x2 = 100 slider positions.
Maintain and Inbreeding deal with what you keep between Generations.
Max Stagnant: Number of generations to try AFTER finding a better solution 50. If Galapagos finds a great solution in Generation 2 (Gen 0 = 100 tries, Gen 1 = 50 tries, Gen 2 = 50 tries) it will go another 50 Generations (50x50 tries) before it stops to ensure it did not miss anything.
Your solution space consists of 11 options, which is much less than any of the other parameters are suggesting. Galapagos flails wildly in your case because you told it to. You told it to try 50x50(+50 for initial boost) number of times to find the best value.
Hence why I do not think this is the best option. You said it, this is not an optimization problem. If it is not an optimization problem, why use a genetic algorithm solver which is predominantly used for optimizing parameters?
I wouldn't necessarily want to see the definition, I'm more curious about the data. For example, can you send the data for 10 structural members and some load cases? (again, I could be entirely oversimplifying it).
In any case, I changed Max. Stagnant to 5, Population to 11. So Galapagos will stop (5x11)+11 tries AFTER the best solution is found. It found the solution pretty quickly.…
Added by Luis Fraguada at 6:07am on September 7, 2016
king into the lists and and icant figure out the structure, i'ts differnet then the oreginal structure (10 items VS 11 items...).
eventually i want to create a list of curves and the number of intersections it has.
is it possible?…
rcle A 0---1---2Circle B 0---1---2---3---4---5---6---7---8---9---10---11I was actually trying to connect through separated lines, point (A,0) to (B,11) and (B,1),point (A,1) to point (B,3) and (B,5), and (A,2) to (B,7) and (B,9).I was able to do it using a list item selecting the points and creating a line between them, but i would be to long to do it if i would like to divide in many more points, and try to connect them using list item... i went looking around for a bit, i think its possible to do it with a path mapper or a flip matrix, althought i have no clue how to make it.
You will find enclosed, some screenshots...If anyone could give me any tip, i thank you all in advance.Have a nice day.+Joan…
Added by Joan tarragon at 7:38am on December 5, 2011