Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc/examples/barrier.cpp

    • Property svn:keywords set to Author Date Id Revision
    r1574 r1902  
    44// This code is licensed under the terms of the Eclipse Public License (EPL).
    55
    6 #if defined(_MSC_VER)
    7 // Turn off compiler warning about long names
    8 #  pragma warning(disable:4786)
    9 #endif
    10 
    116#include <cassert>
    127#include <iomanip>
    138
    149
     10#include "CoinPragma.hpp"
    1511#include "OsiClpSolverInterface.hpp"
    16 #include  "CoinTime.hpp"
     12#include "CoinTime.hpp"
    1713
    1814//#############################################################################
     
    7268  if (argc>=2) mpsFileName = argv[1];
    7369  int numMpsReadErrors = solver1.readMps(mpsFileName.c_str(),"");
    74   assert(numMpsReadErrors==0);
     70  if( numMpsReadErrors != 0 )
     71  {
     72     printf("%d errors reading MPS file\n", numMpsReadErrors);
     73     return numMpsReadErrors;
     74  }
    7575  double time1 = CoinCpuTime();
    7676
Note: See TracChangeset for help on using the changeset viewer.