iterator Namespace Reference

Functions

def get_data_text ()
 

Variables

 ws = GamsWorkspace(system_directory = sys.argv[1])
 
 job = ws.add_job_from_string(get_data_text())
 
 t_start = time()
 
 rec_tmp = rec
 
 rec = job.out_db['p'].first_record()
 

Function Documentation

◆ get_data_text()

def iterator.get_data_text ( )

Definition at line 14 of file iterator.py.

14def get_data_text():
15 return '''
16set i explanatory text for i /i1*i1000/;
17set j explanatory text for j /j1*j1000/;
18parameter p(i,j) explanatory text for p;
19p(i,j) = uniform(0,100);'''
20
def get_data_text()
Definition: iterator.py:14

Variable Documentation

◆ job

iterator.job = ws.add_job_from_string(get_data_text())

Definition at line 27 of file iterator.py.

◆ rec

iterator.rec = job.out_db['p'].first_record()

Definition at line 49 of file iterator.py.

◆ rec_tmp

iterator.rec_tmp = rec

Definition at line 42 of file iterator.py.

◆ t_start

iterator.t_start = time()

Definition at line 39 of file iterator.py.

◆ ws

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

Definition at line 23 of file iterator.py.