# coin-or/pulp

A python Linear Programming API

Repository: https://github.com/coin-or/pulp
Canonical: https://ross.abutalabs.com/products/pulp
Homepage: http://coin-or.github.io/pulp/
Language: Python
License: NOASSERTION
License Family: other
Topics: pulp, solver, python, mip, constraints
Last push: 2026-08-14T15:32:13+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 73, longevity 100
- inputs: {"age_days": 4189, "days_push": 19, "days_rel": 100, "gap_med": 43, "n_releases_24m": 4}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2473, forks 432 (observed 2026-08-28T04:06:54.798483+00:00)

## What it is
PuLP is a Python library for modeling linear and mixed integer programming (LP/MILP) problems. It lets users define optimization models with variables, objectives, and constraints, then solves them via external solvers such as CBC, GLPK, HiGHS, Gurobi, CPLEX, and others.

## Use cases
- solve linear programming problems in python
- model mixed integer programming problems
- optimize resource allocation and blending problems
- solve transportation and production planning problems
- generate MPS or LP model files for solvers
- solve sudoku or set partitioning as an optimization problem
- use gurobi cplex or cbc from python

## When to choose
- you need to formulate and solve LP or MILP models in Python
- you want a pure-Python modeling layer that works with many open-source and commercial solvers
- you need to export models as MPS or LP files

## When to avoid
- you need nonlinear or general constraint programming without CP-SAT
- you want a solver bundled out of the box without installing CBC or another solver separately
- you need large-scale optimization with a modeling DSL beyond Python

## Facets
- artifact type: library
- maturity: active
- function: math, sdk
- domain: mathematics, performance
- platform: python, cross-platform
- tags: linear-programming, mixed-integer-programming, optimization, operations-research, solver-interface, mps, lp-files, algorithms

## Member repositories
- coin-or/pulp (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:54.798483+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:28:31.733272+00:00, confidence not recorded.
  - readme: https://github.com/coin-or/pulp (fetched 2026-08-28T04:06:54.798483+00:00, sha 327ac82247e7)
  - homepage: http://coin-or.github.io/pulp/ (fetched 2026-08-29T10:10:47.461502+00:00, sha cd9b35434f20)
- Data as of 2026-08-30T08:39:29.467469+00:00.
