Hello To To,
I hope you are doing well.
Where do you want to install IPOPT?
--- If you are going to install it on a networked computer, it would be somewhat tough and cumbersome. But you may refer to case 1 of the next response.
--- If you are going to install it on a PC, you have two options:
1- You can define the IPOPT address for Pyomo as follows:
import os
# Prepend your IPOPT directory to the PATH environment variable
os.environ['PATH'] = r'S:\Ipopt-3.11.1-win64-intel13.1\bin;' + os.environ['PATH']
solver = SolverFactory('ipopt')
2- My suggestion is to use AMPL. AMPL provides free academic solvers where you can register and then download IPOPT or any other non-linear solvers and then use it simply in your code snippet:
Then, go to the license portal
Please let me know if further information is needed.