See discussion here https://github.com/orgs/JuliaSmoothOptimizers/discussions/20#discussioncomment-6377670