Importing and export data/results from/to excel to AMPL/ AMPL to excel

571 views
Skip to first unread message

Matts Davids

unread,
Dec 29, 2021, 3:55:45 AM12/29/21
to am...@googlegroups.com
Hello Sir,

Can you please guide me with the steps on how to import data from excel to AMPL and export the results form AMPL to excel?

Sincerely,
Davids

AMPL Google Group

unread,
Dec 29, 2021, 1:55:33 PM12/29/21
to AMPL Modeling Language
You should use the new AMPL interface for spreadsheets. Full instructions and examples are given on the AMPL Direct Spreadsheet Interface page.

There is also an introduction to the AMPL statements that are used for importing and exporting data, in Chapter 10 of the AMPL book. (The chapter is titled Database Access but the same statements -- table, read table, write table -- are used with spreadsheet files.)


--
Robert Fourer
am...@googlegroups.com
{#HS:1742029694-107863#}
Reply all
Reply to author
Forward
0 new messages