Changeset 116


Ignore:
Timestamp:
May 1, 2009 1:21:58 PM (13 years ago)
Author:
pbelotti
Message:

restore unused original in getAuxs and initAuxs also.

Location:
trunk/Couenne/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/bound_tightening/operators/impliedBounds-exprSum.cpp

    r115 r116  
    241241  CoinCopyN (u, maxind, uc);
    242242
    243   /*for (register int i = maxind; i--;) {
    244     *lc++ = *l++;
    245     *uc++ = *u++;
    246     //lc [i] = l [i];
    247     //uc [i] = u [i];
    248   }
    249 
    250   lc -= maxind; uc -= maxind;
    251   l  -= maxind; u  -= maxind;*/
    252 
    253243  // Update lowers in I1 and uppers in I2
    254244
  • trunk/Couenne/src/problem/problem.cpp

    r115 r116  
    122122    }
    123123  }
     124
     125  restoreUnusedOriginals (); // no argument as the local x vector will be used
    124126}
    125127
     
    159161    } else X (index) = 0.;
    160162  }
     163
     164  restoreUnusedOriginals ();
    161165
    162166  domain_.pop ();
Note: See TracChangeset for help on using the changeset viewer.