Dear Maurizio,
If you are using Python, I recommend that you switch over to the GEKKO Optimization Suite. The local web-interface such as http://apmonitor.com/online/view_pass.php isn’t available, unfortunately. With GEKKO, you can run in local mode for Windows and Linux in Python. Here are some tutorials: https://apmonitor.com/wiki/index.php/Main/GekkoPythonOptimization such as this problem to solve nonlinear equations:
from gekko import GEKKO
m = GEKKO() # create GEKKO model
x = m.Var(value=0) # define new variable, initial value=0
y = m.Var(value=1) # define new variable, initial value=1
m.Equations([x + 2*y==0, x**2+y**2==1]) # equations
m.solve(disp=False) # solve
print([x.value[0],y.value[0]]) # print solution
You can either run locally by setting
m = GEKKO(remote=False) # preferred method to run locally
or else:
m = GEKKO(server=’http://127.0.0.1’)
or some other local IP address if you’d like to use the APMonitor server. If you use the first option, you don’t need to install the Apache server with PHP scripts. The local executable comes with the pip install for Windows and Linux.
Best regards,
John Hedengren
--
--
APMonitor user's group e-mail list.
- To post a message, send email to apmo...@googlegroups.com
- To unsubscribe, send email to
apmonitor+...@googlegroups.com
- Visit this group at http://groups.google.com/group/apmonitor
---
You received this message because you are subscribed to the Google Groups "apmonitor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
apmonitor+...@googlegroups.com.
To post to this group, send email to
apmo...@googlegroups.com.
Visit this group at https://groups.google.com/group/apmonitor.
For more options, visit https://groups.google.com/d/optout.