stellatogrp / lropt

Apache License 2.0
19 stars 3 forks source link

error with expr.gen_torch_exp() #42

Closed pauldebdeep9 closed 4 weeks ago

pauldebdeep9 commented 1 month ago

Here is my environment:

name: lropt channels:

While using the api i am encountering the following error: Screenshot 2024-09-26 at 1 29 15 PM

Thanks a lot for developing this awesome library. It's incredibly well written with seamless workflow. I guess there was some discussion on robustifying the expr.gen_torch_exp() involving torch and cvxpy. Has there any incompatibility between different versions of torch and cvxpy.

AmitSolomonPrinceton commented 4 weeks ago

Hello @pauldebdeep9, Thank you for your kind words. We have recently merged a PR that overhauls the way torch expressions are generated. Could you kindly pull that and see if the issue persists?

pauldebdeep9 commented 4 weeks ago

Hi @AmitSolomonPrinceton, works fine. This is an awesome library. This area of optimization is evolving very quickly. The usage of torch is quite appropriate. Hope to witness the widespread adoption.