def test_column_generation_py():
    network = pg.read_network()
    print('\nstart column generation\n')
    st = time()
    iter_num = 20
    column_update_num = 20
    pg.perform_column_generation(iter_num, column_update_num, network)
    print(f'processing time of column generation: {(time() - st):.2f} s for {iter_num} assignment iterations and {column_update_num} iterations in column generation')
    pg.output_columns(network)
    pg.output_link_performance(network)
def test_column_generation_py():
    network = pg.read_network()
    print('\nstart column generation\n')
    st = time()
    iter_num = 20
    column_update_num = 20
    pg.perform_column_generation(iter_num, column_update_num, network)
    print(f'processing time of column generation: {(time() - st):.2f} s for {iter_num} assignment iterations and {column_update_num} iterations in column generation')
    pg.output_columns(network)
    pg.output_link_performance(network)