print("** overall metric = {0}".format(err))
for (a,b,i,j,e) in interval:
print("** OPT: [{0} .. {1}] segment_metric={2} slope: {3} x + {4}".format(i,j,e,a,b))
print("** overall metric = {0}".format(err))
for (a,b,i,j,e) in interval:
print("** OPT: [{0} .. {1}] segment_metric={2} slope: {3} x + {4}".format(i,j,e,a,b))