Ignore:
Timestamp:
Jul 3, 2007 11:19:04 AM (12 years ago)
Author:
forrest
Message:

timing again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/unitTestClp.cpp

    r675 r676  
    471471            }
    472472            solution.initialSolve(solveOptions);
    473             double time2 = CoinCpuTime()+CoinCpuTimeJustChildren()-time1;
     473            double time2 = CoinCpuTime()-time1;
    474474            testTime[iTest]=time2;
    475475            printf("Took %g seconds - status %d\n",time2,solution.problemStatus());
     
    19511951    */
    19521952
    1953     double startTime = CoinCpuTime();
     1953    double startTime = CoinCpuTime()+CoinCpuTimeJustChildren();
    19541954    model->setMaximumNodes(200000);
    19551955    OsiClpSolverInterface * si =
     
    20282028    model->branchAndBound();
    20292029     
    2030     double timeOfSolution = CoinCpuTime()-startTime;
     2030    double timeOfSolution = CoinCpuTime()+CoinCpuTimeJustChildren()-startTime;
    20312031    // Print more statistics
    20322032    std::cout<<"Cuts at root node changed objective from "<<model->getContinuousObjective()
Note: See TracChangeset for help on using the changeset viewer.