-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Hi everyone, I just want to document my setup on MacOS, as this may help other users. Please find the instructions below.
First, install IpOpt from Homebrew (this is a temporary solution until the formula is accepted in homebrew-core):
brew install dartsim/dart/ipopt
This should install the optional libraries, including OpenBLAS, if not already installed. Next, clone the pyipopt git repository to a local directory and enter that directory:
git clone http://github.com/xuy/pyipopt.git
cd pyipopt
Next, modify two variables in the setup.py configuration file as follows:
nano setup.py
IPOPT_DIR = '/usr/local/Cellar/ipopt/3.12.9/'
libraries = ['ipopt', 'openblas', 'dmumps', 'metis', 'lapack', 'dl', 'm']
Finally, install the pyipopt package:
python setup.py build
python setup.py install
Everything should work.
Metadata
Metadata
Assignees
Labels
No labels