Implementation of Gomory's cut algorithm, optimised in C language