Skip to content

Add ConflictCount and conflict_index to ConstraintConflictStatus #2775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joaquimg
Copy link
Member

This is a request for comments.

While implementing:

It became clear that returning multiple conflicts is very useful, for instance, when returning multiple bound conflicts.

Moreover, I know that Xpress supports returning multiple conflicts.

The ListOfConstraintIndicesInConflict can be more controversial and left for another PR.

@joaquimg joaquimg changed the title [WIP] New conflict attributes [RFC] New conflict attributes Jun 13, 2025
@odow
Copy link
Member

odow commented Jul 9, 2025

What's the plan with this? I think we are agreed that returning multiple IIS is useful. But another ListOf... is not needed.

@joaquimg
Copy link
Member Author

I will cleanup and remove the ListOf...

@odow
Copy link
Member

odow commented Jul 17, 2025

Let's discuss this tomorrow

@odow odow changed the title [RFC] New conflict attributes Add ConflictCount and conflict_index to ConstraintConflictStatus Jul 17, 2025
@odow
Copy link
Member

odow commented Jul 17, 2025

Do we need a corresponding error like MOI.ResultIndexBoundsError?

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

Successfully merging this pull request may close these issues.

3 participants