Changeset 920 for branches


Ignore:
Timestamp:
Feb 16, 2007 4:04:26 PM (13 years ago)
Author:
forrest
Message:

minor stuff

Location:
branches/devel/Clp/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Clp/src/ClpDualRowSteepest.cpp

    r800 r920  
    364364#endif
    365365  assert (input->packedMode());
    366   assert (updatedColumn->packedMode());
     366  if (!updatedColumn->packedMode()) {
     367    // I think this means empty
     368#ifdef COIN_DEVELOP
     369    printf("updatedColumn not packed mode ClpDualRowSteepest::updateWeights\n");
     370#endif
     371    return 0.0;
     372  }
    367373  double alpha=0.0;
    368374  if (!model_->factorization()->networkBasis()) {
  • branches/devel/Clp/src/ClpQuadraticObjective.cpp

    r800 r920  
    129129          printf("number above = %d, number below = %d, error\n",
    130130                 numberAbove,numberBelow);
     131          abort();
    131132        }
    132133      } else {
  • branches/devel/Clp/src/ClpSimplexDual.cpp

    r918 r920  
    40794079        factorization_->pivotTolerance(CoinMin(factorization_->pivotTolerance()*1.05+0.02,0.91));
    40804080      } else if (numberIterations_>10000) {
    4081         if (handler_->logLevel()>0)
     4081        if (handler_->logLevel()>2)
    40824082          printf("bad dual - saying infeasible %d\n",looksBad);
    40834083        problemStatus_=1;
     
    41094109          }
    41104110        }
    4111         if (handler_->logLevel()>0)
     4111        if (handler_->logLevel()>2)
    41124112          printf("bad dual - going to primal %d %g\n",looksBad,largestPrimalError_);
    41134113        allSlackBasis(true);
Note: See TracChangeset for help on using the changeset viewer.