Branch and bound application on 3 problems, graphs with pygame