diff options
Diffstat (limited to 'glpk-5.0/examples/tsp/build.sh')
-rwxr-xr-x | glpk-5.0/examples/tsp/build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/glpk-5.0/examples/tsp/build.sh b/glpk-5.0/examples/tsp/build.sh new file mode 100755 index 0000000..ab6abc1 --- /dev/null +++ b/glpk-5.0/examples/tsp/build.sh @@ -0,0 +1,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 |