Skip to content

Commit efe5fe7

Browse files
authored
TST: optimize.linprog/milp: add tests for various bug reports (scipy#20589)
* TST: optimize.linprog/milp: add tests for various bug reports Tests from this PR were actually added in scipygh-21565; this just removes a skip condition from the scipygh-18907 test because it seems to be passing in CI.
1 parent e0b3d92 commit efe5fe7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scipy/optimize/tests/test_milp.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def test_mip_rel_gap_passdown():
387387
# monotonically with the mip_rel_gap parameter.
388388
assert np.all(np.diff(sol_mip_gaps) < 0)
389389

390-
@pytest.mark.xfail(reason='Upstream / Wrapper issue, see gh-20589')
390+
@pytest.mark.xfail(reason='Upstream / Wrapper issue, see gh-20116')
391391
def test_large_numbers_gh20116():
392392
h = 10 ** 12
393393
A = np.array([[100.4534, h], [100.4534, -h]])
@@ -400,9 +400,6 @@ def test_large_numbers_gh20116():
400400
assert np.all(A @ res.x < b)
401401

402402

403-
@pytest.mark.skipif(_IS_32BIT,
404-
reason="Fails on 32 bit.",
405-
)
406403
def test_presolve_gh18907():
407404
from scipy.optimize import milp
408405
import numpy as np

0 commit comments

Comments
 (0)