help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Syntax error in data section and others


From: Yanyan Xie
Subject: [Help-glpk] Syntax error in data section and others
Date: Wed, 27 May 2009 17:11:45 +0000


hello, i am a beginner, I have just written a glpk program. following code in Cplex is ok, can anybody tell me, what shuld i it's corrects in GLPK.
param cost :=
      [*,*,r1]:  zul1  zul2 :=
           Her1    30    20
           Her2    22    25 ;
      [*,*,r2]:  zul1  zul2 :=
           Her1    39    30
           Her2    27    25 ;  

another question, how can I correct this sentence? error by running: _expression_ following := has invalid type.
 
var rohTranMenge{r in Roh, i in Zulieferer, j in Hersteller, t in Periode}, >=0;
param sumOutZ{r in Roh, i in Zulieferer, t in Periode} := sum {j in Hersteller} rohTranMenge[r,i,j,t];
 
thanks a lot
 
Best Regards
xie
 




Kein Werbe-Blabla - hier klicken!

reply via email to

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