Hi all
Sparked by @Michael_Kirschner2 comment on this issue:
I have a workflow that calculated the weight of a structure using Robot, this happens inside a custom node powered by a randomly created number of parameters. As I’m using a genetic algorithm I’m bound to end up having calculation that are dublicates of already completed calculation.
But as Michael mentions then “ScopeIf” could mean that I can pull the information from a .csv file and not execute that calculation. (A calculation takes around 6 minutes pr. iteration).
Does anyone have any ideas as to how to set it up, what I have so far is this test-setup:
Extra information is that the list.combine is used to test a population (a number of options, in this case 5 different possibilities) As index 2 exists in my .csv file (combination 3;3;7;7) I would like to pull the number 2000 and insert instead of the calculation being made in the custom node at this point. (these will of course be the same size in the real case and thus not run the custom node for this one/possibly many options)
Hope somebody might find this challenging and maybe even fun, here is the test-setups (if one does not want to recreate)
TestCombineScopeIf.dyf (4.1 KB)
TestCombineScopeIf.dyn (6.8 KB)
I cannot upload .csv so the content is here:
1;5;2;4;1500
3;3;7;7;2000



