|
1 |
| -Welcome to gurobipy-pandas's documentation! |
2 |
| -=========================================== |
| 1 | +gurobipy-pandas documentation |
| 2 | +============================= |
3 | 3 |
|
4 |
| -``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. |
| 4 | +``gurobipy-pandas`` is a convenient (optional) wrapper to connect |
| 5 | +:pypi:`pandas` with :pypi:`gurobipy`. It enables users to more easily |
| 6 | +and efficiently build mathematical optimization models from data stored |
| 7 | +in DataFrames and Series, and to read solutions back directly as pandas |
| 8 | +objects. The package provides simple to use functions and pandas |
| 9 | +accessors to help build optimization models efficiently from data and |
| 10 | +query solutions as pandas structures. |
5 | 11 |
|
6 |
| -``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. |
| 12 | +``gurobipy-pandas`` is aimed at experienced pandas users who are |
| 13 | +familiar with methods to transform, group, and aggregate data stored in |
| 14 | +dataframes. It expects some familiarity with optimization modelling, but |
| 15 | +does not require deep experience with gurobipy. |
7 | 16 |
|
8 |
| -Getting Started |
9 |
| ---------------- |
| 17 | +Installation |
| 18 | +------------ |
10 | 19 |
|
11 |
| -``gurobipy-pandas`` provides simple to use functions and pandas accessors to help build optimization models and query solutions. Read the :doc:`usage` page first for an overview of the key methods. Second, explore the :doc:`examples` which provide complete model implementations formatted as Jupyter notebooks. The later sections cover advanced techniques, and advice on writing clean and performant model building code using this library. |
| 20 | +:code:`gurobipy-pandas` can be installed directly from PyPI:: |
| 21 | + |
| 22 | + python -m pip install gurobipy-pandas |
| 23 | + |
| 24 | +This will also install pandas and gurobipy as dependencies. |
| 25 | + |
| 26 | +Please note that gurobipy is commercial software and requires a license. |
| 27 | +The package ships with an evaluation license which is only for testing |
| 28 | +and can only solve models of limited size. You will be able to run all |
| 29 | +the examples given in this documentation using this evaluation license. |
| 30 | + |
| 31 | +How to use this documentation |
| 32 | +----------------------------- |
| 33 | + |
| 34 | +- The :doc:`usage` page provides an overview of the key methods |
| 35 | + available for creating variables and constraints in an optimization |
| 36 | + model using pandas data as input. |
| 37 | +- The :doc:`examples` provide complete model implementations as Jupyter |
| 38 | + notebooks. |
| 39 | +- The :doc:`api` provides complete reference documentation for the |
| 40 | + library. |
| 41 | +- The remaining sections (see the contents sidebar for a full listing) |
| 42 | + cover further details and techniques, and provide advice on writing |
| 43 | + clean and performant model building code using this library. |
| 44 | + |
| 45 | +Contact us |
| 46 | +---------- |
| 47 | + |
| 48 | +For questions related to using ``gurobipy-pandas`` please use the |
| 49 | +`Gurobi Community Forum <https://support.gurobi.com/hc/en-us/community/topics/10373864542609-GitHub-Projects>`_. |
| 50 | + |
| 51 | +For reporting bugs, issues and feature requests, specific to ``gurobipy-pandas``, please |
| 52 | +`open an issue <https://github.com/Gurobi/gurobipy-pandas/issues>`_. |
| 53 | + |
| 54 | +If you encounter issues with Gurobi or ``gurobipy`` please contact |
| 55 | +`Gurobi Support <https://support.gurobi.com/hc/en-us>`_. |
12 | 56 |
|
13 |
| -Documentation |
14 |
| -------------- |
15 | 57 |
|
16 | 58 | .. toctree::
|
| 59 | + :hidden: |
17 | 60 | :maxdepth: 1
|
18 |
| - :caption: Start |
| 61 | + :caption: Getting Started |
19 | 62 |
|
20 | 63 | installation
|
21 | 64 | usage
|
22 | 65 | examples
|
23 | 66 |
|
24 | 67 | .. toctree::
|
| 68 | + :hidden: |
25 | 69 | :maxdepth: 1
|
26 |
| - :caption: Model Building |
| 70 | + :caption: Users Guide |
27 | 71 |
|
28 | 72 | performance
|
29 | 73 | naming
|
30 | 74 | advanced
|
| 75 | + typing |
31 | 76 |
|
32 | 77 | .. toctree::
|
| 78 | + :hidden: |
33 | 79 | :maxdepth: 1
|
34 | 80 | :caption: Reference
|
35 | 81 |
|
36 | 82 | api
|
37 |
| - typing |
38 | 83 | license
|
39 | 84 | contact
|
40 | 85 | acknowledgements
|
0 commit comments