LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linear programmming question

Dear all,
 
I have a question about using the linear programming in LabVIEW. I would like to do the same function as the "Solver" of Excel in LabVIEW but I found that it has no way to do such thing in LabVIEW.
Actually is it possible to do that? Or am I miss some subVIs for that?
 
I have tried the optimization's VI that under Mathematics but they are not the solver function.....Smiley Sad
Could anyone give some suggestions for that?
 
Thanks in advance,
Io
0 Kudos
Message 1 of 3
(2,928 Views)

Hi Io,

I'm not familiar with the Solver feature, but it sounds like you are trying to solve a system of linear equations.  LabVIEW Full and Professional development systems include the Solve Linear Equations VI, found on the Functions palette under Mathematics » Linear Algebra. 

Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,888 Views)
Excel seems to use the Generalized Reduced Gradient (GRG2) code for nonlinear problems, and uses a simplex linear programming code with branch and bound for the integer variables.  LabVIEW does not implement the GRG algorithm, but does implement a sequential quadratic programming algorithm for nonlinear problems with nonlinear constraints.  LabVIEW also has a simplex linear programming implementation, but does not support integer variables (no branch and bound code).  So you should be able to manage almost all you could in Excel, but the interface is probably different than what you are used to.

-Jim
Message 3 of 3
(2,867 Views)