|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[AMPL 2790] Abandoning compound command messageHi, I have encountered a problem in defining a parameter in AMPL. The error message is as follows. test.run, line 71 (offset 2925): Abandoning compound command to accept declaration of wetdry_total. context: param wetdry_total{w in week,c in >>> 1..outcomes}; <<< The parameter outcomes has been defined. Does anyone know what the meaning of the error message and the likely cause of it is? Thank you. Regards, Ziming Guan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group. To post to this group, send email to ampl@... To unsubscribe from this group, send email to ampl+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ampl?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
[AMPL 2793] Re: Abandoning compound command messageThis message typically occurs when a param (wetdry_total in this case) is defined inside a compound command -- a "for" or "repeat" loop or an "if" statement. AMPL cannot process such definitions. Usually the trouble is fixed by moving the "param" statement before the start of the compound command. Bob Fourer 4er@... > -----Original Message----- > From: ampl@... [mailto:ampl@...] > On Behalf Of Ziming Guan [z.guan@...] > Sent: Thursday, September 03, 2009 10:56 PM > To: ampl@... > Subject: [AMPL 2790] Abandoning compound command message > > > Hi, > > I have encountered a problem in defining a parameter in AMPL. The error > message is as follows. > > test.run, line 71 (offset 2925): > Abandoning compound command to accept declaration of wetdry_total. > > context: param wetdry_total{w in week,c in >>> 1..outcomes}; <<< > > The parameter outcomes has been defined. Does anyone know what the > meaning of the error message and the likely cause of it is? Thank you. > > Regards, > Ziming Guan > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group. To post to this group, send email to ampl@... To unsubscribe from this group, send email to ampl+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ampl?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
[AMPL 2796] Re: Abandoning compound command messageHi Bob, Thank you. Regards, Ziming Robert Fourer wrote: > This message typically occurs when a param (wetdry_total in this case) is > defined inside a compound command -- a "for" or "repeat" loop or an "if" > statement. AMPL cannot process such definitions. Usually the trouble is > fixed by moving the "param" statement before the start of the compound > command. > > Bob Fourer > 4er@... > > > >> -----Original Message----- >> From: ampl@... [mailto:ampl@...] >> On Behalf Of Ziming Guan [z.guan@...] >> Sent: Thursday, September 03, 2009 10:56 PM >> To: ampl@... >> Subject: [AMPL 2790] Abandoning compound command message >> >> >> Hi, >> >> I have encountered a problem in defining a parameter in AMPL. The error >> message is as follows. >> >> test.run, line 71 (offset 2925): >> Abandoning compound command to accept declaration of wetdry_total. >> >> context: param wetdry_total{w in week,c in >>> 1..outcomes}; <<< >> >> The parameter outcomes has been defined. Does anyone know what the >> meaning of the error message and the likely cause of it is? Thank you. >> >> Regards, >> Ziming Guan >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group. To post to this group, send email to ampl@... To unsubscribe from this group, send email to ampl+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ampl?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |