solving a linear program

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

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 11 月 3 日

0 投票

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 件のコメント

maryam
maryam 2011 年 11 月 6 日
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 2011 年 11 月 6 日
The Optimization Toolbox can definitely do that. See http://www.mathworks.com/help/toolbox/optim/ug/bsmt5ib.html

この質問は閉じられています。

質問済み:

2011 年 11 月 3 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by