9from gams
import GamsWorkspace
10import gams.transfer
as gt
12if __name__ ==
"__main__":
13 sys_dir = sys.argv[1]
if len(sys.argv) > 1
else None
14 ws = GamsWorkspace(system_directory=sys_dir)
16 ws.gamslib(
"trnsport")
17 job = ws.add_job_from_file(
"trnsport.gms")
22 os.path.join(ws.working_directory, job.out_db.name +
".gdx"), sys_dir
26 m.write(
"transport_out.gdx")