{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/2"}],"enrichment":{"capability":"Python MIP models and solves mixed-integer linear programs (MIPs) using a high-level syntax with support for advanced solver features like cut generation, lazy constraints, and solution pools.","skillfed_tags":["optimization","operations-research","solver-integration"],"use_cases":["Model and solve supply chain optimization, production scheduling, or resource allocation problems using a Pythonic syntax","Implement branch-and-cut algorithms with custom cut generators and lazy constraint callbacks for large-scale MIPs","Migrate optimization models from existing codebases by leveraging compatible syntax and solver-agnostic code","Explore multiple near-optimal solutions via solution pools during MIP search","Accelerate MIP model creation on PyPy for performance-critical applications"],"what_it_does":"Python MIP is a modeling and solving toolkit for mixed-integer linear programs, designed to make it easy to write optimization problems in Python using operator overloading and a high-level syntax. It communicates directly with native solver libraries via cffi, supporting both the open-source CBC solver and the commercial Gurobi solver with a single, solver-independent codebase.\n\nThe package provides advanced features like cut generation, lazy constraints, solution pools, and MIPStart heuristics for warm-starting searches. It requires Python 3.10 or newer and runs on CPython and PyPy. The main dependencies are cffi and cbcbox.","worth_installing":"Yes, if you need to model and solve mixed-integer linear programs in Python. The package is actively maintained, has low install friction, supports current Python versions, and offers a clean API with advanced solver features. The EPL-2.0 copyleft license requires compliance in derivative works. No known security vulnerabilities."},"id":"mip","links":{"html":"https://skillfed.io/packages/mip","md":"https://skillfed.io/packages/mip.md","pypi":"https://pypi.org/project/mip/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-23","license_spdx":null,"license_treatment":"copyleft","name":"mip","python_support":"supports_current","summary":"Python tools for Modeling and Solving Mixed-Integer Linear Programs (MIPs)"},"popularity":{"monthly_downloads":605067,"position":5800,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.17.6"}
