File Reference

Go to the source code of this file.


class  interrupt_gui.TextCtrlWriter
class  interrupt_gui.InterruptGui

Variables = wx.PySimpleApp()
 interrupt_gui.frame = InterruptGui(None, -1, 'Interrupt Example', (600, 600))

Detailed Description

This small example demonstrates how to run a GAMS model in a graphical user interface. This has all rudimentary features we know from the GAMS IDE: starting a job, capture the GAMS log in a window, and providing a button to interrupt. The underlying mechanism to interrupt the job is similar to the example (GamsJob.interrupt), but the trigger mechanism is very different.

Definition in file