There's a new, robust implementation of the projection onto the exponential cone detailed in this paper by Henrik Friberg.
This is implemented in MathOptSetDistances.jl. Happy to port over.
https://github.com/matbesancon/MathOptSetDistances.jl/blob/1f3e578398ba91fbbcaf805aaf55f9105d858a40/src/projections.jl#L170
Relevant section of code:
|
function prox!(y::AbstractVector{R}, f::IndExpPrimal, x::AbstractVector{R}, gamma::R=R(1)) where R <: Real |
There's a new, robust implementation of the projection onto the exponential cone detailed in this paper by Henrik Friberg.
This is implemented in MathOptSetDistances.jl. Happy to port over.
https://github.com/matbesancon/MathOptSetDistances.jl/blob/1f3e578398ba91fbbcaf805aaf55f9105d858a40/src/projections.jl#L170
Relevant section of code:
ProximalOperators.jl/src/functions/indExp.jl
Line 79 in 7889da3