If your decision variable is indeed c, then this looks like a Quadratic Program (QP).
I would try my luck with JuMP.jl (see nonlinear modeling examples such as this one). You will need to select an appropriate solver from this list, i.e. one that supports QP.
2 Likes