Closed abadithela closed 1 year ago
This looks like an error in your Ipopt installation, and not a problem with Pyomo: Ipopt is linked against gfortran, and it looks like OSX cannot find a compatible gfortran library. You can verify this by trying to run ipopt
at the command line and seeing if you get the same error.
Summary
I ran the following command to solve a bilevel optimization on my MacOS with Apple Silicon M2. I ran this code inside a conda environment.
Steps to reproduce the issue
Python script to reproduce this issue:
The command to run:
Error Message
Information on your system
Pyomo version: 6.6.2 (CPython 3.10.11 on Darwin 22.5.0) Python version: 3.10.11 Operating system: MacOS Venture 13.4 on Apple M2 Pro chip How Pyomo was installed (PyPI, conda, source): Pyomo was installed in my conda environment with the command:
python -m pip install pyomo
Solver (if applicable): pao.pyomo.REG, but the error trace shows ipopt.Additional Information
The above script is a simple illustration of the problem I'm facing. For my application, I need to use the pao.pyomo.REG solver. This simple script successfully runs if the solver is replaced by pao.pyomo.FA as follows: