LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need examples for non-linear optimization

In the mathematics - optimization section there is a VI which is..... unconstrained optimization
 
I am using the downhill simplex option and the input that describes the objective function is "another VI" which I will create.
 
Are there any examples on how to use this VI since I am not sure how to use the "objective function" input which is a reference to another VI and how to set up the "function data" input either (i.e do you use it specify constants ???? how do you do this ????)
0 Kudos
Message 1 of 2
(2,909 Views)
Hi sammy,

You can find more information about this command by right-clicking on the VI and choosing Help. You can then choose the Downhill Simplex option for a detailed description of how to use this VI. The following information is provided in the Help about the "objective VI" you must build:

objective function is a reference to the VI that implements the function to optimize. Create this VI by starting from the VI template located at labview\vi.lib\gmath\NumericalOptimization\ucno_objective function template.vit.

Also, more help information can be viewed here:

Downhill Simplex nD (Not in Base Package)


I didn't find an example program in our Developer Zone, but you might be able to find one by searching the Discussion Forums.

Hope this helps!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 2 of 2
(2,879 Views)