[R] Linear Programming

Chou Andy sgamibo at hotmail.com
Tue May 4 08:25:35 CEST 2004


Hi,

Can someone tell me how to use R to solve a simple LP problem like this?  
Thanks!

Maximize 5X1 + 3X2 
Subject to:
2X1 + X2 <=40
X1 + 2X2 <=50
Where
X1 >= 0
X2 >=0 


Andy

_________________________________________________________________
²{¦b´N¤W MSN ·|­û¥Ø¿ý¡G¦b½u¤Wµ²¥æ·sªB¤Í¡A§ä¨ì¿³½ì¬Û§ëªº¹Ù¦ñ




More information about the R-help mailing list