Changeset 2001


Ignore:
Timestamp:
Nov 30, 2013 8:13:58 AM (5 years ago)
Author:
stefan
Message:

check status only if reading mps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/examples/testQP.cpp

    r1662 r2001  
    2525#if defined(SAMPLEDIR)
    2626          int status = m.readMps(SAMPLEDIR "/share2qp", "mps");
     27          if (status) {
     28               printf("errors on input\n");
     29               exit(77);
     30          }
    2731#else
    2832          fprintf(stderr, "Do not know where to find sample MPS files.\n");
    2933          exit(1);
    3034#endif
    31           if (status) {
    32                printf("errors on input\n");
    33                exit(77);
    34           }
    3535          ClpInterior model;
    3636          model.loadProblem(*m.getMatrixByCol(), m.getColLower(), m.getColUpper(),
Note: See TracChangeset for help on using the changeset viewer.