Hi, I was trying to use JuMP.MathProgBase and Ipopt solver to solve a problem, but it seems my parameters are wrong.
The third option in the error message seems to be the closest one to my problem. Does it mean, for example, the first parameter, has to be a matrix that has only one column? Thank you in advance.
Third option from error message:
" quadprog(::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::AbstractArray{T,2} where T, ::AbstractArray{T,2} where T, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::MathProgBase.SolverInterface.AbstractMathProgSolver)"
Full error messages:
ERROR: LoadError: MethodError: no method matching quadprog(::Array{Float64,2}, ::Array{Float64,1}, ::Array{Array{Float64,N} where N,1}, ::Char, ::Array{Float64,1}, ::Array{Float64,2}, ::Array{Float64,2}, ::Ipopt.IpoptSolver)
Closest candidates are:
quadprog(::Any, ::Any, ::Any, ::Any, ::Any) at /Users/june/.julia/v0.6/MathProgBase/src/HighLevelInterface/quadprog.jl:73
quadprog(::Any, ::Any, ::Any, ::Any, ::Any, ::MathProgBase.SolverInterface.AbstractMathProgSolver) at /Users/june/.julia/v0.6/MathProgBase/src/HighLevelInterface/quadprog.jl:70
quadprog(::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::AbstractArray{T,2} where T, ::AbstractArray{T,2} where T, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::Union{Array{T,1}, Char, Real} where T<:Union{Char, Real}, ::MathProgBase.SolverInterface.AbstractMathProgSolver) at /Users/june/.julia/v0.6/MathProgBase/src/HighLevelInterface/quadprog.jl:21