How to solve linear programming and quadratic programming with inequality constraint only? For LP, I tried to use OSQP and pass the objective as (None, -c), the equality constraint as (None, None), the inequality constraint as (G, h), but it does not work. The same goes for the QP with inequality constraints only.