LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linear Programming methods

Hi all,
 
My boss walked up and asked me about "Linear programming methods".
 
Has anyone used the LV VI "Linear Programming Simplex Method" or implemented others?
 
The one VI that exist in LV is for maximizing the solution. We need to minimize it.
 
All idea examples or solution will be appreciated.
 
Thanks in advance,
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 1 of 7
(4,285 Views)
MAX (values)= MIN(-values)
If you can simple negate your values (and comparison rules) then that is decision.
 
Also look at this http://www.library.cornell.edu/nr/cbookcpdf.html. It is possible to integrate C code into LabVIEW or recode in G.

Jack
Win XP
LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
Let us speek Russian 🙂
Message 2 of 7
(4,277 Views)

Ben,

Insted of asking for a certain tool with a fancy name, describe your problem and we'll find the right tool to solve the problem ;). What exactly is "the solution" that you try to minimize?

Most fitting function try to minimize something (typically chisquare between data and model). Is that what you need?

Message 3 of 7
(4,243 Views)

Good comments Christian.

 

My boss had his sales hat on and was chasing down job prospects. He was double checking LV capabilities compared with the specs. When he did some quick tests he was able to use LV's built version of the "Linear Programming" examples and could maximize but had trouble with the minimizing.

 

After looking at Jack's response he latter told me got something working.

That is as much as he is willing to let me know. We have strict rule that I don't get involved with any work that does not have a PO in place. It may seem strange but it does minimize my distrations.
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 7
(4,232 Views)

Hi Ben,

I'm not sure if you're looking for any other solution, but you may want to search for "Dual Problem". As far as I know every linear programming optimization problem has a dual problem. if the target of the main problem is maximization, the target of the dual problem will be minimization. some of the input matrixes & vectors must be changed to build the dual problem. I don't remember the exact equations, but sure of its existanceSmiley Wink

Respectfully,

Message 5 of 7
(4,221 Views)
Hey all..
 
I don't know exactly where i should post this but moving on, I actually got a few things to enquire....
 
Im very virgin to this LabView thing so I kinda need your help..
 
1. How to datalog ecg signals acquired from a DAQ board?
2. How do i save the waveform to a binary file?
 
is there anybody that can help me with the programming...
HELP MEEEE..
 
Thnks in advance!
0 Kudos
Message 6 of 7
(4,216 Views)


@Zura85 wrote:
I don't know exactly where i should post this but moving on, I actually got a few things to enquire....


The LabVIEW board is probably a good place, but instead of tacking your post to the end of an existing thread dealing with a completely different topic, you should start a new thread. Don't forget to add a descriptive title. Good luck!
0 Kudos
Message 7 of 7
(4,201 Views)