Skip to content

Conversation

blegat
Copy link
Member

@blegat blegat commented Dec 17, 2024

A lot of these helpers could be simplified with SingleBridgeOptimizer. What we are doing is basically hardcoding a bridge so adding a SingleBridgeOptimizer would be equivalent since this bridge optimizer layer always applies the bridge, even if the constraint is supported (which is why I call it forced bridging).
This PR just does it for one test as a proof of concept.

_test_conic_linear_helper(model, config, false)
config::Config{T},
) where {T}
test_conic_linear_VectorOfVariables(MOI.Bridges.Constraint.VectorFunctionize{T}(model), config)
Copy link
Member

Choose a reason for hiding this comment

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

No. Because we can't nest SingleBridgeOptimizer and LazyBridgeOptimizer.

Copy link
Member

@odow odow left a comment

Choose a reason for hiding this comment

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

See my comment about nesting SingleBridgeOptimizer and LazyBridgeOptimizer

@odow
Copy link
Member

odow commented Dec 20, 2024

@blegat blegat closed this Jan 2, 2025
@odow odow deleted the bl/test_conic_linear_forced branch January 5, 2025 20:57
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.

2 participants