Skip to main content

PyPI - Version PyPI - Python Version Tests Docs

gurobipy-pandas: Convenience wrapper for building optimization models from pandas data

gurobipy-pandas is a convenient (optional) wrapper to connect pandas with gurobipy. It enables users to more easily and efficiently build mathematical optimization models from data stored in DataFrames and Series, and to read solutions back directly as pandas objects.

gurobipy-pandas is aimed at experienced pandas users who are familiar with methods to transform, group, and aggregate data stored in dataframes. It expects some familiarity with optimization modelling, but does not require deep experience with gurobipy.

Features

gurobipy-pandas allows users to:

  • create gurobipy variables tied to the index of a series or dataframe
  • construct constraints row-wise using algebraic expressions
  • read model solutions and constraint slacks natively as pandas series

Installation

pip install gurobipy-pandas

Dependencies

Documentation

Full documentation for gurobipy-pandas is hosted on readthedocs.

License

gurobipy-pandas is distributed under the terms of the Apache License 2.0.

Contact Us

For questions related to using gurobipy-pandas please use the Gurobi Community Forum.

For reporting bugs, issues and feature requests, specific to gurobipy-pandas, please open an issue.

If you encounter issues with Gurobi or gurobipy please contact Gurobi Support.

Contributors

Webinar

Slides for the 2023 webinars presenting this package can be found at webinar/webinar.ipynb. The notebook will be presented as RISE slides, but can also be executed in Jupyter.

Metadata

Release files for gurobipy-pandas 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gurobipy-pandas 1.3.0
File Size Uploaded Provenance Actions
gurobipy_pandas-1.3.0.tar.gz 214.7 kB Without provenance Details for gurobipy_pandas-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gurobipy-pandas 1.3.0
File Interpreter ABI Platform Actions
gurobipy_pandas-1.3.0-py3-none-any.whl Python 3 none any Details for gurobipy_pandas-1.3.0-py3-none-any.whl

Total release size: 234.7 kB

Release files / gurobipy_pandas-1.3.0.tar.gz

Download URL gurobipy_pandas-1.3.0.tar.gz
Size 214.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c5018f34101f208a7442ff0bc82e5ca12c4a377f7a634f0826f347bd00bb4db8
BLAKE2b-256 checksum
How to use checksums
becce116c4043d3e0756407aa875023b7269e7b67d783e58259a7ddf6e458c8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / gurobipy_pandas-1.3.0-py3-none-any.whl

Download URL gurobipy_pandas-1.3.0-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0ccaa3ad94b4229299c1686fcec1819a52a1f716de3e4567d2b630e6d753795
BLAKE2b-256 checksum
How to use checksums
d9b41193f3db37c9a44a7c0e3253811ee051f4511e794c1d5c9e4af048293527
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for gurobipy-pandas 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page