Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Linear Programming

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50977] Linear Programming
  • From: malacarne at gmail.com (Rodrigo Malacarne)
  • Date: Thu, 30 Sep 2004 04:52:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi everybody,

How can I insert a constraint in the following expression

ConstrainedMin[x+y,{x>5,y>5,3x>5y},{x,y}]

to find only integer results? Using the expression above I get

{13.3333,{x->8.3333,y->5.}}

but I want x to be an integer number.

Cordially yours,
Rodrigo


  • Prev by Date: Re: GUIKit, GraphEdit and global variables
  • Next by Date: Cauchy Integrals
  • Previous by thread: MultipleListPlot
  • Next by thread: Cauchy Integrals