Mosek Error 1051

51 views
Skip to first unread message

Z M

unread,
Nov 16, 2023, 7:16:23 AM11/16/23
to mosek
Hello!

I use JuMP with Mosek to solve an exponential cone problem.

And it reports an error:
Mosek.MosekError(1051, "")
I would like to ask whether this error is due to insufficient computer memory space.
Can I solve this problem if I replace the device with more memory?
Kindly request your guidance and expertise. Thank you very much!

Michal Adamaszek

unread,
Nov 16, 2023, 7:21:26 AM11/16/23
to mosek
Hi,

Yes, this error https://docs.mosek.com/latest/capi/response-codes.html#mosek.rescode.err_space  means that you ran out of memory.

Please share more information about the structure of your problem, such as the full Mosek log up to the point of error, or a Mosek task https://docs.mosek.com/latest/faq/faq.html#how-do-i-dump-the-problem-to-a-file-to-attach-with-my-support-question  , your Mosek version, how much memory you have and as much relevant information as possible. Then we can be more specific and also make sure that it is not a bug.

Best,
Michal

Z M

unread,
Nov 16, 2023, 7:37:25 AM11/16/23
to mosek
Thank you very much.

This is the Mosek log.
The computational environment is based on the Windows 11 operating system, with an Intel(R) Core(TM) i5-1...@2.50 GHz processor and 16GB of memory.

屏幕截图 2023-11-16 202810.png

Michal Adamaszek

unread,
Nov 16, 2023, 7:44:10 AM11/16/23
to mosek
Hi,

We can never be sure, but it sounds plausible that you might run out of the 16GB, especially with all of JuMP data structures etc. on top of all that. You can try with smaller data sizes and try to extrapolate from that what to expect.

It would be great if you save the task file and send it to support https://www.mosek.com/support/ . Then we can run the problem and provide more concrete answers and check fur bugs. If the task file is very large then we will provide upload instructions. Alternatively you can send fully reproducible Julia code which generates this problem. 

Best,
Michal

Erling D. Andersen

unread,
Nov 16, 2023, 7:44:38 AM11/16/23
to mosek
Your problem has about 2 million variables and only 16GB of RAM, so running out of RAM is not surprising.

Erling D. Andersen

unread,
Nov 16, 2023, 8:11:20 AM11/16/23
to mosek
If you are willing to give us the model, then we can tell you how much RAM is needed.
(Reply if that has interest and I will provide details.)

Z M

unread,
Nov 16, 2023, 8:16:05 AM11/16/23
to mosek

Thank you very much for your response.
I believe I should try using a computer with more memory.

Reply all
Reply to author
Forward
0 new messages