$npx skillfedfor your agent

Mosek

Python API for Mosek

With conditionsPyPI MathematicsReleased Jun 2026430.5K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — mosek-11.2.2-cp39-abi3-macosx_11_0_arm64.whl · mosek-11.2.2-cp39-abi3-manylinux2014_x86_64.whl · mosek-11.2.2-cp39-abi3-manylinux_2_27_aarch64.whl
v11.2.2 · released 2026-06-10 · Python <3.15,>=3.9 · 1 runtime deps: numpy

Yes, if you have a convex or mixed-integer optimization problem at scale and can obtain a MOSEK license (free trial available). The solver is mature, actively maintained, and supports a broad problem class. No, if you need an open-source solver or cannot accept the licensing requirement. Verify license terms for your use case before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • MOSEK requires a valid license (free trial and academic licenses available at https://www.mosek.com).
  • Python 3.9 or later required.
  • Medium install friction due to compiled binary wheels for multiple platforms (macOS ARM64, Linux x86_64 and aarch64, Windows x64).

License · maintenance · safety

(unclear) — License treatment is unclear; MOSEK requires a paid license, though trial and non-commercial academic licenses are available from the vendor. Verify licensing terms before production deployment.

last release 2026-06-10 (65 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 430,486 downloads/mo, #6,726 on PyPI

Verify before relying

pip install mosek
import mosek
import numpy as np
# Requires valid MOSEK license; see https://www.mosek.com for trial/academic options
  • Whether trial or academic licenses are sufficient for your intended use case
  • Performance characteristics and solver quality relative to open-source alternatives
  • Support and SLA terms included with different license tiers
Same gist for agents: .md · .json

What it is and what it does

MOSEK is a commercial optimization solver that handles a wide range of convex and mixed-integer problems through a Python interface. It supports linear programs (LP), quadratic programs (QP), second-order cone programs (SOCP), exponential and power cone problems, semidefinite programs (SDP), quadratically constrained quadratic programs (QCQP), and mixed-integer programs (MIP). The package wraps a compiled solver engine and requires numpy as its only runtime dependency.

Typically used in research, finance, engineering, and machine learning workflows where problem scale or numerical precision demands a commercial-grade solver. Requires Python 3.9 or later and a valid license (free trial and academic licenses available). Installation pulls precompiled binaries for common platforms, avoiding compilation overhead.

Use it for

  • Portfolio optimization and risk management in quantitative finance
  • Large-scale machine learning problems requiring conic relaxations or semidefinite programming
  • Engineering design optimization with convex constraints
  • Operations research and resource allocation problems
  • Academic research in convex optimization and mathematical programming

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have a convex or mixed-integer optimization problem at scale and can obtain a MOSEK license (free trial available).

The solver is mature, actively maintained, and supports a broad problem class. No, if you need an open-source solver or cannot accept the licensing requirement. Verify license terms for your use case before committing.

Install

mosek on PyPI

Before you install

Medium install friction due to compiled binary wheels for multiple platforms (macOS ARM64, Linux x86_64 and aarch64, Windows x64). Active maintenance with a release 65 days ago. Single runtime dependency on numpy.

MOSEK requires a valid license (free trial and academic licenses available at https://www.mosek.com). Python 3.9 or later required.

License in practice

License treatment is unclear; MOSEK requires a paid license, though trial and non-commercial academic licenses are available from the vendor. Verify licensing terms before production deployment.

Quickstart

pip install mosek
import mosek
import numpy as np
# Requires valid MOSEK license; see https://www.mosek.com for trial/academic options

Verify before relying

  • Whether trial or academic licenses are sufficient for your intended use case
  • Performance characteristics and solver quality relative to open-source alternatives
  • Support and SLA terms included with different license tiers

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release <3.15,>=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 65 days since the last release
First released
Downloads430,486 / month, #6,726 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: mosek-11.2.2-cp39-abi3-macosx_11_0_arm64.whl; mosek-11.2.2-cp39-abi3-manylinux2014_x86_64.whl; mosek-11.2.2-cp39-abi3-manylinux_2_27_aarch64.whl; mosek-11.2.2-cp39-abi3-win_amd64.whl

Tags

Capabilities
convex optimization solverlinear programming Pythonsemidefinite programmingmixed-integer optimizationquadratic cone programminglarge-scale optimizationSOCP solver
Topics
optimizationconvex-programmingcommercial-solver

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “semidefinite programming”

  • MosekMOSEK solves large-scale convex and mixed-integer optimization…
  • cvxoptcvxopt is a Python library for solving convex optimization problems,…
  • clarabelClarabel is an interior-point conic optimization solver that handles…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also cvxopt · scs · clarabel · ecos · daqp · gekko · highspy · qpsolvers · xpress · osqp