-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
doctests failures in sage/graphs when using COIN solver #30635
Comments
comment:1
I suspect it is due to coin. Can you try for instance
fedora 32, with cplex as default solver, I get
same on macOS 10.15.6 but with only cplex as optional package. |
comment:2
Ok, I see, I need to reinstall Gurobi and/or CPLEX again, but I haven't needed it recently. I get this:
|
comment:3
So something is wrong with cbc/coin. I never use it... FYI, the |
comment:4
What is weird is that vertices 0 and 8 are not a key of the dictionnary "found" by coin:
|
comment:6
Do you think #30637 is also cbc/coin related? |
This comment has been minimized.
This comment has been minimized.
comment:9
What is the difference between cbc and coin? Can I use
|
comment:10
I confirm that the issue dissappear after installing cbc:
|
comment:11
Something is weird in the configuration, because I did
So, I should not need to run |
comment:12
I'm not completely sure of what If installing cbc is sufficient to fix the issues, it confirms that we must clarify when we can use Concerning configuration / installation, I suggest to ask Dima or Matthias. |
comment:13
adding Matthias in cc here. Questions are:
|
comment:14
Note, however, that |
comment:15
ok, I see, and I have
installed on the system as opposed to |
comment:16
and the latest release version of Cbc is 2.10.5 |
comment:17
Should
instead return
if cbc 2.9.9 was found on the system by the |
This comment has been minimized.
This comment has been minimized.
comment:19
Replying to @seblabbe:
Best to ignore |
comment:20
Replying to @seblabbe:
This seems to come from this code in
which ignores the fact that a numerical solver is used and therefore |
comment:21
Testing with cbc 2.10.5 (upgrade at #30644), the doctest failure stays. |
comment:22
Replying to @mkoeppe:
well, |
comment:23
Replying to @seblabbe:
I have cbc 2.10.5 installed with hombrew, and after
|
comment:24
Replying to @dcoudert:
OK,
In deed, "at least"... this is severely broken code when |
comment:25
If I'm correct, there is a confusion in the graph module between coin and cbc. Most of the models should be solved with ILP solvers, so |
comment:26
Replying to @dcoudert:
Sage only has one solver backend from the COIN-OR project, and that is the CBC solver, which we use both for mixed integer linear programming and linear programming. The string
|
comment:39
Also no error with |
comment:40
However, I do get errors with the |
comment:41
That's a bug that will need investigating. https://coin-or.github.io/Cbc/cbcmodelclass.html: Primal column solution
The OSI method will return the best solution found thus far, unless none has been found. It is safer to use CbcModel version, CbcModel::bestSolution()" |
comment:44
With 'glpk' instead of 'ppl' it's quick and correct (no such minor). With Coin/cbc (from #30644, but do not forget to An interface bug? (both for PPL and Coin/cbc?) |
comment:45
Replying to @dimpase:
This is a MIP model with 117 binary variables, 344 total variables. Just way out of league for PPL. No bug here |
comment:47
Stalled in |
comment:49
Obsolete after #30644 |
Reviewer: David Coudert |
comment:50
So then. |
On Ubuntu 18.04, with 9.2.beta13, running
with the following optional packages:
gives
Seems to be related to cbc/coin. Here are the involved versions:
Depends on #30644
CC: @mkoeppe @dimpase
Component: graph theory
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/30635
The text was updated successfully, but these errors were encountered: