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 here.
Download PtCut here:
- PtCut version 3.5.0, dated 2020-01-21 (389 kB) [Latest version]
(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 provides 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’ page.
Windows
There is a Windows version for Anaconda3, again thanks to Jonas Weinz.
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 like this:
@Electronic{LuedersPtCut, Title = {{PtCut}: Calculate Tropical Equilibrations and Prevarieties}, Author = {Christoph L{\"u}ders}, HowPublished = {\url{http://www.wrogn.com/ptcut/}} }