Last change
on this file since 1558 was
1558,
checked in by tkr, 10 years ago
|
Changing output a bit more
|
-
Property svn:executable set to
*
|
File size:
726 bytes
|
Line | |
---|
1 | #!/usr/bin/awk -f |
---|
2 | #* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
---|
3 | #* * |
---|
4 | #* This file is part of the test engine for MIPLIB2010 * |
---|
5 | #* * |
---|
6 | #* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
---|
7 | /^Stopped/ { |
---|
8 | if( NF > 7 ) |
---|
9 | exit; |
---|
10 | printf ("=obj= %s \n", $7); |
---|
11 | next; |
---|
12 | } |
---|
13 | /^Optimal/ { |
---|
14 | printf ("=obj= %s \n", $5); |
---|
15 | next; |
---|
16 | } |
---|
17 | /^Infeasible/ { |
---|
18 | printf ("=infeas= \n"); |
---|
19 | exit; |
---|
20 | } |
---|
21 | /^Integer/ { |
---|
22 | if( $2 == "infeasible") |
---|
23 | printf ("=infeas= \n"); |
---|
24 | exit; |
---|
25 | } |
---|
26 | //{ |
---|
27 | printf ("%s %s \n", $2, $3); |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.