summaryrefslogtreecommitdiff
path: root/glpk-5.0/examples/tsp/build.sh
blob: ab6abc1fb787f22a411853df12490cd254883e23 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
#
#  Run this script to build TSPSOL executable.
#
#  NOTE: you need to have GLPK properly installed.
#
gcc -O2 -otspsol main.c maxflow.c mincut.c misc.c tsplib.c -lglpk -lm
./tspsol sample.tsp