Changeset 1386
- Timestamp:
- 09/15/08 07:30:35 (3 months ago)
- Files:
-
- trunk/openopt/scikits/openopt/examples/nlp_1.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openopt/scikits/openopt/examples/nlp_1.py
r1270 r1386 88 88 # ALGENCAN solver ignores xtol and ftol; using maxTime, maxCPUTime, maxIter, maxFunEvals, fEnough is recommended. 89 89 90 # Note that in ALGENCANgradtol means norm of projected gradient of the Augmented Lagrangian90 # Note that in algencan gradtol means norm of projected gradient of the Augmented Lagrangian 91 91 # so it should be something like 1e-3...1e-5 92 p.g radtol = 1e-292 p.gtol = 1e-7 # (default gtol = 1e-6) 93 93 94 94 ##p.debug = 1 … … 106 106 p.maxFunEvals = 1e7 107 107 108 r = p.solve('ralg' , debug = 1)108 r = p.solve('ralg') 109 109 110 110 # r.xf and r.ff are optim point and optim objFun value
