Ignore:
Timestamp:
Aug 16, 2002 12:02:38 PM (18 years ago)
Author:
forrest
Message:

Hope this works from wincvs

Fix error in values pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-1/ClpSimplexDual.cpp

    r14 r15  
    260260  int saveSparse = factorization_->sparseThreshold();
    261261
    262   if (internalFactorize(0))
     262  int factorizationStatus = internalFactorize(0);
     263  if (factorizationStatus<0)
    263264    return 1; // some error
     265  else if (factorizationStatus)
     266    handler_->message(CLP_SINGULARITIES,messages_)
     267    <<factorizationStatus
     268    <<OsiMessageEol;
    264269
    265270  // If user asked for perturbation - do it
     
    727732        FakeBound bound = getFakeBound(iSequence+addSequence);
    728733        Status status = getStatus(iSequence+addSequence);
    729        
     734
    730735        switch(status) {
    731736         
     
    906911      setFakeBound(iSequence,ClpSimplexDual::noFake);
    907912      switch(getStatus(iSequence)) {
    908        
     913
    909914      case ClpSimplex::basic:
    910915        break;
     
    11361141      double value = oldValue-tentativeTheta*alpha;
    11371142      int keep = 0;
    1138        
     1143
    11391144      switch(getStatus(iSequence+addSequence)) {
    11401145         
     
    19671972      work[iSequence]=0.0;
    19681973      Status status = getStatus(iSequence+addSequence);
    1969        
     1974
    19701975      switch(status) {
    1971        
     1976
    19721977      case ClpSimplex::basic:
    19731978      case ClpSimplex::isFree:
Note: See TracChangeset for help on using the changeset viewer.