You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am solving a problem using both the C interface and OSQP.jl.
In the C interface I only pass in the upper triangular portion of P as required.
The only way I can get my C solution and OSQP.jl solution to match is if I only pass in the upper triangular part of P into OSQP.jl.
This is contradictory to how some of the tests in the test directory are written (specifically primal_infeasibility.jl where an arbitrary symmetric matrix is passed in as opposed to just the upper triangular portion.
What is the correct way to pass P into OSQP.jl? If only the upper triangular part needs to be passed it would be good to call this out in the documentation.
The text was updated successfully, but these errors were encountered:
What is the structure of P you are using? There is code to take a matrix an get the upper triangular component if it isn't already upper triangular, but there is a bug in it: #93.
I am solving a problem using both the C interface and OSQP.jl.
In the C interface I only pass in the upper triangular portion of P as required.
The only way I can get my C solution and OSQP.jl solution to match is if I only pass in the upper triangular part of P into OSQP.jl.
This is contradictory to how some of the tests in the test directory are written (specifically primal_infeasibility.jl where an arbitrary symmetric matrix is passed in as opposed to just the upper triangular portion.
What is the correct way to pass P into OSQP.jl? If only the upper triangular part needs to be passed it would be good to call this out in the documentation.
The text was updated successfully, but these errors were encountered: