def full_add_nodes(tr, solution): (t, chs) = solution tr.put_some(simplex_table_to_tex_full(t)) tr.put_newpage() for ch in chs: full_add_node(tr, ch)
def full_add_node(tr, table): (t, chs) = table tr.put_some(simplex_table_to_tex_full(t)) tr.put_newpage() for ch in chs: full_add_node(tr, ch)