qpth icon indicating copy to clipboard operation
qpth copied to clipboard

How to solve a just Linear problem?

Open nicola-decao opened this issue 2 years ago • 1 comments

Hello @bamos 🙂

If I do not specify Q or I use Q as a zero matrix I have errors. Specifically, it raises "Q is not SPD.": https://github.com/locuslab/qpth/blob/bc121d59802d43fc6cbd685959e9156030dc1baf/qpth/qp.py#L85

How can I solve a linear problem where Q does not need to be specified?

nicola-decao avatar Jul 15 '21 08:07 nicola-decao

Hi @nicola-decao - for handling just linear programs you can use https://github.com/cvxgrp/cvxpylayers / https://github.com/cvxgrp/diffcp

bamos avatar Jul 15 '21 16:07 bamos