cdiener / cobra-docker

Dockerfile to build a single user jupter notebook server running cobrapy and additional tools for flux-based modeling.
https://opencobra.github.io/cobrapy/
MIT License
2 stars 0 forks source link

Silent installation of CPlex in the dockerfile #2

Open chriscatalyticds opened 6 years ago

chriscatalyticds commented 6 years ago

The Dockerfile states that the installation of CPLEX is interactive, which is true by default, however there is the option to provide a configuration file along with the "silent" command to install non-interactively.

See here: https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.studio.help/Optimization_Studio/topics/td_silent_install.html

Would it be possible to update this repository to include CPLEX in the dockerfile as a silent build? I have already successfully installed CPLEX using this method inside a dockerfile so I know it's possible.

cdiener commented 6 years ago

Sure, that makes sense. Will look into it and also try to add Gurobi support while I'm at it :)

chriscatalyticds commented 6 years ago

@cdiener Just realized there is a conda package https://anaconda.org/IBMDecisionOptimization/cplex

Do you think it would be sufficient to simply install using conda instead of the manual process? That would be an easy update to the dockerfile if so.

cdiener commented 6 years ago

This one is limited to 1000 variables and 1000 constraints and most metabolic models are above that limit...