-
-
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
py3: fix doctests with cbc #28689
Comments
comment:1
The proposed solution unifies the behavior with cplex backend. New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:2
When I try to install
I think it's a race condition. Please try building with diff --git a/build/pkgs/cbc/spkg-install b/build/pkgs/cbc/spkg-install
index 058c488ea7..d1b6446620 100644
--- a/build/pkgs/cbc/spkg-install
+++ b/build/pkgs/cbc/spkg-install
@@ -15,4 +15,4 @@ sed -i -e "s/clock\_gettime ()/Grrrrrrrrrrrr\ ()/g" Cbc/configure || \
sdh_configure --enable-cbc-parallel --enable-parallel \
--enable-gnu-packages --enable-static
sdh_make
-sdh_make_install
+sdh_make_install -j1 |
comment:3
I don't understand what you are asking me to try, and note that I'm using a 5 years old macbook air with a dual core i7 1,7 GHz CPU... |
comment:4
Please set If you do see this problem, then see if my proposed fix works. Maybe other reviewers could do the same testing. |
comment:5
I tried with |
comment:6
For me, too. |
comment:7
feel free to push required changes here (branch in public) |
comment:8
I get a doctest failure:
I don't know what this has to do with |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:11
I don't have gurobi installed, but I have the same issue with
Applying the same receipe than for |
comment:12
I don't have gurobi installed either, by the way. |
comment:13
The corresponding doctest in |
Reviewer: John Palmieri |
comment:14
Okay, looks good to me. |
Changed branch from public/linear_programming/28689_cbc to |
The following doctests are failing with py3 and cbc, but not with py2. This is due to a different behavior of
round
called inget_variable_value
.Component: linear programming
Author: David Coudert
Branch/Commit:
0bbdca8
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/28689
The text was updated successfully, but these errors were encountered: