Does the Matlab has some knid of functons that can slove linear program
problem using the graph?
Maximize K= 3x1 + 2x2
Subject to
x1+6x2 <=6
4x3 + 5x2 =3
X1>=7
X2>=9
|
|
0
|
|
|
|
Reply
|
marslee (15)
|
5/17/2006 8:14:46 PM |
|
I'm not sure I understand the question. Do
you mean solving two-variable linear programs
geometrically using only a graph of the constraints
and contours of the objective function?
If this is the question, the answer is no - at
least I'm not aware of such function.
If the Optimization Toolbox is installed in your
system, you can try linprog, which solves linear
programs (via linear algebra, not using the graph).
-marcelo
marslee@hotmail.com wrote:
> Does the Matlab has some knid of functons that can slove linear program
> problem using the graph?
>
> Maximize K= 3x1 + 2x2
> Subject to
>
> x1+6x2 <=6
> 4x3 + 5x2 =3
>
> X1>=7
> X2>=9
>
|
|
0
|
|
|
|
Reply
|
mREMOVEmaALLraCAPITALSzzi (196)
|
5/18/2006 7:03:41 PM
|
|