Skip to content
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

Falsely declared support for MOI.Integer #244

Closed
odow opened this issue Jun 23, 2024 · 1 comment · Fixed by #245
Closed

Falsely declared support for MOI.Integer #244

odow opened this issue Jun 23, 2024 · 1 comment · Fixed by #245
Labels

Comments

@odow
Copy link
Collaborator

odow commented Jun 23, 2024

This should be false:

function MOI.supports_constraint(
::Optimizer,
::Type{MOI.VariableIndex},
::Type{MOI.Integer},
)
return true
end

See jump-dev/MathOptInterface.jl#2517

@LebedevRI
Copy link
Contributor

LebedevRI commented Jun 23, 2024

But won't that also forbid Binary variables?

LebedevRI added a commit to LebedevRI/Alpine.jl that referenced this issue Jun 27, 2024
They really are not supported, and the claim is only there
to provide a nice diagnostic.

But that prevents MOI `IntegerToZeroOneBridge` from triggering,
and providing Alpine with transparent support for them.

Fixes lanl-ansi#244
LebedevRI added a commit to LebedevRI/Alpine.jl that referenced this issue Jun 27, 2024
They really are not supported, and the claim is only there
to provide a nice diagnostic.

But that prevents MOI `IntegerToZeroOneBridge` from triggering,
and providing Alpine with transparent support for them.

Fixes lanl-ansi#244
LebedevRI added a commit to LebedevRI/Alpine.jl that referenced this issue Jun 28, 2024
They really are not supported, and the claim is only there
to provide a nice diagnostic.

But that prevents MOI `IntegerToZeroOneBridge` from triggering,
and providing Alpine with transparent support for them.

Fixes lanl-ansi#244
LebedevRI added a commit to LebedevRI/Alpine.jl that referenced this issue Jul 14, 2024
They really are not supported, and the claim is only there
to provide a nice diagnostic.

But that prevents MOI `IntegerToZeroOneBridge` from triggering,
and providing Alpine with transparent support for them.

Fixes lanl-ansi#244
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants