ApplicationError: No executable found for solver 'glpk'

848 views
Skip to first unread message

Denver Pariat

unread,
Mar 20, 2022, 10:27:48 AM3/20/22
to pypsa
Hi,
I've been trying to build a simple bus,load generator network and it keeps giving this error:
'ApplicationError: No executable found for solver 'glpk'' although i have installed a solver already. It also gave this warning : WARNING:pyomo.solvers:Could not locate the 'glpsol' executable, which is required for solver 'glpk'
Please do let me know if there'a anything else i can do. Thankyou.

Kind Regards,
Denver

Barton Chen

unread,
Mar 21, 2022, 9:15:05 AM3/21/22
to pypsa
How did you install GLPK solver?

Not sure if it helps, but I tried to install GLPK manually and it didn't work well.
Later I installed everything via conda with the instruction then it works for me.

Good luck.

Barton

Reply all
Reply to author
Forward
0 new messages