Open bryanpaget opened 2 years ago
I've run into a networking obstacle and cannot finish building this image. I have uploaded the (WIP) Dockerfile for Pyomo here: https://github.com/bryanpaget/aaw-contrib-containers/blob/pyomo/pyomo/Dockerfile.
Additionally, the following Dockerfile https://github.com/coin-or-tools/optimization-suite-docker may be enough to get COIN-OR optimization tools running for some applications. I tested the coin-or-tools image and it does indeed run Couenne (one of the requested optimizers).
Description of Request
I'd like to make a request (on behalf of an AAW client) for a custom image for Pyomo which is a mathematical optimization package for Python. I've made this request because it is difficult to install some of the custom optimization algorithms (Couenne and Bonmin in particular). More information about these optimizers can be found here: COIN-OR.
Pyomo is easy to install through Conda but there are a couple of optimizers the user wants that are more difficult to install.
What Have I Done So Far
I have followed the instructions found here on https://www.pyomo.org/installation, which for brevity's sake involves:
I also install
pyomo
viapip
.I was unable to install
pyomo.extras
from Anaconda but that package has not been updated for 3 years.Results
I was able to install Pyomo, but Couenne is not included with the above. Couenne requires manual compilation.
Compilation of Couenne
I attempted a compilation of Couenne (following instructions from https://github.com/coin-or/Couenne) using Conda's installation location as the installation prefix. This did not work. I could just be missing something. :-) Compilation finishes successfully but Couenne is not found in the path.
Next Steps
opt = SolverFactory("glpk")
to useCouenne
orBonmin
.References