Changeset 1386

Show
Ignore:
Timestamp:
09/15/08 07:30:35 (3 months ago)
Author:
dmitrey.kroshko
Message:

soem changes in examples/nlp1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openopt/scikits/openopt/examples/nlp_1.py

    r1270 r1386  
    8888# ALGENCAN solver ignores xtol and ftol; using maxTime, maxCPUTime, maxIter, maxFunEvals, fEnough is recommended. 
    8989 
    90 # Note that in ALGENCAN gradtol means norm of projected gradient of  the Augmented Lagrangian 
     90# Note that in algencan gradtol means norm of projected gradient of  the Augmented Lagrangian 
    9191# so it should be something like 1e-3...1e-5 
    92 p.gradtol = 1e-2 
     92p.gtol = 1e-7 # (default gtol = 1e-6) 
    9393 
    9494##p.debug = 1 
     
    106106p.maxFunEvals = 1e7 
    107107 
    108 r = p.solve('ralg', debug = 1
     108r = p.solve('ralg'
    109109 
    110110# r.xf and r.ff are optim point and optim objFun value