Package: cutgeneratingfunctionology
Most of the code is for the 1-dimensional Gomory-Johnson infinite
group problem, including an electronic compendium of extreme
functions.Seehttp://www.sagemath.org/doc/tutorial/for information on how to
use Sage.AuthorsSeehttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/AUTHORS.rstand alsohttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/THANKS.rstLicenseThe code is released under the GNU General Public License, version 2,
or any later version as published by the Free Software Foundation.Documentationhttp://mkoeppe.github.io/cutgeneratingfunctionology/doc/html/Using the cutgeneratingfunctionology packageThere are many ways to run this package.A. Run it online on mybinder.orgB. Install released version from PyPI and run it within condaInstall Miniconda fromhttps://docs.conda.io/en/latest/miniconda.htmlSet up the conda environment described inhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/environment.yml:e=environment.yml; curl -o $e https://raw.githubusercontent.com/mkoeppe/cutgeneratingfunctionology/master/$e
conda env create -n sage-cgf -f $e
conda activate sage-cgfThis takes a while; it installs SageMath, which has many dependencies.Install PyPI package:pip install cutgeneratingfunctionologyStart Sage.  You can either use the terminal (IPython):sageor a Jupyter notebook:sage -n jupyterAt the Sage prompt, type:import cutgeneratingfunctionology.igp as igp; from cutgeneratingfunctionology.igp import *Follow the instructions and examples inhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.rstorhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.ipynb.C.  Clone from GitHub and run it within condaInstall Miniconda fromhttps://docs.conda.io/en/latest/miniconda.htmlClone the GitHub repositoryhttps://github.com/mkoeppe/cutgeneratingfunctionology.git:git clone https://github.com/mkoeppe/cutgeneratingfunctionology.git
cd cutgeneratingfunctionologySet up the conda environment described inhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/environment.yml:conda env create -n sage-cgf -f environment.yml
conda activate sage-cgfThis takes a while; it installs SageMath which has many dependencies.(Optional:) Install the cutgeneratingfunctionology package using pip:pip install .Start Sage.  You can either use the terminal (IPython):sageor a Jupyter notebook:sage -n jupyterAt the Sage prompt, type:import cutgeneratingfunctionology.igp as igp; from cutgeneratingfunctionology.igp import *Follow the instructions and examples inhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.rstorhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.ipynb.D.  Run in a standalone installation of the SageMath distribution (no conda)Install the SageMath distribution:Either from source fromhttp://www.sagemath.org/or with a binary fromhttp://www.sagemath.org/The SageMath distribution brings its own installation of Python and many packages.Clone the GitHub repositoryhttps://github.com/mkoeppe/cutgeneratingfunctionology.git:git clone https://github.com/mkoeppe/cutgeneratingfunctionology.git
cd cutgeneratingfunctionology(Optional:) Install optional SageMath distribution packages:sage -i lrslib pynormalizInstall the cutgeneratingfunctionology package using pip:sage -pip install .Start SageMath.  You can either use the terminal (IPython):sageor a Jupyter notebook:sage -n jupyterAt the Sage prompt, type:import cutgeneratingfunctionology.igp as igp; from cutgeneratingfunctionology.igp import *Follow the instructions and examples inhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.rstorhttps://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.ipynb.