Hi, is the code used to calculate the duality gap metric included? I can't seem to find it. Thank you