onerow: add table headers
This commit is contained in:
@@ -9,22 +9,22 @@ done
|
||||
|
||||
echo " TABLE 1 "
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
printf "%s,%s,%s,%s,%s,%s,%s,%s,%s\n" instance cutsmir cutsw origgap mirperf wperf mircontrib wcontrib wimprov
|
||||
printf "%s,%s,%s,%s,%s,%s,%s,%s,%s,%s\n" instance cutsmir cutsw origgap mirperf wperf mircontrib wcontrib wimprov wtime | tee 'tables/gap.csv'
|
||||
for i in out/*.yaml; do
|
||||
IN=${i/.yaml/}
|
||||
IN=${IN/out\//}
|
||||
printf "%s," $IN
|
||||
scripts/gap.rb $i
|
||||
done | sort -t',' -nrsk 8 | sed -e 's/,$//g' | tee 'tables/gap.csv'
|
||||
done | sort -t',' -nrsk 8 | sed -e 's/,$//g' | tee -a 'tables/gap.csv'
|
||||
|
||||
echo
|
||||
echo
|
||||
echo " TABLE 2 "
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
printf "%s,%s,%s,%s,%s,%s\n" instance cutsmir cutsw mirt wedget avgm
|
||||
printf "%s,%s,%s,%s,%s,%s\n" instance cutsmir cutsw mirt wedget avgm | tee 'tables/speed.csv'
|
||||
for i in out/*.yaml; do
|
||||
IN=${i/.yaml/}
|
||||
IN=${IN/out\//}
|
||||
printf "%s," $IN
|
||||
scripts/speed.rb $i
|
||||
done | sort | sed -e 's/,$//g' | tee 'tables/speed.csv'
|
||||
done | sort | sed -e 's/,$//g' | tee -a 'tables/speed.csv'
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
instance,cutsmir,cutsw,origgap,mirperf,wperf,mircontrib,wcontrib,wimprov,wtime
|
||||
gmu-35-40.pre,27,508,0.01,0.07,9.94,0.74,99.26,9.88,77
|
||||
eil33-2.pre,30,284,13.14,4.28,15.21,28.11,71.89,11.42,7439
|
||||
mik-250-1-100-1.pre,100,961,19.65,53.52,73.44,72.87,27.13,42.86,7
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
instance,cutsmir,cutsw,mirt,wedget,avgm
|
||||
30n20b8.pre,---,---,---,---,---
|
||||
aflow40b.pre,---,---,---,---,---
|
||||
app1-2.pre,---,---,---,---,---
|
||||
|
||||
|
Reference in New Issue
Block a user