Search found 8 matches
- 7 months ago
- Forum: Syntax
- Topic: How to terminate mpec sooner
- Replies: 1
- Views: 9831
How to terminate mpec sooner
I am using mpec=nlpec to solve a mpec problem. however, the solver keeps running for a long time. i want to terminate early. How do I terminate after say a gap of 0.03 and still get the full feasible solution?
- 1 year ago
- Forum: Syntax
- Topic: Running NEOS from Python API
- Replies: 7
- Views: 9705
Re: Running NEOS from Python API
Is it possible to export the optimization output in an excel file by running NEOS from Python API?
- 1 year ago
- Forum: API
- Topic: Error while running a gams file from python (macOS)
- Replies: 1
- Views: 5707
Error while running a gams file from python (macOS)
Hello, I am trying to run a gams file from a python program and get its output back to python again. However, I am getting this error: *** Unexpected EInOutError *** Msg=I/O error on write of file: No such file or directory *** compiling line 22 *** Please report to support@gams.com *** including ve...
- 1 year ago
- Forum: Tools
- Topic: reading and writing data from/to excel (macOS)
- Replies: 4
- Views: 6035
Re: reading and writing data from/to excel (macOS)
Thank you.
How do I run a gams file from Python?
How do I run a gams file from Python?
- 1 year ago
- Forum: Tools
- Topic: reading and writing data from/to excel (macOS)
- Replies: 4
- Views: 6035
reading and writing data from/to excel (macOS)
Hello,
I am using GAMS on macOS. How can I read/write data from/to an excel file? For example, attached is a classic example from GAMS model library. How can I export the solution variables to an excel file? How can I read the parameter values from an excel file?
I am using GAMS on macOS. How can I read/write data from/to an excel file? For example, attached is a classic example from GAMS model library. How can I export the solution variables to an excel file? How can I read the parameter values from an excel file?
- 1 year ago
- Forum: Tools
- Topic: Data exchange from excel to gams (on macOS)
- Replies: 12
- Views: 11928
Re: Data exchange from excel to gams (on macOS)
Hi Aileen, thanks for the explanation. I am wondering how we could be able to write data from GAMS to excel. I would be grateful if you provide me any resource or a simple example code.
- 1 year ago
- Forum: Modeling
- Topic: GAMS error in equation when using conditional sum
- Replies: 2
- Views: 1435
Re: GAMS error in equation when using conditional sum
Thank you. I am sorry. Ill make sure to follow the forum rules for my future posts.
- 1 year ago
- Forum: Modeling
- Topic: GAMS error in equation when using conditional sum
- Replies: 2
- Views: 1435
GAMS error in equation when using conditional sum
online truck routing.gms I am new to GAMS. I apologize in advance if I am making silly mistakes. I am getting the following errors when I attempt to solve the model on the equation Xlt_eq- Error 8 ')' expected *** Error 10 in ',' expected *** Error 119 Number (primary) expected *** Error 8 ')' expe...