Closed adowling2 closed 6 months ago
There is no cyipopt exectuable because the package does not have one. It is only a python package and importable in python. I don't know anything about how pyomo uses cyipopt. Did you try running cyipopt's examples?
Also, it seems you are mixing conda forge packages with packages from other channels. Conda forge recommends against that practice due to high chance for incompatibilities.
@moorepants Thank you for the quick response and suggestion. I'm working with the examples now and getting an issue with mumps not being able to find liblapack
despite it being installed via conda. I'll update here once I get it working and then likely close this issue. Thank you for your service to the community!
My recommendation would be to try a conda-forge only env:
conda create -n cyipopt -c conda-forge cyipopt
conda activate cyipopt
python hs071.py
If you mix conda forge and default channel packages, I've seen it break cyipopt before. You can get a mismatched lapack for example.
@moorepants I was able to get the example working with your suggestion.
Great, I'll close this.
I installed cyipopt with
conda install -c conda-forge cyipopt
.Unfortunately, I am getting the error
cyipopt is not available
when calling the solver from Pyomo.Looking in the folder
/Users/adowling/opt/anaconda3/envs/measurement_optimization/bin
, I see executablesipopt
andipopt_sens
but notcyipopt
.Here is the output for
conda list
: