help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] help


From: Michael Hennebry
Subject: Re: [Help-glpk] help
Date: Tue, 26 Jun 2012 10:43:51 -0500 (CDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Tue, 26 Jun 2012, Daniele Micarelli wrote:

I have to solve a linear programming problem with the language and I'm
planning mathprog
I have difficulty writing the following constraint: ΣΣ r (i) * x (i, t) <= R
where the first summation is true for all belonging to the W and the second
summation has as its lower end t-d(i) and upper bound as t-1

You've not made it clear what is a variable and what is not.
If r and x are both variables, you are done.
*Linear* programming does not involve products of variables.

--
Michael   address@hidden
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily

reply via email to

[Prev in Thread] Current Thread [Next in Thread]