-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
optional package cbc-2.3.p2.spkg does not build on some platforms on sage-4.7.1.alpha1 #11444
Comments
comment:1
This did install normally on 4.7.1.alpha1 on Mac OS X 10.6. So perhaps it's just certain Linuces that don't work. On a related note, there seems to be exactly one set of doctests which even require this package optionally. I'm surprised that numerical/backends/ and the graph stuff doesn't. I'm cc:ing Nathann about this. After all, hopefully optional tests are at least sometimes run for major releases... And when I run them, I get
And all the ones with 'generic backend' fail as well... Nathann? |
comment:2
Hellooooooo !!! Well, this doctest has been written before GLPK got installed as a standard spkg. Since then, a function using LP needs not be optional anymore. On the other hand, if you have CBC or CPLEX installed, the LP will be solved with them instead of GLPK. The truth is this #optional keyword could be removed. The only occurrences of "#optional CBC" should appear in the file numerical/backends/coin_backend.pyx Nathann |
comment:3
Replying to @nathanncohen:
Interesting! So maybe we should open another ticket to fix that. That doesn't explain this doctest, though I have to admit I rarely run optional doctests because they usually involve programs I don't have. |
comment:4
Then maybe this doctest should be removed. We've been adding a very hard one in #11324 anyway, so this small example could disappear without much to worry about. This is a problem that appears very often with LP solvers : they all give good answers, but it's a mess to write doctests when the answers have no reason to be unique If it's fine by you I can modify my patch at #11324 to fix it there ! Nathann |
comment:5
Replying to @nathanncohen:
Is there no way to generate a "canonical" answer from both packages? (Does that even make sense mathematically? I'm not familiar with the gale ryser theorem.) If not, I agree with Nathann. |
Changed keywords from none to sd32 |
comment:7
Not that I know. When I write doctests using LP, I try to find examples for which the solution is unique, but there are many matrices solving the gale-ryser proble (ryser's algorithm even lets one enumerate them), and the solvers have no reason to return one rather than the other. Adding a fake objective functions to make the answer unique on the same problem would touch the running time just to make the doctests easier to write, which clearly isn't a good idea :-D Nathann |
comment:8
This is listed as a "high priority" bug for sage days 40.5, but sage-4.7.1 is way out of date, and the cbc package has since been updated to a newer version. Should the status of this ticket be changed to invalid or obsolete, if possible, or can someone test sage-5.0 on the systems reported as defective, or... something? |
comment:9
Dan Drake is just now trying |
Changed keywords from sd32 to sd32 sd40.5 |
Reviewer: Karl-Dieter Crisman, Dan Drake, John Perry |
comment:10
Replying to @kcrisman:
Does he have the same hardware? I know it builds on x86_64 with Phenom, and x86_32 Pentium something-or-other (I have an OLD computer at home :-)) and some other machine at work. i think the problem is whether it builds on the specific hardware listed. |
comment:12
As discussed and relevant to comment:2, this definitely was a typo.
As regards John's comment, this is exactly the place where the problem is reported. I've reported the typo to the appropriate person, so this is good to go. |
The optional package cbc-2.3.p2.spkg does not build on skynet/eno (x86_64-Linux-core2-fc) on sage-4.7.1.alpha1:
CC: @nathanncohen @kcrisman @dandrake
Component: packages: optional
Keywords: sd32 sd40.5
Reviewer: Karl-Dieter Crisman, Dan Drake, John Perry
Issue created by migration from https://trac.sagemath.org/ticket/11444
The text was updated successfully, but these errors were encountered: