matlab.gams.control.engine.Job Class Reference
Manages the execution of a GAMS program given by GAMS model source for GAMS Engine. More...
Public Member Functions | |
logical | interrupt () |
Send interrupt message to GAMS during engine.Job instance executes its run method. | |
void | reset () |
Removes all of the sets, mappings from this engine.Job and reset other instance variables. | |
integer | run () |
Runs Engine job. | |
Detailed Description
Manages the execution of a GAMS program given by GAMS model source for GAMS Engine.
- See also
- engine.JobBuilder
Member Function Documentation
◆ interrupt()
logical matlab.gams.control.engine.Job.interrupt | ( | ) |
Send interrupt message to GAMS during engine.Job instance executes its run method.
This method is useful for interrupting the long running engine.Job.
Return: true if GAMS has acknowledged an interrupt message, false otherwise
◆ reset()
void matlab.gams.control.engine.Job.reset | ( | ) |
Removes all of the sets, mappings from this engine.Job and reset other instance variables.
Though the underlying external resources of the instance variables, if there is any, will not be released.