Re: Linear Programming
- To: mathgroup at smc.vnet.net
- Subject: [mg50991] Re: [mg50977] Linear Programming
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 1 Oct 2004 04:48:06 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Minimize[x+y, {x>5, y>5, 3x>5y, Element[{x, y}, Integers]}, {x, y}]
{17, {x -> 11, y -> 6}}
Bob Hanlon
>
> From: malacarne at gmail.com (Rodrigo Malacarne)
To: mathgroup at smc.vnet.net
> Date: 2004/09/30 Thu AM 04:52:32 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg50991] [mg50977] Linear Programming
>
> 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
>
>