Error at _cmdno 26 executing "solve" command

3 views
Skip to first unread message

Vivi

unread,
Jan 30, 2026, 3:12:00 PMJan 30
to AMPL Modeling Language
Dear AMPL team,

I am reading my data from spreadsheet and I have a set of only one member and a parameter related to this set. The Excel file is attached. And in the .run file to read the spreadsheet I have thoses statements:

table EPSI_tab IN "amplxl" "EPSI_VAL.xlsx" "epsi":
  [EPSI ], EP_VAL; 

read table EPSI_tab;

And I have had the following error  message:

«error processing param EP_VAL[...]:
no data for set EPSI
ampl: »

Thank in advance for your help.
EPSI_VAL.xlsx

AMPL Google Group

unread,
Jan 31, 2026, 2:21:13 PMJan 31
to AMPL Modeling Language
Your question has been moved to our new user forum at discuss.ampl.com, and a response has been posted there. To see the response, use this link:

https://discuss.ampl.com/t/ampl-25086-error-at-cmdno-26-executing-solve-command/2219

To reply, click the red "Reply" button that follows the response. (Do not send an email reply to this message.)


--
Robert Fourer

We're switching to a new, enhanced user forum.
Join it now at discuss.ampl.com.
{#HS:3215014598-141180#}
Reply all
Reply to author
Forward
0 new messages