Usually the Rmosek package have been tested using the "--no-install"
flag, because the CRAN servers did not have MOSEK installed. Now they
do, and because of their "-pedantic" gcc flag and the typedef of "long
long" in mosek.h, warnings were produced (no 64bit integer support in
C++98 standard). The only way to get rid of these warnings was to
modify mosek.h which will happen in MOSEK 6.0.0.136 planned to be
released after the easter holiday next week. The package will then
overwrite "long long" with "int64_t" which is a warning-free
compiler-specific version of "long long". Until this version reaches
the CRAN servers, and everything checks out without warning, I am not
allowed to release.
If you have an SVN client you can checkout the project before that:
svn checkout svn://scm.r-forge.r-project.org/svnroot/rmosek/
You can install directly from this directory, or perform a "R CMD
build" to make the tar.gz..
Kind regards,
Henrik Alsing Friberg
The multicore package works by spawning new processes each having
their own MOSEK environment. Since each MOSEK environment requests a
separate license, you will need one license per process spawned by the
parallelization operator %dopar%. As you guessed, the error you see is
caused by the fact that you only have one license installed.
Since you come from the academical world, you may find interest in our
Academic Initiative where a free and unlimited license can be
obtained:
http://mosek.com/sales/Academic%20initiative/
This will allow you to solve optimization problems in parallel with as
many processes as your system allows.
Kind regards,
Henrik Alsing Friberg