Changeset 1177
- Timestamp:
- 08/03/08 08:14:49 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openopt/scikits/openopt/solvers/UkrOpt/ralg_oo.py
r1176 r1177 66 66 67 67 68 """ Ralg main cycle"""68 """ Ralg main cycle """ 69 69 70 70 for itn in xrange(p.maxIter+2): … … 78 78 79 79 x_0 = x.copy() 80 80 81 81 82 """ Forward line search """ … … 96 97 97 98 if ls == 0: 98 oldPoint = p .point(p.xk, f = p.fk, mr = p.rk)99 oldPoint = prevIterPoint#p.point(p.xk, f = p.fk, mr = p.rk) 99 100 100 101 #if not self.checkTurnByGradient: … … 114 115 if itn != 0: g2 = self.__getRalgDirection__(iterPoint) 115 116 117 116 118 """ Backward line search """ 119 117 120 x = iterPoint.x.copy() 118 121 if ls == 0 and self.doBackwardSearch:
