help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] GUSEK question - MRP


From: Jeffrey Kantor
Subject: Re: [Help-glpk] GUSEK question - MRP
Date: Mon, 25 Mar 2013 16:13:14 -0400

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.

Jeff


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.

 

cid:image004.jpg@01CE296D.39460FB0

 

cid:image006.jpg@01CE296D.39460FB0

 

cid:image003.jpg@01CE2965.723EFF50

 

 

Any commend or advice will be too much appreciated!.

 

Thank you once again.

 

Kind regards,

Jorge Hernández

 


_______________________________________________
Help-glpk mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk



reply via email to

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