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
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.
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.
git clone https://github.com/coin-or/Couenne
cd Couenne
cd ThirdParty # Read INSTALL.* file in each subdirectory and get third party software
cd ..
mkdir build
cd build
../configure -C --prefix=/opt/conda # original instructions say to do ../configure -C
make
make install
Next Steps
Is this worth building a custom image?
We can test the installation of Couenne with this notebook. We can then change the following line opt = SolverFactory("glpk") to use Couenne or Bonmin.
The text was updated successfully, but these errors were encountered:
bryanpaget
changed the title
request(image): add support for Pyomo, Pulp along with Couenne and Bonmin optimizers
request(image): add support for Pyomo along with Couenne and Bonmin optimizers
Mar 15, 2022
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
The text was updated successfully, but these errors were encountered: