MOSEK / Mosek.jl

Interface to the Mosek solver in Julia
MIT License
49 stars 28 forks source link

getvardual not quite working #83

Closed mlubin closed 8 years ago

mlubin commented 8 years ago

I just added some tests for getvardual for LPs passed through the conic interface (https://github.com/JuliaOpt/MathProgBase.jl/commit/2faa7b97af385f61ea2e829512b5fa1c1c2ceab1) and mosek is now failing:

Problem LIN1
ERROR: LoadError: LoadError: Mosek.MosekError(2953,"snx is not available the basis solution.")
 in getsnx at /home/mlubin/.julia/v0.4/Mosek/src/msk7_functions.jl:1926
 in getvardual at /home/mlubin/.julia/v0.4/Mosek/src/MosekConicInterface.jl:471
 in coniclineartest at /home/mlubin/.julia/v0.4/MathProgBase/test/conicinterface.jl:38
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:320
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:320
 in process_options at ./client.jl:280
 in _start at ./client.jl:378
while loading /home/mlubin/.julia/v0.4/Mosek/test/mathprogtest.jl, in expression starting on line 21
while loading /home/mlubin/.julia/v0.4/Mosek/test/runtests.jl, in expression starting on line 4
ulfworsoe commented 8 years ago

snx is only available for interior solutions, and by default the basic solution is used for purely linear problems. Fixed.