com.gams.examples.interrupt.ConsoleInterrupt Class Reference
This example demonstrates how to interrupt a solve in a running job but then continues with the execution of the remaining GAMS job. More...
Detailed Description
This example demonstrates how to interrupt a solve in a running job but then continues with the execution of the remaining GAMS job.
The example can be run in two modes; in the interactive mode ('interactive' string must be passed as a command line argument) it waits for a user to send an interrupt signal to the job e.g. by pressing Ctrl-C and in the non- interactive mode (no 'interactive' string passed as a command line argument) it will send a signal to interrupt the job after 2 seconds
Definition at line 20 of file ConsoleInterrupt.java.