Open martincornejo opened 3 years ago
Yeah this looks identical to #71
This should fix it:
index 040ea48..d06f25f 100644
--- a/src/MosekTools.jl
+++ b/src/MosekTools.jl
@@ -319,7 +319,7 @@ function MOI.optimize!(m::Optimizer)
getprosta(m.task, MSK_SOL_ITG),
getskx(m.task, MSK_SOL_ITG),
getxx(m.task, MSK_SOL_ITG),
- matrix_solution(m, MSK_SOL_ITG),
+ Float64[],
Float64[],
Float64[],
Float64[],
@@ -336,7 +336,7 @@ function MOI.optimize!(m::Optimizer)
getprosta(m.task,MSK_SOL_BAS),
getskx(m.task,MSK_SOL_BAS),
getxx(m.task,MSK_SOL_BAS),
- matrix_solution(m, MSK_SOL_BAS),
+ Float64[],
getslx(m.task,MSK_SOL_BAS),
getsux(m.task,MSK_SOL_BAS),
Float64[],
This should fix it:
index 040ea48..d06f25f 100644 --- a/src/MosekTools.jl +++ b/src/MosekTools.jl @@ -319,7 +319,7 @@ function MOI.optimize!(m::Optimizer) getprosta(m.task, MSK_SOL_ITG), getskx(m.task, MSK_SOL_ITG), getxx(m.task, MSK_SOL_ITG), - matrix_solution(m, MSK_SOL_ITG), + Float64[], Float64[], Float64[], Float64[], @@ -336,7 +336,7 @@ function MOI.optimize!(m::Optimizer) getprosta(m.task,MSK_SOL_BAS), getskx(m.task,MSK_SOL_BAS), getxx(m.task,MSK_SOL_BAS), - matrix_solution(m, MSK_SOL_BAS), + Float64[], getslx(m.task,MSK_SOL_BAS), getsux(m.task,MSK_SOL_BAS), Float64[],
Where should I apply these changes exactly?
It worked!!!!!!!!!!!
Thanks a lot
Just FYI information then MSK_SOL_ITR is the only solution that is relevant SDPs at this point in time.
@ulfworsoe, I'm having the same issue, but when I try your suggestion, I get a zero vector (not feasible) as a solution to my problem. Do you have any suggestions on how to get the real solution to my problem?
I had the same issue, but your suggestion worked.
This issue is probably related to #71.
The following
PowerModelsDistribution
problem throws the following exception when using the Mosek solver. The issue is not present with other conic solvers like SCS.