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

fixup examples

File:
1 edited

Legend:

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

    r1660 r1898  
    4949  // and assert that it is a clean model
    5050  int numMpsReadErrors = model.solver()->readMps("./ltw.mps","");
    51   assert(numMpsReadErrors==0);
     51  if( numMpsReadErrors != 0 )
     52  {
     53     printf("%d errors reading MPS file\n", numMpsReadErrors);
     54     return numMpsReadErrors;
     55  }
    5256
    5357  // Definition of node choice
Note: See TracChangeset for help on using the changeset viewer.