You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#528 - Added Float64 conversion for bounds in MOI.GreaterThan and
MOI.LessThan constraints to handle integer constraint vectors properly.
Previously, passing integer vectors for lb/ub parameters would cause:
```
MathOptInterface.UnsupportedConstraint{MathOptInterface.VariableIndex,
MathOptInterface.GreaterThan{Int64}}
```
Now integer bounds are automatically converted to Float64, matching the
behavior in moi.jl and preventing confusing errors.
Changes:
- Convert evaluator.lb[i] to Float64 in MOI.GreaterThan constraint
- Convert evaluator.ub[i] to Float64 in MOI.LessThan constraint
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments