{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/2"}],"enrichment":{"capability":"ECOS is a Python wrapper for a numerical solver that handles convex second-order cone programs (SOCPs), accepting linear and cone constraints and returning optimal solutions.","skillfed_tags":["convex-optimization","numerical-solver","conic-programming"],"use_cases":["Solve portfolio optimization problems with risk constraints modeled as second-order cones.","Embedded control systems where a convex problem must be solved repeatedly with tight computational budgets.","Mixed-integer convex problems via branch-and-bound with configurable tolerances and iteration limits.","Backend solver for CVXPY when you need direct access to primal and dual solutions and solver statistics.","Research and prototyping of convex optimization algorithms that require a reliable reference implementation."],"what_it_does":"ECOS is a numerical solver for convex optimization problems expressed as second-order cone programs. It accepts a cost vector, linear equality and inequality constraints (including generalized cone constraints), and returns the optimal primal and dual solutions along with solver diagnostics. The solver supports both continuous and mixed-integer variants via branch-and-bound.\n\nYou use ECOS by calling its solve() function with numpy arrays for the cost and constraint data, scipy sparse matrices for constraint coefficients, and a dictionary specifying cone dimensions. It is commonly used as a backend solver in CVXPY, a high-level convex optimization modeling framework, but can also be called directly for lower-level control. Dependencies are numpy and scipy.","worth_installing":"Yes, if you need to solve convex second-order cone programs and are comfortable with GPLv3 licensing. The solver is numerically mature, has no known vulnerabilities, and offers pre-built wheels for common platforms. Install friction is moderate but manageable. The dormant maintenance status is not a blocker for stable use, but flag it if you anticipate needing active support or bug fixes."},"id":"ecos","links":{"html":"https://skillfed.io/packages/ecos","md":"https://skillfed.io/packages/ecos.md","pypi":"https://pypi.org/project/ecos/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-06-18","license_spdx":null,"license_treatment":"copyleft","name":"ecos","python_support":"unspecified","summary":"This is the Python package for ECOS: Embedded Cone Solver. See Github page for more information."},"popularity":{"monthly_downloads":1120550,"position":4339,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.14"}
