Skip to content
/ mosek Public
forked from AliGriv/mosek

wrapper pod for Mosek optimizer

Notifications You must be signed in to change notification settings

Astrorix/mosek

 
 

Repository files navigation

Wrapper for MOSEK 9.3.15

https://www.mosek.com

This is a fork from here which is basically for the older version of mosek. I haven't tested it for all operating systems and modifications might be needed for your project.

Requires a free academic license or paid commercial license, as appropriate. Install the license file to $HOME/mosek/mosek.lic.

Versions other than 7.1.0 are unsupported by this wrapper.

$ mkdir build && cd build
$ cmake ..
$ make install

Adding as external project to your CMakeLists.txt

include(ExternalProject)
ExternalProject_Add(mosek
        SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/mosek-src"
        GIT_REPOSITORY https://github.com/AliGriv/mosek.git
        GIT_TAG 2d63b36c3d0c55a90d91f9a550ea0c14323c1bd9
        CMAKE_ARGS
        -DBUILD_TESTING=OFF
        -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
        "-DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}"
        "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}"
        "-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}"
        "-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
        BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/mosek-build")

About

wrapper pod for Mosek optimizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 100.0%