GAMS [ Home | Downloads | Documentation | Solvers | APIs | Tools | Model Libraries | Resources | Sales | Support | Contact Us | Search ]

GAMS .NET API - Tutorial and Examples
Interrupt.Interrupt Class Reference

Ctrl-C in a regular console application results in the interrupt of the entire job. More...

Detailed Description

Ctrl-C in a regular console application results in the interrupt of the entire job.

GAMS users are used to the fact that Ctrl-C interrupts a solve but then continues with the execution of the remaining GAMS job. The example demonstrates how to alter some console properties to get this behavior of Ctrl-C.

Definition at line 14 of file Interrupt.cs.