$npx skillfedfor your agent

cplex

A Python interface to the CPLEX Callable Library, Community Edition.

With conditionsPyPI MathematicsReleased Jul 202683.2K downloads / moProprietaryPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — cplex-22.2.0.1-cp310-cp310-macosx_11_0_arm64.whl · cplex-22.2.0.1-cp310-cp310-manylinux2014_aarch64.whl · cplex-22.2.0.1-cp310-cp310-manylinux2014_ppc64le.whl
v22.2.0.1 · released 2026-07-15 · Python >=3.10

Yes, if you need CPLEX's solver from Python and accept the Community Edition's licensing terms and potential usage limits. The package is actively maintained, has no external dependencies, and installs cleanly on supported Python versions. However, verify that the Community Edition's restrictions (key limits, possible performance caps, commercial use terms) align with your project before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10.
  • Community Edition may have usage or performance restrictions; verify licensing terms before production deployment.
  • Medium install friction due to pre-built wheels for specific Python versions and platforms.

License · maintenance · safety

Proprietary (unclear) — Licensed under IBM's proprietary International License Agreement for Non-Warranted Programs. Community Edition is free but subject to IBM's terms, including restrictions on reverse engineering, sublicensing, and key-based usage limits. Review the full license terms before deployment.

last release 2026-07-15 (30 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,199 downloads/mo, #14,094 on PyPI

Verify before relying

pip install cplex==22.2.0.1
import cplex
c = cplex.Cplex()
c.objective.sense = c.objective.sense.minimize
  • Whether Community Edition license permits commercial or production use without additional registration
  • Performance characteristics and solver limits specific to the Community Edition
  • Whether the package requires a separate CPLEX installation or is fully self-contained
  • Exact Python version range supported (requires_python specifies >=3.10 but wheel evidence shows cp310–cp313)
Same gist for agents: .md · .json

What it is and what it does

cplex is a Python binding to IBM ILOG CPLEX Optimization Studio's Callable Library, specifically the free Community Edition. It lets you formulate and solve linear, quadratic, and mixed-integer optimization problems directly from Python, suitable for both interactive exploration and production scripts. The package ships as pre-built wheels for modern Python versions across macOS, Linux, and Windows, with no additional runtime dependencies.

The library is maintained actively and has been available since 2018. It is proprietary software under IBM's non-warranted license, which permits free use of the Community Edition but restricts reverse engineering, sublicensing, and imposes key-based usage limits. Developers should carefully review the license terms to confirm the edition meets their use case, as the Community Edition may have solver limits or restrictions on commercial deployment.

Use it for

  • Solve linear programming problems like resource allocation, production planning, or network flow optimization.
  • Formulate and solve mixed-integer programs for scheduling, routing, or combinatorial optimization tasks.
  • Prototype optimization models interactively in Jupyter notebooks before moving to production solvers.
  • Integrate optimization into larger Python applications that require mathematical programming capabilities.
  • Benchmark or compare optimization approaches using CPLEX's solver engine from Python.

Worth the install?

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

With conditions

Yes, if you need CPLEX's solver from Python and accept the Community Edition's licensing terms and potential usage limits.

The package is actively maintained, has no external dependencies, and installs cleanly on supported Python versions. However, verify that the Community Edition's restrictions (key limits, possible performance caps, commercial use terms) align with your project before committing to production use.

Install

cplex on PyPI

Before you install

Medium install friction due to pre-built wheels for specific Python versions and platforms. Active maintenance with a release 30 days ago. No runtime dependencies to manage.

Requires Python >=3.10. Community Edition may have usage or performance restrictions; verify licensing terms before production deployment.

License in practice

Licensed under IBM's proprietary International License Agreement for Non-Warranted Programs. Community Edition is free but subject to IBM's terms, including restrictions on reverse engineering, sublicensing, and key-based usage limits. Review the full license terms before deployment.

Quickstart

pip install cplex==22.2.0.1
import cplex
c = cplex.Cplex()
c.objective.sense = c.objective.sense.minimize

Verify before relying

  • Whether Community Edition license permits commercial or production use without additional registration
  • Performance characteristics and solver limits specific to the Community Edition
  • Whether the package requires a separate CPLEX installation or is fully self-contained
  • Exact Python version range supported (requires_python specifies >=3.10 but wheel evidence shows cp310–cp313)

Package facts

LicenseProprietary unclear
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 30 days since the last release
First released
Downloads83,199 / month, #14,094 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: cplex-22.2.0.1-cp310-cp310-macosx_11_0_arm64.whl; cplex-22.2.0.1-cp310-cp310-manylinux2014_aarch64.whl; cplex-22.2.0.1-cp310-cp310-manylinux2014_ppc64le.whl; cplex-22.2.0.1-cp310-cp310-manylinux2014_x86_64.whl; cplex-22.2.0.1-cp310-cp310-win_amd64.whl; cplex-22.2.0.1-cp311-cp311-macosx_11_0_arm64.whl; cplex-22.2.0.1-cp311-cp311-manylinux2014_aarch64.whl; cplex-22.2.0.1-cp311-cp311-manylinux2014_ppc64le.whl; cplex-22.2.0.1-cp311-cp311-manylinux2014_x86_64.whl; cplex-22.2.0.1-cp311-cp311-win_amd64.whl; cplex-22.2.0.1-cp312-cp312-macosx_11_0_arm64.whl; cplex-22.2.0.1-cp312-cp312-manylinux2014_aarch64.whl; cplex-22.2.0.1-cp312-cp312-manylinux2014_ppc64le.whl; cplex-22.2.0.1-cp312-cp312-manylinux2014_x86_64.whl; cplex-22.2.0.1-cp312-cp312-win_amd64.whl; cplex-22.2.0.1-cp313-cp313-macosx_11_0_arm64.whl; cplex-22.2.0.1-cp313-cp313-manylinux2014_aarch64.whl; cplex-22.2.0.1-cp313-cp313-manylinux2014_ppc64le.whl; cplex-22.2.0.1-cp313-cp313-manylinux2014_x86_64.whl; cplex-22.2.0.1-cp313-cp313-win_amd64.whl

Tags

Capabilities
linear programming solver pythonmixed-integer optimizationcplex python interfacemathematical optimization libraryconstraint programming solver
Topics
optimizationlinear-programmingibm-cplex

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 › “cplex python interface”

  • cplexProvides a Python interface to IBM CPLEX's optimization solver,…
  • docplexModeling library for building and solving mathematical optimization…
  • optlangOptlang formulates and solves linear, mixed-integer, and quadratic…

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 docplex · gurobipy · mip · optlang · PuLP · amplpy · daqp · Mosek · gekko · pyghidra