-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OptaxSolver how to proceed? #65
Comments
@mblondel you are absolutely right, my problem is a root finding and not a minimization. Sorry I have forget this point when I was using my (old) Thanks for your different method discussion and snipped, too. I am not sure that I can contribute but your lib is really nice and I encourage for new code implementation. |
rf = jaxopt.ScipyRootFinding(optimality_fun=gLag, method='hybr')
rf.run(jnp.array([1.5,0.5,1.0,0.1])) gives
So I wander why you reject this method in your comment? may be I have misunderstood something. |
I don't reject it, I was just mentioning that we had nothing else for this purpose. For some reason you wanted to use Optax so I showed you an example with Optax. But |
Note: I am not @Algue-Rythme :) |
ho sorry @mblondel, I was also in contact with @Algue-Rythme in an other thread :) |
Hi,
Here is a use-case
I can solve this lagrangian based problem of optimisation by hand like this:
I get
Okay, now is it possible to get the result with
Optax
solverHere I get:
which clearly is not the right way to go..
(nb. if I use
Lag
as function this does not change the problem: no convergence; idem with sgd/adam...)Is there a solution to get
Optax
solver working?Thanks
The text was updated successfully, but these errors were encountered: