Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How to install IPOPT-3.14.16

46 views
Skip to first unread message

To To

unread,
Nov 30, 2024, 6:09:41 AM11/30/24
to Pyomo Forum
Hello,

I want to install IPOPT-3.14.16 from https://github.com/coin-or/Ipopt/releases and use it in Pyomo.

Is it possible to use the files in Ipopt-3.14.16-win64-msvs2019-md.zip or Ipopt-3.14.16-win64-msvs2019-mdd.zip to be used with Pyomo? If so, what the are steps please?

I saw there is an ipopt.exe file installed by anaconda. Can I just replace the ipopt.exe with the one in Ipopt-3.14.16-win64-msvs2019-md.zip or Ipopt-3.14.16-win64-msvs2019-mdd.zip? Where should I put all the other files and folders of Ipopt-3.14.16-win64-msvs2019-md.zip or Ipopt-3.14.16-win64-msvs2019-mdd.zip to let Pyomo use this new version of Ipopt?

Thank you.

Ahmad Heidari

unread,
Mar 12, 2025, 11:20:00 AMMar 12
to Pyomo Forum
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.

Reply all
Reply to author
Forward
0 new messages