Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 4 variable, whats the least cost?[i remember 2var linear programing]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89552] Re: 4 variable, whats the least cost?[i remember 2var linear programing]
  • From: dh <dh at metrohm.ch>
  • Date: Thu, 12 Jun 2008 06:29:47 -0400 (EDT)
  • References: <g2qhig$8pe$1@smc.vnet.net>


Hi Sabbir,

here is an example:

c=RandomReal[{0,1},{4}];

m=RandomReal[{0,1},{4,4}];

b=RandomReal[{0,1},{4}];

LinearProgramming[c,m,b]

hope this helps, Daniel



Sabbir Ahmad wrote:

> is it possible to do linear programming with 4 variables?

> 





-- 



Daniel Huber

Metrohm Ltd.

Oberdorfstr. 68

CH-9100 Herisau

Tel. +41 71 353 8585, Fax +41 71 353 8907

E-Mail:<mailto:dh at metrohm.com>

Internet:<http://www.metrohm.com>




  • Prev by Date: Re: Some undocumented symbols
  • Next by Date: Re: Don't understand replacement rule for some functions
  • Previous by thread: 4 variable, whats the least cost?[i remember 2var linear programing]
  • Next by thread: How complete a TeX system is Mathematica?