Changeset 1177

Show
Ignore:
Timestamp:
08/03/08 08:14:49 (4 months ago)
Author:
dmitrey.kroshko
Message:

some changes for ralg

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openopt/scikits/openopt/solvers/UkrOpt/ralg_oo.py

    r1176 r1177  
    6666 
    6767 
    68         """                         Ralg main cycle                                   """ 
     68        """                           Ralg main cycle                                    """ 
    6969 
    7070        for itn in xrange(p.maxIter+2): 
     
    7878 
    7979            x_0 = x.copy() 
     80 
    8081 
    8182            """                           Forward line search                          """ 
     
    9697 
    9798                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) 
    99100 
    100101                #if not self.checkTurnByGradient: 
     
    114115            if itn != 0: g2 = self.__getRalgDirection__(iterPoint) 
    115116 
     117 
    116118            """                          Backward line search                          """ 
     119 
    117120            x = iterPoint.x.copy() 
    118121            if ls == 0 and self.doBackwardSearch: