jump-dev / MathOptInterface.jl

A data structure for mathematical optimization problems
http://jump.dev/MathOptInterface.jl/
Other
392 stars 87 forks source link

[Bridges] restrict some bridges to acting on real-valued functions #2468

Closed odow closed 6 months ago

odow commented 6 months ago

Follow-up to https://github.com/jump-dev/MathOptInterface.jl/pull/2451. It's too easy to run into obscure method errors because some bridges incorrectly accept Complex-valued functions.