We have a lot of runtime branching on if get_use_slacks, adding it as a type parameter instead might make way for some interesting helpers. I had Claude do a sketch for me on https://github.com/Sienna-Platform/PowerOperationsModels.jl/tree/ac/use-slacks-type-param that I haven't looked over carefully yet.
If it's useful, I'd be interested in applying this to other common runtime branches -- like time series maybe.
We have a lot of runtime branching on
if get_use_slacks, adding it as a type parameter instead might make way for some interesting helpers. I had Claude do a sketch for me on https://github.com/Sienna-Platform/PowerOperationsModels.jl/tree/ac/use-slacks-type-param that I haven't looked over carefully yet.If it's useful, I'd be interested in applying this to other common runtime branches -- like time series maybe.