Code relative to the second assignment of the Combinatorial Optimization course