The task requires implementing edge attributes called "x" for every edge in the graph in which the (fractional) assignments of the variables are stored. If the student failed to do so, the error message looks rather cryptic.
Traceback (most recent call last):
File ".../04_mip/exercises/01_tsp/_alglab_utils.py", line 192, in
exec(exc_file, glob)
File "", line 157, in
File "", line 40, in att48
File "", line 19, in _connected
TypeError: '>=' not supported between instances of 'NoneType' and 'float'
A simple check that assures that all edges in the solution graph have data("x") defined would be helpful.