source: releases/2.8.8/Cbc/scripts/parse_cbc_sol.awk

Last change on this file was 1854, checked in by stefan, 6 years ago

fix svn keywords property

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
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.