My program begins with several 2D input arrays.
Some calculations are performed (matrix addittion multiplication etc.).
The final output is a single value.
The matrix calculations involve several "parameters" that must be varied to make the output a minimum.
I have seen "Tst Downhill Simplex Fit.vi" and the n variables are just a, b etc.
In my situation, changing the parameters results in changing the contents of the matrixes and thus the f(x) function.
The downhill simplex won't work as successive iterations would need different f(x) inputs to the VI.
What I really need to do is perform some external calculation (even another VI) then input this into the minimizing function at each iteration.
It is fairly simple in excel using "solver" as seperate cells related by a function f(x) will be updated when searching for a minima each time.
Is there a VI for this type of calculation.