I don't see anything wrong with this statement. Most likely the syntax error at this point is the result of something that is wrong earlier in the file, such as a missing semicolon on the previous line. (If AMPL is interpreting "param G ..." as more data for the previous parameter, then it will try to read "G" as the value corresponding to set member "param" -- hence the "expected number" message.)
Bob Fourer
From: am...@googlegroups.com [mailto:am...@googlegroups.com]
On Behalf Of Diana Clavijo
Sent: Wednesday, August 28, 2013 9:06 PM
To: am...@googlegroups.com
Subject: [AMPL 7410] error expected number I don't know what it mean?
Hi, I'm programing a mathematical model of sequencing and assignment, i have many errors and this is one of these.
model1.dat, line 39 (offset 423):
expected number
context: param >>> G <<< : = 10000;
.