help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] [help] syntax error in data section? anyone can help?


From: xypron
Subject: Re: [Help-glpk] [help] syntax error in data section? anyone can help?
Date: Sun, 21 Jun 2009 13:49:35 -0700 (PDT)

Change the end of your file like this:
param unity := 
  a0 1
  a1 1
  a2 1
  a3 1
  a4 1  
  a5 1
  a6 1
  a7 1
  a8 1
  a9 1;
end;

Best regards

Xypron



jhihll wrote:
> 
> i am a beginner to use glpk, when load my .mod file, system always alerts
> me 
> syntax error in data section?
> anyone could help me solve this problem?  3ks  a lot!!!
> 
> ...
> set PHOTON;
> ...
> param unity{i in PHOTON};
> ...
> data;
> ...
> set PHOTON := a0 a1 a2 a3 a4 a5 a6 a7 a8 a9;
> param unity:= 1 
>               1 
>               1 
>               1  
>               1 
>               1 
>               1 
>               1 
>               1 
>               1;
> ends;
> 

-- 
View this message in context: 
http://www.nabble.com/-help---syntax-error-in-data-section---anyone-can-help--tp24123891p24138679.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

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