source: trunk/Cbc/scripts/parse_cbc_sol.awk @ 1558

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
RevLine 
[1540]1#!/usr/bin/awk -f
2#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3#*                                                                           *
4#*            This file is part of the test engine for MIPLIB2010            *
5#*                                                                           *
6#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
[1558]7/^Stopped/ {
8   if( NF > 7 )
9      exit;
10   printf ("=obj= %s \n", $7);
11   next;
[1540]12}
[1558]13/^Optimal/ {
14   printf ("=obj= %s \n", $5);
15   next;
[1540]16}
[1558]17/^Infeasible/ {
18   printf ("=infeas= \n");
19   exit;
[1540]20}
[1558]21/^Integer/ {
22   if( $2 == "infeasible")
23      printf ("=infeas= \n");
24   exit;
[1540]25}
[1558]26//{
27   printf ("%s %s \n", $2, $3);
[1540]28}
29
[1558]30
Note: See TracBrowser for help on using the repository browser.