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

[Bridges] add support for Constraint{Primal,Dual}Start to SquareBridge #2339

Merged
merged 2 commits into from Nov 2, 2023

Conversation

odow
Copy link
Member

@odow odow commented Nov 2, 2023

Part of #684

@odow odow requested a review from blegat November 2, 2023 03:07
@odow
Copy link
Member Author

odow commented Nov 2, 2023

@blegat please take a look. You understand better than me.

attr::Union{MOI.ConstraintPrimalStart,MOI.ConstraintDualStart},
::Type{SquareBridge{T,F,G,TT,ST}},
) where {T,F,G,TT,ST}
return MOI.supports(model, attr, MOI.ConstraintIndex{F,TT}) &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just return true, AbstractBridgeOptimizer takes care of taking these into account

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I don't think this is true?

@odow odow merged commit 07d916d into master Nov 2, 2023
17 checks passed
@odow odow deleted the od/bridge-square-start branch November 2, 2023 19:15
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.

None yet

2 participants