Mosek + Matlab

2019-11-27  本文已影响0人  Greyish

Matlab是从学校正版软件中心下载的,然后用学校的邮箱可以拿到一个授权的Lisence。

Mosek可直接从官网下载,然后申请一个Acedemic Lisence,之后按照指南把License放在正确的位置。

两个软件都下载好还需要把mosek的路径添加到matlab的路径中。下图所示的前两个路劲就是啦,我的matlab是2019b,这个mosek虽然文件夹名称是2015,但是也是完全可用的。

AddPath

Ref:https://docs.mosek.com/9.1/toolbox/install-interface.html

P.S 2020年4月13日更新:

因为疫情期间在家科研,在自己mac上面重新安装了mosek,但是发现添加路径之后却一直不太行,最终发现官方文档中说明如下。

Unpack the downloaded file in the chosen directory. Subsequently let MSKHOME denote the directory in which MOSEK is unpacked.

On Mac OS it is important to run the command

python <MSKHOME>/mosek/8/tools/platform/osx64x86/bin/install.py

after the unpacking which make sure the approriate shared objects can be loated when using MOSEK.

上一篇下一篇

猜你喜欢

热点阅读