Changeset 2518 for trunk


Ignore:
Timestamp:
Mar 6, 2019 3:48:02 PM (3 months ago)
Author:
stefan
Message:

add missing callback argument to CbcMain1

File:
1 edited

Legend:

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

    r2498 r2518  
    1111#include "OsiClpSolverInterface.hpp"
    1212#include "CbcBranchDynamic.hpp"
     13#include "CbcSolver.hpp"
    1314
    1415#include "CoinTime.hpp"
     
    2728
    2829************************************************************************/
     30
     31static int dummyCallBack(CbcModel * /*model*/, int /*whereFrom*/)
     32{
     33  return 0;
     34}
    2935
    3036int main(int argc, const char *argv[])
     
    106112  */
    107113  if (argc > 2) {
    108     CbcMain1(argc - 1, argv + 1, model, cbcData);
     114    CbcMain1(argc - 1, argv + 1, model, dummyCallBack, cbcData);
    109115  } else {
    110116    const char *argv2[] = { "driver3", "-solve", "-quit" };
    111     CbcMain1(3, argv2, model, cbcData);
     117    CbcMain1(3, argv2, model, dummyCallBack, cbcData);
    112118  }
    113119
Note: See TracChangeset for help on using the changeset viewer.