Skip to content

Conversation

@eminyouskn
Copy link
Contributor

Fixes

The initial implementation of KNITRO does not properly handle the mapping of solution statuses in cases where a time or iteration limit is reached, even when a feasible solution is available.

Summary/Motivation:

Changes proposed in this PR:

  • Update the solution status when the iteration limit or time limit is reached on KNITRO.

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@mrmundt
Copy link
Contributor

mrmundt commented Oct 21, 2025

It might be worth adding some tests to ensure that the different statuses are caught!

@eminyouskn
Copy link
Contributor Author

@mrmundt that's a good idea. I will add them now then.

@eminyouskn eminyouskn changed the title Fix KNITRO solution status mapping [Depends on #3765] Fix KNITRO solution status mapping Oct 21, 2025
@eminyouskn
Copy link
Contributor Author

This PR is also ready.

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.

3 participants