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

Last change on this file since 1540 was 1540, checked in by tkr, 10 years ago

Adding scripts for running becnhmark tests

  • Property svn:executable set to *
File size: 843 bytes
Line 
1#!/usr/bin/awk -f
2#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3#*                                                                           *
4#*            This file is part of the test engine for MIPLIB2010            *
5#*                                                                           *
6#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
7BEGIN{
8   printf("\nSolution: \n\n");
9   infeasible = 0;
10}
11($3 != "objective" && $3 != "gap" && $3 != "time"){
12   if (!infeasible){
13      printf ("%s %s \n", $2, $3);
14   }
15}
16($3 == "objective" && $1 != "Infeasible"){
17      printf ("=obj= %s \n", $5);
18}
19($3 == "gap"){
20      printf ("=obj= %s \n", $8);
21}
22($3 == "time"){
23      printf ("=obj= %s \n", $7);
24}   
25($1 == "Infeasible"){
26   printf ("=infeas= \n");
27   infeasible = 1;
28}
29
Note: See TracBrowser for help on using the repository browser.