jump-dev / Convex.jl

A Julia package for disciplined convex programming
https://jump.dev/Convex.jl/stable/
Other
559 stars 119 forks source link

Remove scalar indexing on `AbstractExpr`'s from atom formulation #614

Closed ericphanson closed 2 months ago

ericphanson commented 2 months ago

As shown by #613 & #254 this leads to huge performance cliffs. Here is an audit of such issues in our current atoms:

ExponentialCone based issues

These could all be handled just like #613. Perhaps we can find a way to reuse the code here rather than inlining near-identical implementations.

Other cases

ericphanson commented 2 months ago

🎉