Skip to content

Conversation

@rapids-bot
Copy link
Contributor

@rapids-bot rapids-bot bot commented Jan 30, 2026

Forward-merge triggered by push to release/26.02 that creates a PR to keep main up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

This PR extends the C API to add support for saving the problem to a file, adding initial primal and dual solutions for LP, and initial solutions for MIP. This functionality exists in the underlying C++ layer, and is a feature of most LP/MIP solver APIs available.
Kept as a draft for now, as it is intended as a proposal to iterate on.

closes #719
closes #720 


## Summary by CodeRabbit

* **New Features**
  * Write optimization problems to MPS files.
  * Set initial primal and dual solutions for LP solves and specify initial MIP starts.
  * Check semantic equivalence between optimization problems.

* **Enhancements**
  * Improved MPS writer: explicit handling of orphan variables and refined bounds/objective emissions.

* **Tests**
  * Added MPS write/read roundtrip tests to validate I/O and equivalence.

<sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub>

Authors:
  - Alice Boucher (https://github.com/aliceb-nv)
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Ramakrishnap (https://github.com/rgsl888prabhu)
  - Rajesh Gandham (https://github.com/rg20)

URL: #721
@rapids-bot rapids-bot bot requested review from a team as code owners January 30, 2026 15:12
@rapids-bot rapids-bot bot requested a review from tmckayus January 30, 2026 15:12
@GPUtester GPUtester merged commit 7c7e77d into main Jan 30, 2026
@rapids-bot
Copy link
Contributor Author

rapids-bot bot commented Jan 30, 2026

SUCCESS - forward-merge complete.

@rapids-bot rapids-bot bot requested review from Kh4ster and nguidotti January 30, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants