The current version of the function `transform_pessimistic_to_optimistic.m` seems to be malfunctioning.
The current version of the function
transform_pessimistic_to_optimistic.mseems to be malfunctioning.