From 216977733703b3963d4f8c27303d5d76f9028d30 Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 10:04:51 -0500 Subject: [PATCH 1/5] disable few tests --- python/cuopt_server/cuopt_server/tests/test_lp.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/cuopt_server/cuopt_server/tests/test_lp.py b/python/cuopt_server/cuopt_server/tests/test_lp.py index 4a01daaca3..4f188b837f 100644 --- a/python/cuopt_server/cuopt_server/tests/test_lp.py +++ b/python/cuopt_server/cuopt_server/tests/test_lp.py @@ -155,10 +155,12 @@ def test_sample_milp( [ # Test automatic settings (default) (-1, -1, -1, -1, True, False, -1), + # Enable barrier solver options when this issue is resolved https://github.com/NVIDIA/cuopt/issues/519 # Test folding off, no dualization, cuDSS default ordering, ADAT system - (0, 0, 0, 0, True, False, 0), + # (0, 0, 0, 0, True, False, 0), + # Enable barrier solver options when this issue is resolved https://github.com/NVIDIA/cuopt/issues/519 # Test folding on, force dualization, AMD ordering, augmented system - (1, 1, 1, 1, True, True, 1), + # (1, 1, 1, 1, True, True, 1), # Test mixed settings: automatic folding, no dualize, AMD, augmented (-1, 0, 1, 1, False, False, 0), # Test no folding, automatic dualize, cuDSS default, ADAT From 3b890c2b4829b15b96f3d91a2a6f02d2abe280f6 Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 10:05:45 -0500 Subject: [PATCH 2/5] fix style --- python/cuopt_server/cuopt_server/tests/test_lp.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/cuopt_server/cuopt_server/tests/test_lp.py b/python/cuopt_server/cuopt_server/tests/test_lp.py index 4f188b837f..00c266c9f7 100644 --- a/python/cuopt_server/cuopt_server/tests/test_lp.py +++ b/python/cuopt_server/cuopt_server/tests/test_lp.py @@ -155,10 +155,12 @@ def test_sample_milp( [ # Test automatic settings (default) (-1, -1, -1, -1, True, False, -1), - # Enable barrier solver options when this issue is resolved https://github.com/NVIDIA/cuopt/issues/519 + # Enable barrier solver options when this issue is resolved + # https://github.com/NVIDIA/cuopt/issues/519 # Test folding off, no dualization, cuDSS default ordering, ADAT system # (0, 0, 0, 0, True, False, 0), - # Enable barrier solver options when this issue is resolved https://github.com/NVIDIA/cuopt/issues/519 + # Enable barrier solver options when this issue is resolved + # https://github.com/NVIDIA/cuopt/issues/519 # Test folding on, force dualization, AMD ordering, augmented system # (1, 1, 1, 1, True, True, 1), # Test mixed settings: automatic folding, no dualize, AMD, augmented From 4fb9cbff568e57e6a875c2b153da613c3d894bd6 Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 10:15:06 -0500 Subject: [PATCH 3/5] fix issues --- python/cuopt_server/cuopt_server/tests/test_lp.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/cuopt_server/cuopt_server/tests/test_lp.py b/python/cuopt_server/cuopt_server/tests/test_lp.py index 00c266c9f7..2c7333e915 100644 --- a/python/cuopt_server/cuopt_server/tests/test_lp.py +++ b/python/cuopt_server/cuopt_server/tests/test_lp.py @@ -159,8 +159,6 @@ def test_sample_milp( # https://github.com/NVIDIA/cuopt/issues/519 # Test folding off, no dualization, cuDSS default ordering, ADAT system # (0, 0, 0, 0, True, False, 0), - # Enable barrier solver options when this issue is resolved - # https://github.com/NVIDIA/cuopt/issues/519 # Test folding on, force dualization, AMD ordering, augmented system # (1, 1, 1, 1, True, True, 1), # Test mixed settings: automatic folding, no dualize, AMD, augmented From c50950d2002bfae6b52d224bde7c7de88ba7e939 Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 10:21:33 -0500 Subject: [PATCH 4/5] fix issues --- python/cuopt_server/cuopt_server/tests/test_lp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/cuopt_server/cuopt_server/tests/test_lp.py b/python/cuopt_server/cuopt_server/tests/test_lp.py index 2c7333e915..7933f920ba 100644 --- a/python/cuopt_server/cuopt_server/tests/test_lp.py +++ b/python/cuopt_server/cuopt_server/tests/test_lp.py @@ -148,7 +148,6 @@ def test_sample_milp( ) -# @pytest.mark.skip(reason="Skipping barrier solver options test") @pytest.mark.parametrize( "folding, dualize, ordering, augmented, eliminate_dense, cudss_determ, " "dual_initial_point", From 0c8550b2e5cbb5e31dfa42eb9f0f998dad70093e Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 11:13:23 -0500 Subject: [PATCH 5/5] disbale all barrier tests --- python/cuopt_server/cuopt_server/tests/test_lp.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python/cuopt_server/cuopt_server/tests/test_lp.py b/python/cuopt_server/cuopt_server/tests/test_lp.py index 7933f920ba..6d8ab5dc8f 100644 --- a/python/cuopt_server/cuopt_server/tests/test_lp.py +++ b/python/cuopt_server/cuopt_server/tests/test_lp.py @@ -148,18 +148,20 @@ def test_sample_milp( ) +@pytest.mark.skip( + reason="Enable barrier solver options when issue " + "https://github.com/NVIDIA/cuopt/issues/519 is resolved", +) @pytest.mark.parametrize( "folding, dualize, ordering, augmented, eliminate_dense, cudss_determ, " "dual_initial_point", [ # Test automatic settings (default) (-1, -1, -1, -1, True, False, -1), - # Enable barrier solver options when this issue is resolved - # https://github.com/NVIDIA/cuopt/issues/519 # Test folding off, no dualization, cuDSS default ordering, ADAT system - # (0, 0, 0, 0, True, False, 0), + (0, 0, 0, 0, True, False, 0), # Test folding on, force dualization, AMD ordering, augmented system - # (1, 1, 1, 1, True, True, 1), + (1, 1, 1, 1, True, True, 1), # Test mixed settings: automatic folding, no dualize, AMD, augmented (-1, 0, 1, 1, False, False, 0), # Test no folding, automatic dualize, cuDSS default, ADAT