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 
 


_________________________________________________________________
http://redirect.gimas.net/?n=M0905xWLHM2
Unbegrenzter Speicher bei Windows Live Hotmail!
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to