{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/9"},{"label":"System","url":"https://skillfed.io/packages/category/system"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"},{"label":"Other/Nonlisted Topic","url":"https://skillfed.io/packages/category/other-nonlisted-topic"}],"enrichment":{"capability":"Modeling library for building and solving mathematical optimization problems using IBM CPLEX and CP Optimizer solvers, with two namespaces for linear/quadratic and constraint programming respectively.","skillfed_tags":["optimization-modeling","ibm-cplex","constraint-programming"],"use_cases":["Build linear and quadratic programming models in Python and solve them with CPLEX without writing solver-specific syntax","Embed constraint programming problems into Python applications for scheduling, sequencing, or resource optimization tasks","Run OPL (Optimization Programming Language) models from Python using native integration instead of external .dat files","Extract and process optimization results (variables, objectives, solution pools) in Python-friendly formats like dictionaries and pandas DataFrames","Develop end-to-end optimization pipelines that combine data preparation, model building, solving, and result analysis in a single Python workflow"],"what_it_does":"Docplex is IBM's Python modeling library for building optimization problems that can be solved by IBM ILOG CPLEX Optimization Studio. It provides two main modules: docplex.mp for linear and quadratic programming, and docplex.cp for constraint programming. The library lets you define decision variables, constraints, and objectives in Python, then submit them to a CPLEX solver for execution.\n\nThe package is designed for developers who need to add optimization capabilities to applications\u2014scheduling, resource allocation, planning, or other decision-making problems. It requires only six as a runtime dependency but mandates that CPLEX Optimization Studio be installed separately on your system to actually solve models. Recent versions add support for running OPL models directly from Python and work with modern Python versions including 3.13 and 3.14.","worth_installing":"Yes, with conditions. Install docplex if you have IBM ILOG CPLEX Optimization Studio already deployed or can obtain it, and you need to model optimization problems in Python. The library is actively maintained, permissively licensed, and well-integrated with Python data tools. Without CPLEX Studio installed separately, the package alone cannot solve models\u2014it is a modeling layer only. The high install friction reflects this external dependency, not the package quality."},"id":"docplex","links":{"html":"https://skillfed.io/packages/docplex","md":"https://skillfed.io/packages/docplex.md","pypi":"https://pypi.org/project/docplex/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-01","license_spdx":null,"license_treatment":"permissive","name":"docplex","python_support":"unspecified","summary":"The IBM Decision Optimization CPLEX Modeling for Python"},"popularity":{"monthly_downloads":78447,"position":14442,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.32.264"}
