Hello,
I am developing a routine in Python where it operates a simulation software, reads the parameter values, sends it to GAMS, optimizes and sends back the solution to the simulation software for another run.
I am completely new to Python. So far I am able to control the simulation software by Python. But I am not able to do the same for GAMS. Went through the GAMS API tutorial but of not much help. I just need to perform following basic activities:
Open a particular GAMS model file (eg. bandwidth.gms)
Run the MIP model
Read the optimal solution after the model is solved and write it in a text file.
Exit (close) the GAMS model
All other required algorithms, input file, solver choice, etc are written in the .gms file, hence I don’t really want to get access to those features. Also my ‘apifiles’ folder required to run GAMS in python is located in the path C:\Program Files.… which needs administrator’s permission for access.
Can anyone help me with the snipped of the code to be used in Python for this purpose?
Thanks in advance.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.