Output a figure showing the location of the given boxes to filename. This
function calls figure.solve() and uses the size of figure as the size
of the image. This function is meant for quick visualization.
Parameters:
filename (string) – The output file. Must end in .svg or .png.