The TuttePolynomial command uses a new algorithm that is faster and consumes less memory.
For example, computation of the Tutte polynomial of the 12 vertex complete graph (CompleteGraph(12)) now requires 1/3 the memory, and completes in 1/3 the time.
For the 9,3 generalized Petersen graph (PetersenGraph(9,3)) the memory usage has dropped to 1/6, and the time to 1/8 of the time needed in Maple 16.
>
|
|
>
|
|
>
|
|
>
|
|
memory used=106.98MiB, alloc change=0 bytes, cpu time=2.67s, real time=2.83s
| |
>
|
|
>
|
|
memory used=3.21MiB, alloc change=0 bytes, cpu time=125.00ms, real time=149.00ms
| |
These improvements propagate to the commands ChromaticPolynomial, FlowPolynomial, AcyclicPolynomial and RankPolynomial as well.