[Top][All Lists]

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

[Help-glpk] [Fwd: RE: GUSEK question - MRP]

From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: RE: GUSEK question - MRP]
Date: Tue, 26 Mar 2013 08:46:05 +0400

-------- Forwarded Message --------
From: Hernandez Hormazabal, Jorge <address@hidden>
To: 'Jeffrey Kantor' <address@hidden>, Hernandez Hormazabal, Jorge
Cc: address@hidden <address@hidden>
Subject: RE: [Help-glpk] GUSEK question - MRP
Date: Mon, 25 Mar 2013 20:46:43 +0000

Hi Jeff, Hi all;


Thank you very much. The problem is solved. Nevertheless, now I have
another error in the line 45. I have checked all the brackets and
everything, and I’m not sure why is the error:
“20130325_MRP_vJEH2.mod:45: syntax error in objective statement”


Any idea about what it can be?. This constraint is what I call the
inventory balance equation.


Thanks in advance. Any comment or advice will be too much appreciated.





From: Jeffrey Kantor [mailto:address@hidden 
Sent: 25 March 2013 20:13
To: Hernandez Hormazabal, Jorge
Cc: address@hidden
Subject: Re: [Help-glpk] GUSEK question - MRP


This is an easy mistake to make. This part of line 43


sum{i in I, t in T} cp[i]*P[i,t]+ci[i]*INVT[i,t]+crd[i]*Rd[i,t]


should read


sum{i in I, t in T} (cp[i]*P[i,t]+ci[i]*INVT[i,t]+crd[i]*Rd[i,t])


so the summation is extended over all of these terms.  You'll also need
to make this correction in for the second expression in line 42.




On Mon, Mar 25, 2013 at 1:07 PM, Hernandez Hormazabal, Jorge
<address@hidden> wrote:

Dear all,


I’m trying to implement a classic MRP model (you can see the details of
the model below). I have done the model (see attached), but in the line
42 is an error, which says “i not defined”. Actually in the objective
function is the CPi*Pit in where I think the error is.


If this model may work it will be great for me in order to understand
properly GUSEK. Hence, if anyone may help me in checking it, or in
giving me some advices about how to improve it, it will be great.









Any commend or advice will be too much appreciated!.


Thank you once again.


Kind regards,

Jorge Hernández


Help-glpk mailing list


Attachment: 20130325_MRP_vJEH2.mod
Description: 20130325_MRP_vJEH2.mod

reply via email to

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