JuliaNonconvex / Nonconvex.jl

Toolbox for gradient-based and derivative-free non-convex constrained optimization with continuous and/or discrete variables.
https://julianonconvex.github.io/Nonconvex.jl/
MIT License
111 stars 10 forks source link

Unified API for information of the results #159

Closed AlCap23 closed 1 year ago

AlCap23 commented 1 year ago

It would be nice to get an API to get information like the Lagrange Multiplier out of the result.

Given that each algorithm implements its own return types, this would be needed to go into Core and spread onwards from there on.

@mohamed82008 would that be a valid feature request?

mohamed82008 commented 1 year ago

For some solvers it is valid. For others, that don't provide the Lagrangian multipliers, we will have to throw an error.