Closed simonediluna closed 1 year ago
Dear @simonediluna
Thanks for signaling. We will investigate the problem and come back with a solution.
Dear @simonediluna
Sorry for the long time in working this issue. The issue is resolved in pm4py 2.7.2 We found several problems that deserved our attention:
1) The (I)LP solution provided by our default Scipy solver is not always correct. We suggest to install pulp (pip install pulp) which for the given class of LP is more stable. Then pulp would be used as new default. 2) There was some undeterminism in the lists of places/transitions all along the code. They were stored as sets in the Petri net but when doing list(net.places) and list(net.transitions), the places/transitions were not always returned in the same order. 3) Also, there was a problem in the LP which we fixed.
Cheers
Great, the check_soundness
method completes the analysis successfully now. I would just like to point out that its output is no longer a boolean value, as stated in the documentation, but a tuple.
Best.
The
pm4py.analysis.check_soundness
function raises a TypeError on a particular workflow net. I analyzed the tpn file with Woflan software and the analysis was successful. Attached you can find the txt file of the net. To be read in pm4py, it must be converted back to pnml format.wf_system.txt