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 15 of file iterator.py.

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

Variable Documentation

◆ job

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

Definition at line 28 of file iterator.py.

◆ rec

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

Definition at line 50 of file iterator.py.

◆ rec_tmp

iterator.rec_tmp = rec

Definition at line 43 of file iterator.py.

◆ t_start

iterator.t_start = time()

Definition at line 40 of file iterator.py.

◆ ws

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

Definition at line 24 of file iterator.py.