Functions | |
def | interrupt_gams (job) |
Variables | |
argparse | parser = argparse.ArgumentParser() |
nargs | |
default | |
action | |
argparse | args = parser.parse_args() |
GamsWorkspace | ws = GamsWorkspace(system_directory=args.sysDir) |
GamsWorkspace | job = ws.add_job_from_file("dicex.gms") |
GamsWorkspace | opt = ws.add_options() |
all_model_types | |
target | |
interrupt_gams | |
else : | |
output | |
Function Documentation
◆ interrupt_gams()
def interrupt.interrupt_gams | ( | job | ) |
Definition at line 18 of file interrupt.py.
18def interrupt_gams(job):
19 time.sleep(2)
20 job.interrupt()
21
22
Variable Documentation
◆ action
interrupt.action |
Definition at line 26 of file interrupt.py.
◆ all_model_types
interrupt.all_model_types |
Definition at line 35 of file interrupt.py.
◆ args
interrupt.args = parser.parse_args() |
Definition at line 27 of file interrupt.py.
◆ default
interrupt.default |
Definition at line 25 of file interrupt.py.
◆ else
interrupt.else : |
Definition at line 40 of file interrupt.py.
◆ interrupt_gams
interrupt.interrupt_gams |
Definition at line 39 of file interrupt.py.
◆ job
GamsWorkspace interrupt.job = ws.add_job_from_file("dicex.gms") |
Definition at line 33 of file interrupt.py.
◆ nargs
interrupt.nargs |
Definition at line 25 of file interrupt.py.
◆ opt
interrupt.opt = ws.add_options() |
Definition at line 34 of file interrupt.py.
◆ output
interrupt.output |
Definition at line 45 of file interrupt.py.
◆ parser
argparse interrupt.parser = argparse.ArgumentParser() |
Definition at line 24 of file interrupt.py.
◆ target
interrupt.target |
Definition at line 39 of file interrupt.py.
◆ ws
GamsWorkspace interrupt.ws = GamsWorkspace(system_directory=args.sysDir) |
Definition at line 29 of file interrupt.py.