Ignore:
Timestamp:
Jul 19, 2007 4:00:04 PM (12 years ago)
Author:
forrest
Message:

make easier to call standalone solver code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CoinSolve.cpp

    r640 r696  
    2525{
    2626  OsiClpSolverInterface solver1;
    27   CbcModel * babSolver = NULL;
    28   int returnCode = CbcMain (argc, argv,solver1,&babSolver);
     27  CbcModel model(solver1);
     28  int returnCode = CbcMain (argc, argv,model);
    2929  if (returnCode!=777) {
    3030    return returnCode;
    3131  } else {
    3232    // do miplib
    33     CbcClpUnitTest(*babSolver);
     33    CbcClpUnitTest(model);
    3434    return 0;
    3535  }
Note: See TracChangeset for help on using the changeset viewer.