Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc/examples/driver3.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
     9#include "CoinPragma.hpp"
    1410#include "CbcModel.hpp"
    1511#include "OsiClpSolverInterface.hpp"
    1612#include "CbcBranchDynamic.hpp"
    1713
    18 #include  "CoinTime.hpp"
     14#include "CoinTime.hpp"
    1915
    2016//#############################################################################
     
    5551  if (argc>=2) mpsFileName = argv[1];
    5652  int numMpsReadErrors = solver1.readMps(mpsFileName.c_str(),"");
    57   assert(numMpsReadErrors==0);
     53  if( numMpsReadErrors != 0 )
     54  {
     55     printf("%d errors reading MPS file\n", numMpsReadErrors);
     56     return numMpsReadErrors;
     57  }
    5858
    5959  // Strip off integer information and save
Note: See TracChangeset for help on using the changeset viewer.