Closed blegat closed 1 month ago
Did you try ZerosBridge
? It still failed in a bunch of places
I did not try, I was just hoping it could serve as a test
The issue is that a bunch of other places may call ConstraintFunction
, so it is not so simple
I don't think this is the right approach. Just write some other tests. You don't need general infrastructure.
What about now ?
Some variable bridges don't support
unbridged_variable
and that makesruntests
fail when gettingConstraintFunction
or when gettingConstraintSet
for scalar constraints. For example,ZerosBridge
does not support it so it cannot useruntests
. Another example is the SOS cone: https://github.com/jump-dev/SumOfSquares.jl/pull/353 I could support it in the nonweighted version but if it's weighted by arbitrary polynomials, it seems difficult to unbridge. It might be possible but it's not high priority. By using only vector cones in the tests, it turns out that only this small change is enough to pass the tests. This is still testing the inner model completely.ZerosBridge
by adding a tests without scalar sets