$npx skillfedfor your agent

gurobipy

Python interface to Gurobi

With conditionsPyPI MathematicsReleased May 20261.4M downloads / moProprietaryPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — gurobipy-13.0.2-cp310-cp310-macosx_10_9_universal2.whl · gurobipy-13.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl · gurobipy-13.0.2-cp310-cp310-manylinux_2_26_aarch64.whl
v13.0.2 · released 2026-05-05 · Python >=3.10

Yes, if you have a valid license or qualify for an academic license and need to solve mixed-integer or quadratic optimization problems. The trial license is useful for prototyping but not for production. If you need an open-source solver without licensing restrictions, consider alternatives; if you need industrial-grade performance, this is a leading choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid license (trial, academic, or commercial).
  • The trial license bundled with pip install has size constraints on solvable problems.
  • Medium install friction: the package provides pre-built wheels for multiple Python versions (3.10–3.14) and platforms (macOS, Linux x86_64, Linux aarch64, Windows), but requires a valid license to function beyond trial evaluation.

License · maintenance · safety

Proprietary (unclear) — Licensed under a proprietary Evaluation License restricting use to non-production environments and limited problem sizes. Academic users and staff qualify for free full licenses; commercial users must request evaluation or purchase separately. The license is not open source and imposes strict usage restrictions.

last release 2026-05-05 (101 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,363,368 downloads/mo, #4,000 on PyPI

Verify before relying

import gurobipy as gp

m = gp.Model()
x = m.addVar(vtype='B', name='x')
y = m.addVar(vtype='B', name='y')
m.setObjective(x + y, gp.GRB.MAXIMIZE)
m.addConstr(x + y <= 1)
m.optimize()
print(f"Optimal value: {m.objVal}")
  • Specific size limits (variable/constraint counts) imposed by the trial license
  • Performance characteristics and solver speed relative to open-source alternatives
  • Whether academic license activation requires manual registration or is automatic
Same gist for agents: .md · .json

What it is and what it does

gurobipy is the official Python binding for Gurobi, a commercial optimization solver. It allows you to build optimization models in Python by defining variables, objective functions, and constraints, then solve them using Gurobi's underlying engine. The package supports mixed-integer linear programming (MIP), linear programming (LP), and quadratic optimization.

The package comes with a trial license that works out of the box but is limited to small problems. For production use or larger models, you need an academic license (free for students and staff at accredited institutions) or a commercial license. Installation is straightforward across modern Python versions and major platforms, but the licensing model means you cannot use it in production without obtaining the appropriate license.

Use it for

  • Solve supply chain and logistics optimization problems with integer constraints and large-scale linear models.
  • Formulate and solve financial portfolio optimization, asset allocation, and risk management models.
  • Tackle engineering design problems involving resource allocation, scheduling, and capacity planning.
  • Prototype optimization algorithms in research or academic settings using the free academic license.
  • Build production optimization applications with a commercial license for manufacturing or operations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have a valid license or qualify for an academic license and need to solve mixed-integer or quadratic optimization problems.

The trial license is useful for prototyping but not for production. If you need an open-source solver without licensing restrictions, consider alternatives; if you need industrial-grade performance, this is a leading choice.

Install

gurobipy on PyPI

Before you install

Medium install friction: the package provides pre-built wheels for multiple Python versions (3.10–3.14) and platforms (macOS, Linux x86_64, Linux aarch64, Windows), but requires a valid license to function beyond trial evaluation.

Requires a valid license (trial, academic, or commercial). The trial license bundled with pip install has size constraints on solvable problems.

License in practice

Licensed under a proprietary Evaluation License restricting use to non-production environments and limited problem sizes. Academic users and staff qualify for free full licenses; commercial users must request evaluation or purchase separately. The license is not open source and imposes strict usage restrictions.

Quickstart

import gurobipy as gp

m = gp.Model()
x = m.addVar(vtype='B', name='x')
y = m.addVar(vtype='B', name='y')
m.setObjective(x + y, gp.GRB.MAXIMIZE)
m.addConstr(x + y <= 1)
m.optimize()
print(f"Optimal value: {m.objVal}")

Verify before relying

  • Specific size limits (variable/constraint counts) imposed by the trial license
  • Performance characteristics and solver speed relative to open-source alternatives
  • Whether academic license activation requires manual registration or is automatic

Package facts

LicenseProprietary unclear
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 101 days since the last release
First released
Downloads1,363,368 / month, #4,000 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPython

Evidence: gurobipy-13.0.2-cp310-cp310-macosx_10_9_universal2.whl; gurobipy-13.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; gurobipy-13.0.2-cp310-cp310-manylinux_2_26_aarch64.whl; gurobipy-13.0.2-cp310-cp310-win_amd64.whl; gurobipy-13.0.2-cp311-cp311-macosx_10_9_universal2.whl; gurobipy-13.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; gurobipy-13.0.2-cp311-cp311-manylinux_2_26_aarch64.whl; gurobipy-13.0.2-cp311-cp311-win_amd64.whl; gurobipy-13.0.2-cp312-cp312-macosx_10_13_universal2.whl; gurobipy-13.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; gurobipy-13.0.2-cp312-cp312-manylinux_2_26_aarch64.whl; gurobipy-13.0.2-cp312-cp312-win_amd64.whl; gurobipy-13.0.2-cp313-cp313-macosx_10_13_universal2.whl; gurobipy-13.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; gurobipy-13.0.2-cp313-cp313-manylinux_2_26_aarch64.whl; gurobipy-13.0.2-cp313-cp313-win_amd64.whl; gurobipy-13.0.2-cp314-cp314-macosx_10_15_universal2.whl; gurobipy-13.0.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; gurobipy-13.0.2-cp314-cp314-manylinux_2_26_aarch64.whl; gurobipy-13.0.2-cp314-cp314t-macosx_10_15_universal2.whl

Tags

Capabilities
mixed-integer linear programming solvermathematical optimization libraryMIP solver pythonquadratic optimizationconstraint optimizationlinear programming pythonoptimization modeling
Topics
optimizationcommercial-solverlicensing-required
PyPI keywords
optimizationmiplp

Let your AI agent find packages like this

Example. Real query, live index.

An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also mip · cplex · aimmspy · amplpy · pyomo · PuLP · optlang · xpress · docplex · cvxopt