Ticket #138 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by mmckerns

  • Status changed from new to closed
  • Resolution set to fixed

solver.iterations already exists as "solver.generations"

solver.evaluations added

comment:2 Changed 5 years ago by mmckerns

(closed in r462)

Note: See TracTickets for help on using tickets.