You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AMPL Modeling Language
In ej5.run, you correctly give the data for set Periodos:
data;
set Periodos := 1 2 3;
But the error message indicates that the error is in your model file, ej5.mod. To fix it, change the first statement in your model file so that it does not specify the data:
set Periodos;
-- Robert Fourer We're switching to a new, enhanced user forum. Join it now at discuss.ampl.com.