This small example demonstrates how to run a GAMS model in a graphical user interface. More...
Go to the source code of this file.
Classes | |
class | interrupt_gui.TextCtrlWriter |
class | interrupt_gui.InterruptGui |
Variables | |
wx | interrupt_gui.app = wx.PySimpleApp() |
InterruptGui | 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.
It has rudimentary features like 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 interrupt.py example (GamsJob.interrupt), but the trigger mechanism is very different. This example requires the wxPython package.
Definition in file interrupt_gui.py.