File Reference

Go to the source code of this file.

Variables = GamsWorkspace(system_directory = sys.argv[1])
 transport1.t1 = ws.add_job_from_file("trnsport.gms")
 transport1.opt = ws.add_options()
 transport1.file = open(os.path.join(ws.working_directory, "xpress.opt"), "w")

Detailed Description

This is the 1st model in a series of tutorial examples. Here we show:

  • How to run a GAMSJob from file
  • How to specify the solver
  • How to run a job with a solver option file
  • How to capture the log output of a GamsJob

Definition in file