Changeset 1335 for branches/sandbox/Cbc/examples
- Timestamp:
- Dec 2, 2009 7:15:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sandbox/Cbc/examples/sample2.cpp
r333 r1335 73 73 // Read in model using argv[1] 74 74 // and assert that it is a clean model 75 std::string mpsFileName = "../../Data/Sample/p0033.mps"; 75 const char dirsep = CoinFindDirSeparator(); 76 std::string mpsFileName; 77 if (dirsep == '/') 78 mpsFileName = "../../Data/Sample/p0033.mps"; 79 else 80 mpsFileName = "..\\..\\..\\..\\Data\\Sample\\p0033.mps"; 76 81 if (argc>=2) mpsFileName = argv[1]; 77 82 int numMpsReadErrors = solver1.readMps(mpsFileName.c_str(),"");
Note: See TracChangeset
for help on using the changeset viewer.