Closed odow closed 1 year ago
Base: 95.15% // Head: 95.19% // Increases project coverage by +0.04%
:tada:
Coverage data is based on head (
953a2d0
) compared to base (56f1743
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
As I commented on over here, the register_symbol
in your demo above is not so convenient.
I think we could have it so that MiniZinc automatically registers those
Yes, but I mean solver wrappers shouldn't have to write things like
f(args...) = error("evaluation not supported")
MOI.Nonlinear.register_operator(nlp, :!, 1, f, f, f)
rather it should be possible to write just something simple like
MOI.Nonlinear.register_operator(nlp, :!, 1)
The demo is
x-ref: https://github.com/jump-dev/JuMP.jl/issues/2227#issuecomment-1405993222