Changeset 1222
- Timestamp:
- 08/18/08 11:28:57 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openopt/scikits/openopt/solvers/UkrOpt/ralg_oo.py
r1221 r1222 139 139 140 140 ls -= 1 141 142 141 if itn != 0: 143 142 break 143 144 144 145 iterPoint = PrevPoint 145 146 … … 152 153 if ls <= 0: hs *= q1 153 154 if itn == 0: 154 g2 = self.__getRalgDirection__(newPoint)155 155 p.debugmsg('hs: ' + str(hs)) 156 156 p.debugmsg('ls: ' + str(ls)) … … 257 257 258 258 """ Some final things for ralg main cycle """ 259 260 g = moveDirection.copy() 261 #g = g2.copy() 259 if p.debug: 260 if all(g2 == moveDirection): 261 print 'ls=', ls, 'equal' 262 else: 263 print 'ls=', ls, 'not equal' 264 #g = moveDirection.copy() 265 g = g2.copy() 266 262 267 prevIterPoint, iterPoint = iterPoint, None 263 268
