Hello,
My problems are either because I do not understand LabVIEW or because I cannot pose my problem correctly mathematically in order to use LabVIEW. Maybe someone can help.
I have in Excel an optimization problem which is working well. Essentially a shape is being minimized. I have three columns of data representing certain angles or distances. In Excel I use the solver to minimize an area found by calculating an equation which uses the maxima of two of the columns and the minima from the other column. Hence I find my best surface area and in Excel it seems to work well. When using the solver in this way and specifying cells which are the maxima or minima of columns as part of your equation to minimize what you are doing is like imposing constraints on the problem. In Excel this seems to work in a easily understandable way.
The data in all three columns are all dependent on one variable. Thus finding the optimum value of this variable to give the minimum surface area is what it all boils down to.
I have looked at the various VI's in LabVIEW and am convinced that the functionaility to do this is there but I simply do not know how. What I would like is a VI where I could put in the equation as one input and put in constraints (ie the maxima and minima of the column calculations) in another. I think my main problem is that I do not know how to put in a constraint that something needs to be a maximum (or minimum), rather than say >0 or something.
Perhaps having done this in Excel I am approaching it the wrong way in LabVIEW. I realise that I could get to Excel via an Activex but if the capability is there in LabVIEW I'd like to use it.
Regards
Kevin