-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MOSEK error 3915: There is no barx available for the solution type 2.
#72
Comments
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[], |
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.The text was updated successfully, but these errors were encountered: