title: Julia QPDAS: No method matching QuadraticProgram
body: <p>I'm trying to solve a mathematical problem via the package QPDAS. Howevery, every time I call the function to do that, I get the following error:</p>
  <pre><code>    ERROR: LoadError: MethodError: no method matching QuadraticProgram(::Array{Float64,2}, ::Array{Float64,1}, ::Array{F loat64,2}, ::Array{Float64,1}, ::Array{Float64,1}, ::UniformScaling{Bool}; z=[1.0, 1.0, 1.0, 1.0, 1.0, 1.0], P=[5.0 9.0 … -6.0 -10.0; 9.0 17.0 … -8.0 -16.0; … ; -6.0 -8.0 … 17.0 19.0; -10.0 -16.0 … 19.0 25.0], semidefinite=true, ϵ=1.4901161193847656e-8, smartstart=true, scaling=true)
  Closest candidates are:
    QuadraticProgram(::MT, ::VT, ::MT, ::VT, ::VT, ::Any; semidefinite, ϵ, smartstart, scaling) where {T, VT&lt;:AbstractArray{T,1}, MT&lt;:AbstractArray{T,2}} at .../.julia/packages/QPDAS/CvMCc/src/quadraticProgram.jl:38 got unsupported keyword arguments &quot;z&quot;, &quot;P&quot;
    QuadraticProgram(::MT, ::VT, ::MT, ::VT, ::VT) where {T, VT&lt;:AbstractArray{T,1}, MT&lt;:AbstractArray{T,2}} at .../.julia/packages/QPDAS/CvMCc/src/quadraticProgram.jl:38 got unsupported keyword arguments &quot;z&quot;, &quot;P&quot;, &quot;semidefinite&quot;, &quot;ϵ&quot;, &quot;smartstart&quot;, &quot;scaling&quot;
    QuadraticProgram(::MT, !Matched::MT, !Matched::VT, ::VT, ::VT, ::PT, !Matched::PFT, !Matched::VT, !Matched::VT, !Matched::Bool, !Matched::VT, !Matched::VT, !Matched::BoxConstrainedQP{T,GT,VT}) where {T, GT&lt;:(QPDAS.AbstractCholeskySpecial{T,MT} where MT), VT&lt;:AbstractArray{T,1}, MT&lt;:AbstractArray{T,2}, PT, PFT} at .../.julia/packages/QPDAS/CvMCc/src/quadraticProgram.jl:22 got unsupported keyword arguments &quot;z&quot;, &quot;P&quot;, &quot;semidefinite&quot;, &quot;ϵ&quot;, &quot;smartstart&quot;, &quot;scaling&quot;
  </code></pre>
  <p>Here is my code:</p>
  <pre><code>function getSolution(points)    # array of tuples with a tuple and an Int64
      A = [points[i][2] for i=1:length(points)]
      A = reshape(A, 1, length(points))
      b = [0.0 for i=1:length(points)]
      C = diagm(-1 .* ones(length(points)))
      d = b
      M = constructMatrix(points)
  
      qp = QuadraticProgram(A, b, C, d, z = ones(length(points)), P = M;
              semidefinite = true, ϵ = sqrt(eps(Float64)), smartstart = true, scaling = true)
  
      sol, val = solve!(qp)
      return sol
  end
  </code></pre>
  <p>I understand that it says that the types of my variables don't match the ones that are expected by the method QuadraticProgram but I can't figure out in what way. In my understanding it expects the types</p>
  <pre><code>matrix, vector, matrix, vector, vector, any; semidefinite, ϵ, smartstart, scaling
  </code></pre>
  <p>which is what I should have. What am I doing wrong?</p>