clad Namespace Reference

Variables

 ws = GamsWorkspace(system_directory = sys.argv[1])
 
 j1 = ws.add_job_from_file("clad")
 
 f = open(os.path.join(ws.working_directory, "cplex.opt"), "w")
 
 opt = ws.add_options()
 
 mip
 
 optfile
 
 solvelink
 
 sw = StringIO()
 
 opt_thread = Thread(target=j1.run, args=(opt,), kwargs={"output":sw})
 
list steps
 
float prev_step = 0.0
 
 log = sw.getvalue()
 

Variable Documentation

◆ f

clad.f = open(os.path.join(ws.working_directory, "cplex.opt"), "w")

Definition at line 40 of file clad.py.

◆ j1

clad.j1 = ws.add_job_from_file("clad")

Definition at line 37 of file clad.py.

◆ log

clad.log = sw.getvalue()

Definition at line 83 of file clad.py.

◆ mip

clad.mip

Definition at line 50 of file clad.py.

◆ opt

clad.opt = ws.add_options()

Definition at line 49 of file clad.py.

◆ opt_thread

clad.opt_thread = Thread(target=j1.run, args=(opt,), kwargs={"output":sw})

Definition at line 57 of file clad.py.

◆ optfile

clad.optfile

Definition at line 51 of file clad.py.

◆ prev_step

clad.prev_step = 0.0

Definition at line 65 of file clad.py.

◆ solvelink

clad.solvelink

Definition at line 52 of file clad.py.

◆ steps

list clad.steps
Initial value:
1= [(5.0, "epgap 0.1"),
2 (10.0, "epgap 0.2"),
3 (20.0, "epagap 1e9")]

Definition at line 61 of file clad.py.

◆ sw

clad.sw = StringIO()

Definition at line 54 of file clad.py.

◆ ws

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

Definition at line 30 of file clad.py.