reading input from a text file

309 views
Skip to first unread message

RAA

unread,
Jan 2, 2014, 4:17:10 PM1/2/14
to gur...@googlegroups.com
This might be a newbie question: In the Gurobi python interface how do I read inputs from a .txt file. In the documentation, I found examples to read from an excel and SQL database. I am wondering how can I easily read from a text file. Say for the netflow.py example (supplied in Gurobi documentation) how can I read commodities and nodes lists from a text file.

Ed Rothberg

unread,
Jan 3, 2014, 12:31:29 PM1/3/14
to gur...@googlegroups.com

You can just use standard Python file I/O routines...
Reply all
Reply to author
Forward
0 new messages