finished implementation of ctp. tested on small instances with 5 and 6 nodes provided by Blai Bonet