Ticket #138 (closed enhancement: fixed)
provide solver methods for capabilities available with 'disp'
Reported by: | mmckerns | Owned by: | mmckerns |
---|---|---|---|
Priority: | major | Milestone: | mystic-0.2a2 |
Component: | mystic.solvers | Keywords: | |
Cc: |
Description
provide solver methods for capabilities available with 'disp'
'disp' provides:
- print " Current function value: %f" % fval
- print " Iterations: %d" % iterations
- print " Function evaluations: %d" % fcalls
These should be available as solver methods:
- solver.bestEnergy (done)
- solver.iterations
- solver.functionEvals
Then, solvers that rely on monitors for counting (such as the map solvers) should be updated.
Change History
Note: See
TracTickets for help on using
tickets.
solver.iterations already exists as "solver.generations"
solver.evaluations added