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.1

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.1
File Size Uploaded Provenance Actions
gurobipy_pandas-1.3.1.tar.gz 215.5 kB Without provenance Details for gurobipy_pandas-1.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 235.5 kB

Release files / gurobipy_pandas-1.3.1.tar.gz

Download URL gurobipy_pandas-1.3.1.tar.gz
Size 215.5 kB
Tags Source
SHA-256 checksum
How to use checksums
776999952aed85671d8b4fa7497581717b8cc09aa72efc99e478deb99ccbee5a
BLAKE2b-256 checksum
How to use checksums
900c742fedbd5f673f5f71f5b200f9c1c84f95f63229a0b81fb2966c19801c09
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.1-py3-none-any.whl

Download URL gurobipy_pandas-1.3.1-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dc53ec8bb31841d660923942da08f44e82a6011a86365d473e62b1be1a743ff
BLAKE2b-256 checksum
How to use checksums
b7e3f4b8498a6133de1b384146dc3fff933bb72c81f7e545422f7cbacd8c3d9c
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.1

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.1 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