Describe the bug
This assert is triggered in CI and fails with attached example, this happens in assert mode.
https://github.com/NVIDIA/cuopt/blob/branch-25.08/cpp/src/mip/problem/problem.cu#L1211
python: /__w/cuopt/cuopt/cpp/src/mip/problem/problem.cu:1211: void cuopt::linear_programming::detail::problem_t<i_t, f_t>::remove_given_variables(cuopt::linear_programming::detail::problem_t<i_t, f_t>&, rmm::device_uvector<f_t>&, rmm::device_uvector<T>&, const raft::handle_t*) [with i_t = int; f_t = double]: Assertion `variable_map.size() < n_variables&& "Too many variables to fix"' failed.
Steps/Code to reproduce bug
Run attached python example
test.zip
Enable assert mode while building locally
or use cuopt_cli with the mps file attached below
milp_problem.zip
file
Expected behavior
Test should pass
Describe the bug
This assert is triggered in CI and fails with attached example, this happens in assert mode.
https://github.com/NVIDIA/cuopt/blob/branch-25.08/cpp/src/mip/problem/problem.cu#L1211
Steps/Code to reproduce bug
Run attached python example
test.zip
Enable assert mode while building locally
or use cuopt_cli with the mps file attached below
milp_problem.zip
file
Expected behavior
Test should pass