solving a linear program

How can I solve a Linear programming problem with 3 varibles with matlab? how about more than 3?

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 3 Nov. 2011

0 Stimmen

What is the problem? Can you show an example? I would think it can be solved. For 3 variables, maybe even without the Optimization Toolbox. http://www.mathworks.com/products/optimization/?s_cid=global_nav

2 Kommentare

maryam
maryam am 6 Nov. 2011
I have many simple linear programming problems like this:
Max u6-u7
1.5u1+u2+u3+u6-u7=0
2u1+2u2+u4+u6-u7=0
4u1+3u2+u5+u6-u7=0
v1+v2+v3+v4=1
u1-v1=0
u2-v2=0
u1,u2,u3..u7>=0
v1,v2,..,v4>=0
I want to find all optimal extreme points.
Would you please help me?
Fangjun Jiang
Fangjun Jiang am 6 Nov. 2011
The Optimization Toolbox can definitely do that. See http://www.mathworks.com/help/toolbox/optim/ug/bsmt5ib.html

Diese Frage ist geschlossen.

Gefragt:

am 3 Nov. 2011

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by