[FEA] cuOpt should exit the solve gracefully on SIGINT
Nobody has claimed this yet.
- Dominant language
- Cuda
- Stars
- 1k
- Forks
- 233
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 95
Description
We received the following request from a user
Many solvers handle SIGINT (Ctrl-C) gracefully by terminating while still returning the best available solution. Currently, cuOpt ignores SIGINT and continues running, while SIGTERM results in an immediate termination
We should treat SIGINT as another limit (similar to hitting a time or iteration limit) where we return information, partial solution, and status of the solve, even if the solve is not complete.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating cuOpt's signal-handling and solve-termination paths, then compare SIGINT with SIGTERM and existing time or iteration limits. Done means Ctrl-C returns the best available or partial solution and solve status instead of continuing, while SIGTERM still terminates immediately.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100