PtCut — Compute Tropical Prevarieties of Polynomial Systems

PtCut is a program to calculate the tropical prevariety or equilibrium of a system of polynomial equations. It is freely available under the GNU Lesser General Public License (Version 3).
PtCut is written for Python 2.7 & 3.x. It requires PPLpy to run, but works also with SageMath, a free computer algebra system. Pre-compiled wheels of PPLpy are provided, please see below.
More information on PtCut can be found on my slides for the first SYMBIONT meeting.
Source Code
Source code is available on GitLab.
Older Versions of the Source Code
Download PtCut here:
- PtCut version 3.5.0, dated 2020-01-21 (389 kB). Works with both PPLpy and SageMath, Python 2.7 & 3.x
- PtCut version 3.3.3, dated 2019-04-02 (348 kB). Works with both PPLpy and SageMath, Python 2.7 & 3.x
- PtCut version 3.3.0, dated 2018-12-17 (322 kB). Works with PPLpy, Python 3.x
- PtCut version 3.0.2, dated 2018-06-29 (156 kB). Works with both PPLpy and SageMath, Python 2.7 & 3.x
- PtCut version 1.16.0, dated 2018-02-27 (152 kB). Requires SageMath
PPLpy Wheels Download
Linux
I am thankful to Jonas Weinz, for he provided pre-compiled wheels of PPLpy for 64-bit Linux for Python 2.7, 3.5, 3.6 & 3.7. Please pick the proper downloads for your Python version:
- Python 3.7: gmpy2, pplpy, pplpy_dependencies
- Python 3.6: gmpy2, pplpy, pplpy_dependencies
- Python 3.5: gmpy2, pplpy, pplpy_dependencies
- Python 2.7: gmpy2, pplpy, pplpy_dependencies
After download, you can install the files by the command pip install *.whl
. If you have more than one Python installed, make sure you use the proper pip
program and if you want to install for all users, prefix the command with sudo
. You might need to add the location (likely /usr/local/lib
) in LD_LIBRARY_PATH
. More information can be found on Jonas's page.
Windows
There was a Windows version for Anaconda3, again thanks to Jonas Weinz. Unfortunately, the files were lost.
- Python 3.7: gmpy2 (
gmpy2-2.1.0a4_fix-1.tar.bz2
), pplpy (pplpy-0.7-1.tar.bz2
), and libppl (libppl-1.2-1.tar.bz2
)
To install, download the packages and install them in the order gmpy2, libppl, pplpy with conda install FILENAME
.
Citing PtCut
If you use PtCut and publish your work, please cite it as:
@Electronic{LuedersPtCut, Title = {{PtCut}: Calculate Tropical Equilibrations and Prevarieties}, Author = {Christoph L{\"u}ders}, HowPublished = {\url{http://lueders.io/ptcut/}} }