11-01-2004 03:39 PM
11-02-2004 06:43 AM
11-12-2009 02:39 PM
03-04-2013 02:44 AM - edited 03-04-2013 03:03 AM
Me too having a vi, substituting a cost function, looking for a similar solution. It is hard to describe my cost function analytically. But it is clear in this case, what are the input variables, and what is the calculated cost (scalar as output). What other method for minimizing a variable are available in LV, please? Cheers, M
edit: After some more searching on the INternet, I came to the conclusion that this is a limitation of LV. So much I learned, there is no way to pass a whole function (with inputs and outputs) to another function and recalulate the passed function several times (in MATLAb it would be called anynymous function, if I'm not wrong).
Instead, I found this: http://www.laurentkneip.de/DS.html Neat, and it also requires editing the core and substitution the cost function with the own one. I am going to try that out and report back...
03-05-2013 06:30 AM
For all those weeks here and now, I was just searching for wrong terms:
http://zone.ni.com/reference/en-XX/help/371361J-01/gmath/mathematics/
"Constrained Nonlinear Optimization" is my friend 🙂 It is fricking hard to get it up and running, but it is done.