qmetrics.net

PuLP

Python linear and mixed-integer optimization modeler

PuLP screenshot

PuLP is a Python library for building linear and mixed-integer programming models. It connects models to many open-source and commercial solvers.

Overview

PuLP is a modeler for linear programming and mixed-integer linear programming problems in Python. You define decision variables, objectives, and constraints in code, then hand the model to a solver backend to obtain a solution.

The library can export models as MPS or LP files and invoke a wide range of solvers, including GLPK, COIN-OR CBC and CLP, HiGHS, SCIP, OR-Tools CP-SAT and GLOP, Clarabel, and interfaces to commercial engines such as CPLEX, Gurobi, MOSEK, and Xpress. Optional PyPI extras install solver bindings; CBC is not bundled inside PuLP itself and is usually obtained via an optional CBC extra or a CBC executable on your PATH.

Typical workflow centers on LpProblem, variables added with addvariable, linear expressions and constraints, and solve returning solution statistics. Helper functions build sums and dot products of variables. The package is part of the COIN-OR ecosystem and ships with documentation, case studies, and import/export guides for models.

Solvers are selected explicitly or by default when a suitable open-source backend such as CBC is available. listSolvers reports known APIs and which ones can run on the current machine, mixing command-line executables with native Python APIs.

Key features

  • LpProblem modeling API
  • Mixed-integer and binary variables
  • Many solver backends
  • MPS and LP export
  • Optional solver PyPI extras
  • lpSum and constraint helpers
  • COIN-OR project member

Use cases

  • Blending and transport LP models
  • Sudoku as integer programs
  • Supply chain MIP planning
  • Solver comparison from one model
  • Teaching optimization in Python

Tags

Similar software

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

TypeScript

Typed JavaScript language with compile-time checks

TypeScript adds optional static types to JavaScript and compiles to standard JavaScript. It targets application-scale code on browsers, Node.js, and other JavaScript runtimes.

★ 111.9k⟳ yesterdayApache-2.0

Ghidra

NSA software reverse engineering and disassembly analysis suite

Ghidra is an NSA Research Directorate SRE framework with disassembly, decompilation, graphing, and scripting for analyzing compiled code on Windows, macOS, and Linux.

★ 101.5k⟳ yesterdayApache-2.0

Understand Anything

Interactive codebase knowledge graph for AI assistants

A multi-platform plugin that scans a project, builds a knowledge graph of structure and dependencies, and opens a searchable web dashboard. It supports domain views, guided tours, and diff impact analysis.

★ 94.7k⟳ 3 days agoMIT

Open Code Review

CLI agent for precise LLM-powered code review

Open Code Review reads Git diffs, applies deterministic review pipelines, and posts line-accurate comments via a tool-using LLM agent.

★ 56.9k⟳ 2 days agoApache-2.0
Open Source Alternative to:Greptile