Ignore:
Timestamp:
Apr 9, 2013 2:06:04 PM (7 years ago)
Author:
stefan
Message:

fixup examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/examples/sample2.cpp

    r1660 r1898  
    3535#include "CbcHeuristic.hpp"
    3636
    37 #include  "CoinTime.hpp"
     37#include "CoinTime.hpp"
    3838
    3939//#############################################################################
     
    8585  if (argc>=2) mpsFileName = argv[1];
    8686  int numMpsReadErrors = solver1.readMps(mpsFileName.c_str(),"");
    87   assert(numMpsReadErrors==0);
     87  if( numMpsReadErrors != 0 )
     88  {
     89     printf("%d errors reading MPS file\n", numMpsReadErrors);
     90     return numMpsReadErrors;
     91  }
    8892  double time1 = CoinCpuTime();
    8993
Note: See TracChangeset for help on using the changeset viewer.