I have a set of variables, each with a # of options that can be tested. As an example
Option1 Option2 Option3 Option4
SL 2 90.0 95.0
CL 4 6 8 10 12
RM 3 TS SS POI
Therefore I need to test the 2 SL options with every CL option (of which there are 4) with every RM option (of which there are 3). In this case, it represents 2x4x3 tests = 24.
These sets of options per variable is passed to another algorithm that calculates an output.
Depending on user input, the nr / names of variables, the nr of options per variable, and the option values themselves can change.
I'd like to avoid recursive solutions, as the exponential increase in iterations (depending on user specifications) will potentially cause memory issues.