Go to the documentation of this file.
37 opt = ws.add_options()
38 opt.all_model_types =
"soplex"
39 self.
t1 = ws.add_job_from_file(
"lop.gms")
40 self.
t1.
run(opt, output=writer)
50 threading.Thread(target=self.
run_gams).start()
53 wx.Frame.__init__(self, parent, id, title, size=size)
54 self.SetBackgroundColour(
'lightgrey')
56 wx.StaticText(self, -1,
"GAMS Log:", (10, 10))
57 self.
log = wx.TextCtrl(self, pos=(10, 30), size=(565, 485), style=wx.TE_MULTILINE)
59 self.
bu_run = wx.Button(self, -1,
"Run", (10,520), (137, 33))
62 self.
bu_cancel = wx.Button(self, -1,
"Cancel", (360,520), (105, 33))
66 self.
bu_close = wx.Button(self, -1,
"Close", (470,520), (105, 33))
69 if __name__ ==
'__main__':
70 app = wx.PySimpleApp()
def __init__(self, textCtrl)
def __init__(self, parent, id, title, size)