You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SCIP can be installed using Conda (requires an activated Conda environment): conda install -c conda-forge scip
However, this also causes a different (in the sense of non-idaes-ext) version of IPOPT to be installed in the Conda environment:
$ python -c "from pyomo.environ import SolverFactory as F; s = F('ipopt'); print(s.executable())"
/opt/conda/envs/test-idaes-scip/bin/ipopt
$ python -c "import idaes; from pyomo.environ import SolverFactory as F; s = F('ipopt'); print(s.executable())"
/home/ludo/.idaes/bin/ipopt
My vague concern is that having two versions of IPOPT might lead to hard(er)-to-debug environment issues. However, I don't know enough about the Pyomo solver interface and/or the internals of idaes-ext to understand whether this can be problematic, so I've opened this issue as a spin-off of an ongoing conversation with @andrewlee94 to discuss it with a wider group.
The text was updated successfully, but these errors were encountered:
An alternative is to install it with pip install -i https://pypi.ampl.com ampl_module_scip. It looks like this is a static build of scip, and therefore won't interfere with the IDAES ipopt build.
To get Pyomo to see the executable, you either need to add a directory to the PATH before importing Pyomo:
conda install -c conda-forge scip
idaes-ext
) version of IPOPT to be installed in the Conda environment:My vague concern is that having two versions of IPOPT might lead to hard(er)-to-debug environment issues. However, I don't know enough about the Pyomo solver interface and/or the internals of
idaes-ext
to understand whether this can be problematic, so I've opened this issue as a spin-off of an ongoing conversation with @andrewlee94 to discuss it with a wider group.The text was updated successfully, but these errors were encountered: