gt_example2 Namespace Reference

Variables

 ws = GamsWorkspace(system_directory=sys.argv[1])
 
 job = ws.add_job_from_file("trnsport.gms")
 
 m = Container(os.path.join(ws.working_directory, job.out_db.name + ".gdx"))
 
 t
 

Variable Documentation

◆ job

gt_example2.job = ws.add_job_from_file("trnsport.gms")

Definition at line 24 of file gt_example2.py.

◆ m

gt_example2.m = Container(os.path.join(ws.working_directory, job.out_db.name + ".gdx"))

Definition at line 30 of file gt_example2.py.

◆ t

gt_example2.t
Initial value:
1= Parameter(
2  m,
3  "t",
4  ["*"],
5  records=[("t" + str(i), i) for i in range(10)],
6  description="new data",
7  )

Definition at line 44 of file gt_example2.py.

◆ ws

gt_example2.ws = GamsWorkspace(system_directory=sys.argv[1])

Definition at line 19 of file gt_example2.py.