Closed hansenb44 closed 4 years ago
Tested running example code in anaconda prompt instead of Spyder IDE and the variables load into GUI as expected.
Per hint from @loganbeal , see also issue #35, suspected issue was in ipthon. Updated ipython:
pip install ipython --upgrade --user
restarted Spyder, and issue is resolved.
Model is solving successfully, GUI opens, but variables are not populated into GUI. No error is thrown that I can tell. Gekko 0.2.6 Python 3.6 Spyder IDE 3.2.4 Windows 10
Here is a minimum working example that replicates the problem on my system:
from gekko import GEKKO
import numpy as np
m = GEKKO(remote = False)
m.time = np.linspace(0,100,100)
x = m.Var(value = 0)
m.Equation(x.dt() == 1)
m.options.IMODE = 4 # dynamic simulation
m.solve(disp=True, GUI = True)
Here's what I see in the GUI (Chrome Browser):![image](https://user-images.githubusercontent.com/29581260/83789634-9d087280-a65c-11ea-9995-d2a6d322a518.png)