transport14 Namespace Reference

Classes

class  Optimizer
 

Functions

def run_scenario (optim, bmult)
 

Variables

list bmultlist = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3]
 
 optim = Optimizer()
 
 lock = threading.Lock()
 
 t = threading.Thread(target=run_scenario, args=(optim, bmult))
 

Function Documentation

◆ run_scenario()

def transport14.run_scenario (   optim,
  bmult 
)

Definition at line 98 of file transport14.py.

98 def run_scenario(optim, bmult):
99 obj = optim.solve(bmult)
100 lock.acquire()
101 print("Scenario bmult=" + str(bmult) + ", Obj:" + str(obj))
102 lock.release()
103
def run_scenario(optim, bmult)
Definition: transport14.py:98

Variable Documentation

◆ bmultlist

list transport14.bmultlist = [0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3]

Definition at line 94 of file transport14.py.

◆ lock

transport14.lock = threading.Lock()

Definition at line 96 of file transport14.py.

◆ optim

transport14.optim = Optimizer()

Definition at line 95 of file transport14.py.

◆ t

transport14.t = threading.Thread(target=run_scenario, args=(optim, bmult))

Definition at line 105 of file transport14.py.