I have previously successfully solved a mechanical system using the gekko package. However, without having changed anything in my code, I now get the following error message:
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
Cell In[3], line 15
13 m.Equation (F_r == (((1-a)/3)**2 + (2*(1+a)/3)**2 * v))
14 m.Equation (a == (1000 - F_l)/mass)
---> 15 m.solve(disp=False)
16 plt.plot(x)
17 print(x)
File ~/anaconda3/envs/conda_calculator/lib/python3.11/site-packages/gekko/gekko.py:2210, in GEKKO.solve(self, disp, debug, GUI, **kwargs)
2208 #print APM error message and die
2209 if (debug >= 1) and ('@error' in response):
-> 2210 raise Exception(response)
2212 #load results
2213 def byte2str(byte):
Exception: @error: Model File Not Found
Model file does not exist: 130.92.213.86_gk_model0.apm
STOPPING...
To understand how gekko is working, I have run examples that are presented here. These were also working, and now show the same error message.
Any idea what is going on or what I missed? Thanks!
New contributor
cwapp is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.