{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"}],"enrichment":{"capability":"CVXPY is a Python modeling language for expressing and solving convex optimization problems, mixed-integer convex problems, geometric programs, quasiconvex programs, and nonlinear programs using open-source solvers.","skillfed_tags":["optimization","convex-programming","mathematical-modeling"],"use_cases":["Solve least-squares problems with variable bounds, as shown in the documentation example.","Formulate and solve portfolio optimization problems with convex constraints.","Model resource allocation and scheduling problems as convex or mixed-integer programs.","Prototype control and signal processing algorithms that rely on convex optimization.","Solve geometric programming problems for engineering design and optimization.","Develop machine learning models that incorporate convex loss functions and regularization."],"what_it_does":"CVXPY is a domain-specific language embedded in Python that lets you write convex optimization problems in mathematical notation rather than solver-specific standard form. You define variables, an objective function, and constraints using CVXPY's API, then call solve() to delegate to one of several open-source solvers (Clarabel, SCS, OSQP, HiGHS). It handles the translation and returns optimal values and dual variables.\n\nThe package supports a broad range of problem classes: convex optimization (the primary use case), mixed-integer convex problems, geometric programs, quasiconvex programs, and nonlinear programs. It relies on 8 runtime dependencies\u2014numerical libraries (numpy, scipy, sparsediffpy) and solver backends (osqp, clarabel, scs, highspy, qdldl)\u2014all of which install together. The project is actively maintained, has been in development since 2014, and is widely used in research and industry.","worth_installing":"Yes. CVXPY is a mature, actively maintained package (latest release 53 days ago, 6299 GitHub stars) with permissive Apache-2.0 licensing, no known vulnerabilities, and broad solver support. Medium install friction is justified by the complexity of the underlying solvers. Install it if you need to model and solve convex or mixed-integer optimization problems in Python without writing solver-specific code."},"id":"cvxpy","links":{"html":"https://skillfed.io/packages/cvxpy","md":"https://skillfed.io/packages/cvxpy.md","pypi":"https://pypi.org/project/cvxpy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-22","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"cvxpy","python_support":"supports_current","summary":"A domain-specific language for modeling convex optimization problems in Python."},"popularity":{"monthly_downloads":5130168,"position":2162,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.9.2"}
