PyGRANSO
PyGRANSO copied to clipboard
PyGRANSO: A PyTorch-enabled port of GRANSO with auto-differentiation
1. For avoiding unnecessary AD gradients, the GRANSO line search could be modified so that the AD gradient is only computed on demand, i.e., only compute the gradient when sufficient...
Hello, I was wondering if I could solve a binary optimization problem with pyGRANSO. the problem I am looking to solve is the following: min x.T @ x with constraints:...
https://github.com/sun-umn/PyGRANSO/blob/main/pygranso/private/qpTerminationCondition.py#L226 Use `Hreg = torch.tensor(V) @ torch.diag(dvec) @ torch.tensor(V).T` instead
Update PyGRANSO to ensure compatibility with PyTorch 2.0
Currently our output is a long vector. We want to make the output to be in the same format as the user input.
https://ncvx.org/settings/standard_parameters.html Wrong parameter name for "print ascii" May need the following modification: > print_print_ascii => print_ascii
# PyGranso 2.0 Prep ๐ โ Memory Leak Fix, CUDA OSQP Backend, Config Flag, & E2E Tests ## Summary ๐ This PR prepares PyGranso 2.0 by: * ๐งผ Fixing a...
# Summary Since the last update of PyGRANSO, numpy 2 has released with breaking changes. The old `requirements.txt` files did not need to specify `numpy= 1.20.3, < 2` ```bash %...
Hi, Could you make `PyGRANSO` available on Conda Forge? It now supports installing PyTorch with CUDA out of the box. This will make easy for user of `PyGRANSO`.