MathGroup Archive 2004

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

Search the Archive

Re: Linear Programming

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52730] Re: [mg52707] Linear Programming
  • From: DrBob <drbob at bigfoot.com>
  • Date: Sat, 11 Dec 2004 05:21:33 -0500 (EST)
  • References: <200412100123.UAA18978@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

LinearProgramming has the options you need (in versions 5.0 and 5.1, at least).

Without data I won't bother to test this, but it would be something like:

LinearProgramming[c,A,Transpose@{b,0 b},Transpose@{l,h}]

Bobby

On Thu, 9 Dec 2004 20:23:54 -0500 (EST), Matthias Gottschalk <gottschalk at gfz-potsdam.de> wrote:

> Hi,
>
> May be somebody can help me out.
>
> I want to solve the following problem with Mathematica 5.1:
>
> minimize     c x
> subject to   A x = b,  l <=  x  <=  h, l  >= 0, h >= 0
>
> LinearProgramming seems to solve only the problem:
>
> minimize     c x
> subject to   A x >= b,  x  >=  l
>
> There seems to be a function DualLinearProgramming for which there
> seems to be no documentation available. Would that function help me?
>
> regards,
> Matthias
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: power spectrum
  • Next by Date: Re: Suse 9.2 + mathematica 5.0 problem
  • Previous by thread: Re: Linear Programming
  • Next by thread: Solve bug?