Changeset 96


Ignore:
Timestamp:
Jan 16, 2003 5:46:50 PM (17 years ago)
Author:
forrest
Message:

Adding time to unitTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Test/unitTest.cpp

    r95 r96  
    293293        Presolve pinfo;
    294294        ClpSimplex * model2 = pinfo.presolvedModel(solution,1.0e-8);
     295        // change from 200
     296        model2->factorization()->maximumPivots(100+model2->numberRows()/50);
    295297        if (doDual) {
     298          // faster if bounds tightened
     299          int numberInfeasibilities = model2->tightenPrimalBounds();
     300          if (numberInfeasibilities)
     301            std::cout<<"** Analysis indicates model infeasible"
     302                     <<std::endl;
    296303          model2->dual();
    297304        } else {
     
    313320        if (solution.numberIterations())
    314321          printf("****** iterated %d\n",solution.numberIterations());
    315         solution.checkSolution();
     322        /*solution.checkSolution();
    316323        printf("%g dual %g(%d) Primal %g(%d)\n",
    317324               solution.objectiveValue(),
     
    319326               solution.numberDualInfeasibilities(),
    320327               solution.sumPrimalInfeasibilities(),
    321                solution.numberPrimalInfeasibilities());
     328               solution.numberPrimalInfeasibilities());*/
    322329#endif
    323330        if (0) {
Note: See TracChangeset for help on using the changeset viewer.