Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move mip_coin and mip_glpk to Sage #7804

Closed
nathanncohen mannequin opened this issue Jan 1, 2010 · 12 comments
Closed

Move mip_coin and mip_glpk to Sage #7804

nathanncohen mannequin opened this issue Jan 1, 2010 · 12 comments

Comments

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Jan 1, 2010

Hello !!

This patches moves the files mip_coin and mip_glpk to Sage. They are currently included in the packages CBC and GLPK and are a lot harder to work on because of this.

This patch copies them in sage/numerical/ and adds several lines to modules_list so that they will only be compiled if the corresponding packages are installed.

For the moment, the copies of these files included in the packages will not be removed, in order to preserve backward-compatibility : the users of earlier versions of Sage will then be able to keep using the same packages.

*Only the changes to file modules_list need to be reviewed -- mip_coin and mip_glpk are copies of what is included in the spkg and have already been checked ! This should be a short review :-) *

CC: @sagetrac-mvngu

Component: numerical

Author: Nathann Cohen

Reviewer: Robert Miller

Merged: sage-4.3.1.alpha2

Issue created by migration from https://trac.sagemath.org/ticket/7804

@nathanncohen nathanncohen mannequin added c: algebra labels Jan 1, 2010
@nathanncohen nathanncohen mannequin assigned aghitza Jan 1, 2010
@nathanncohen nathanncohen mannequin added the s: needs review label Jan 1, 2010
@nathanncohen nathanncohen mannequin added this to the sage-4.3.1 milestone Jan 1, 2010
@nathanncohen nathanncohen mannequin added c: numerical and removed c: algebra labels Jan 1, 2010
@nathanncohen

This comment has been minimized.

@nathanncohen nathanncohen mannequin changed the title Move mipCoin and mipGlpk to Sage Move mip_coin and mip_glpk to Sage Jan 4, 2010
@williamstein
Copy link
Contributor

comment:5

I was curious and skimmed this patch for ~ 3 minutes and it "looks good" (not a positive review -- I didn't test it yet).

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jan 11, 2010

comment:6

Attachment: trac_7804.patch.gz

I just modified it so that it is now independent from the huge changes going on in graph.py. Would it be possible to have this merged to the next release ? It would let me write another speed-up patch now that solve_glpk and solve_cbc are available ;-)

Nathann

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jan 13, 2010

Merged: 4.3.1.alpha2

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jan 13, 2010

Author: Nathann Cohen

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jan 13, 2010

comment:7

positive review

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jan 13, 2010

Reviewer: Robert Miller

@rlmill rlmill mannequin removed the s: needs review label Jan 13, 2010
@rlmill rlmill mannequin closed this as completed Jan 13, 2010
@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jan 13, 2010

comment:8

Yessssssssssss !! :-) Thanks !!!!

Nathann

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Jan 13, 2010

Changed merged from 4.3.1.alpha2 to sage-4.3.1.alpha2

@jhpalmieri
Copy link
Member

comment:10

How did this get a positive review when the new pyx files have no doctests?

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jan 13, 2010

comment:11

That's a good point-- I suppose my review was a bit rushed.

Nathann,

Do you want to make a separate ticket for making some doctests here, or would you prefer it if I just pull the patch back out?

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jan 14, 2010

comment:12

see #7925 :-)

But they will be way harder to write with the spkg GLPK and cbc broken :-/

Nathann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants