void perm0_next3 ( int n, int p[], bool *more, int *rank ); void tsp_brute ( int n, double *x, double *cost_min, int *order_min ); double tsp_tour_cost ( int n, double *x, int *order );