Can't install OSQP solver

This post was flagged by the community and is temporarily hidden.

Bintray, a website that we used to store the precompiled binaries, has been shut down. We are going to find an alternative soon.

You can try installing OSQP from sources as described here:

I will try installing OSQP from sources.
Thank you so much for your reply.

DD

This post was flagged by the community and is temporarily hidden.

You should install git on your machine. You need it to download the repository.

This post was flagged by the community and is temporarily hidden.

Make sure to add the location of CMake binaries to the system path. The binaries should be in C:\Program Files\CMake\bin or something similar.

This post was flagged by the community and is temporarily hidden.

It seems you have now installed OSQP. To confirm that everything is installed properly, you can run the run_osqp_tests.m script.

I tried to run the run_osqp_tests.m script.

run_osqp_tests
Running basic_tests

Done basic_tests


Running codegen_mat_tests

Done codegen_mat_tests


Running codegen_vec_tests

Done codegen_vec_tests


Running dual_infeasibility_tests

Done dual_infeasibility_tests


Running feasibility_tests
.
Done feasibility_tests


Running non_cvx_tests
ERROR in LDL_factor: Error in KKT matrix LDL factorization when computing the nonzero elements. The problem seems to be non-convex
ERROR in osqp_setup: KKT matrix factorization.
The problem seems to be non-convex.

Done non_cvx_tests


Running primal_infeasibility_tests

Done primal_infeasibility_tests


Running unconstrained_tests
.
Done unconstrained_tests


Running update_matrices_tests

Done update_matrices_tests


Running warm_start_tests
.
Done warm_start_tests

I think it is OK now.

DD