Skip to content

Optax vs Cvxpy #881

Answered by fabianp
pushkar5586 asked this question in General
Mar 24, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

cvxpy comes with convergence guarantees, which, at the moment, optax lacks. Also, currently most of the solvers in optax require some hyperparameter tuning (like the learning rate). I think most of the solvers in cvxpy on the other hand, don't require hyperparameter tuning.

The downside of cvxpy is that it's not applicable to nonconvex problems, and that if often scales worse than optax for very large problems

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pushkar5586
Comment options

Answer selected by pushkar5586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants