-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
- File "numerical/backends/generic_backend.pyx", line 1153, the following doctest is wrong if gurobi is available
sage: default_mip_solver("GUROBI")
Traceback (most recent call last):
...
ValueError: Gurobi is not available. Please refer to the
documentation to install it.
- File "numerical/backends/cplex_backend.pyx", line 861
Failed example:
p.solve() # optional - CPLEX
Expected:
Traceback (most recent call last):
...
MIPSolverException: 'CPLEX: The primal has no feasible solution'
Got:
Traceback (most recent call last):
...
MIPSolverException: CPLEX: The primal has no feasible solution
- File "numerical/backends/gurobi_backend.pyx", line 686
Failed example:
p.solve() # optional - Gurobi
Expected:
Traceback (most recent call last):
...
MIPSolverException: 'Gurobi: The problem is infeasible'
Got:
Traceback (most recent call last):
...
MIPSolverException: Gurobi: The problem is infeasible
- File "numerical/backends/gurobi_backend.pyx", line 449
Failed example:
p.get_values([x,y]) # optional - Gurobi
Expected:
[0.0, 3.0]
Got:
[-0.0, 3.0]
- File "numerical/backends/gurobi_backend.pyx", line 484
Failed example:
p.row(0) # optional - Gurobi
Expected:
([0, 1, 2, 3, 4], [0.0, 1.0, 2.0, 3.0, 4.0])
Got:
([1, 2, 3, 4], [1.0, 2.0, 3.0, 4.0])
- File "numerical/backends/gurobi_backend.pyx", line 554
Failed example:
p.row(0) # optional - Gurobi
Expected:
([0, 1, 2, 3, 4], [0.0, 1.0, 2.0, 3.0, 4.0])
Got:
([1, 2, 3, 4], [1.0, 2.0, 3.0, 4.0])
- File "numerical/backends/gurobi_backend.pyx", line 607
Failed example:
p.row(0) # optional - Gurobi
Expected:
([0, 1, 2, 3, 4], [0.0, 1.0, 2.0, 3.0, 4.0])
Got:
([1, 2, 3, 4], [1.0, 2.0, 3.0, 4.0])
Depends on #19525
Component: linear programming
Author: Matthias Koeppe
Branch: cfaf157
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/20328