coin-or / python-mip

Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
Eclipse Public License 2.0
538 stars 95 forks source link

[QUESTION] conda-forge release? #56

Open jGaboardi opened 4 years ago

jGaboardi commented 4 years ago

I was wondering if there are any plans to create a release for mip on conda-forge?

tuliotoffolo commented 4 years ago

Actually, we haven’t considered this possibility. Would you point out the advantages of also releasing mip via conda-forge? We currently do it via only via pip (http://pip.pypa.io). Em 29 de jan de 2020 11:07 -0300, James Gaboardi notifications@github.com, escreveu:

I was wondering if there are any plans to create a release for mip on conda-forge? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jGaboardi commented 4 years ago
h-g-s commented 4 years ago

Hi @jGaboardi , thanks for making us aware of conda-forge. We currently supply pre-built binaries for the tree platforms in the pip package, but the solution is ugly: the binaries for all three platforms are installed in the user computer with the package and only in runtime the platform is detected and the right native shared library is used. It would be much more efficient to have different packages for different architectures, what seems to be possible with conda-forge. I'll study how to create these packages. If you have some pointers please share it here.

jGaboardi commented 4 years ago

@tuliotoffolo @tuliotoffolo I am more than happy to contribute. I think a good starting point for mip is to see how pulp's conda-forge release is built --> conda-forge/pulp-feedstock.

tuliotoffolo commented 4 years ago

Thanks, James. We’ll take a look at it! Em 3 de fev de 2020 22:53 -0300, James Gaboardi notifications@github.com escreveu:

@tuliotoffolo @tuliotoffolo I am more than happy to contribute. I think am good starting point for mip is to see how pulp's conda-forge release is built --> conda-forge/pulp-feedstock. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

jGaboardi commented 4 years ago

Food for thought: grayskull

jGaboardi commented 3 years ago

xref #192

tkralphs commented 3 years ago

@jGaboardi thanks for bringing this up again. I guess the reasons have already been well laid out, but I will just reiterate that conda-forge does a great job of solving the problem of how to distribute cross-platform binaries. If nothing else, it allows that problem to be solved once rather than over and over by each person who maintains a Python package depending on Cbc. It allows us to focus separately on just the task of packaging Cbc in a way that is useful for Python packages that need to use it. This would be a big improvement on what python-mip is currently doing.

There is one caveat and that is that the conda-forge package currently doesn't provide Windows binaries. That will only happen once we get the current development version out to release.

JoOkuma commented 6 months ago

Hi @tkralphs and @tuliotoffolo,

I'm trying to upload a package that depends on python-mip to conda-forge and requires all dependencies to be in there. Would you be fine with me creating a conda recipe for it and including the maintainers of python-mip in it?