Skip to content

[BUG] test_incumbent_get_set_callback[swath1.mps] fails with TimeLimit on oldest-deps config #1543

Closed

Description

@ramakrishnap-nv

The MILP incumbent-callback test hits the 10s time limit and returns TimeLimit instead of FeasibleFound/Optimal, failing the assertion.

Failure

>       assert termination in (
            MILPTerminationStatus.FeasibleFound,
            MILPTerminationStatus.Optimal,
        )
E       assert <MILPTerminationStatus.TimeLimit: 5> in (<MILPTerminationStatus.FeasibleFound: 8>, <MILPTerminationStatus.Optimal: 1>)
tests/linear_programming/test_incumbent_callbacks.py:90: AssertionError

Analysis

The test fixes CUOPT_TIME_LIMIT = 10 and asserts a feasible/optimal termination (test_incumbent_callbacks.py:83, :90). On the slowest matrix entry (oldest-deps, earliest-driver, CUDA 12.2.2, L4) swath1.mps does not reach a feasible solution within 10s, so the solver returns TimeLimit and the assertion fails. Appears environment/timing-sensitive rather than a solver correctness bug.

Possible fixes

  • Treat TimeLimit gracefully (skip/soft-pass when no incumbent fired within the limit), similar to the existing root-node skip at test_incumbent_callbacks.py:98.
  • Or raise the time limit for this test / use a smaller MIP instance on the oldest-deps config.

Related (closed)

Activity

  1. added this to the 26.08 milestone on Jul 8, 2026
  2. added
    bugSomething isn't working
    pythonPull requests that update python code
    on Jul 8, 2026
  3. chris-maes commented on Jul 28, 2026

    @chris-maes
    Contributor

    @aliceb-nv did you fix this in one of your PRs?

  4. ramakrishnap-nv commented on Jul 28, 2026

    @ramakrishnap-nv
    CollaboratorAuthor

    This is not disabled, so we can close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingmippythonPull requests that update python code

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions