Ticket #75 (new idea)

Opened 7 years ago

Last modified 5 years ago

allow simulated annealing warning in termination

Reported by: altafang Owned by: mmckerns
Priority: minor Milestone: mystic-0.4a
Component: mystic.solvers Keywords:
Cc:

Description

Simulated annealing termination originally comes with a warning. How does one integrate that with mystic termination? original code:

if all(abs((af-af[0])/af[0]) < feps):

if abs(af[-1]-best_state.cost) > feps*10:

print "Warning: Cooled to %f at %s but this is not" \

% (squeeze(last_state.cost), str(squeeze(last_state.x))) \ + " the smallest point found."

break

Mystic simulated annealing so far here:  http://dev.danse.us/trac/mystic/browser/branches/alta/mystic-0.1a2/mystic/anneal_solver.py

Change History

comment:1 Changed 7 years ago by altafang

  • Milestone set to mystic-dev

comment:2 Changed 7 years ago by mmckerns

  • Milestone changed from mystic-dev to mystic-0.1a3

comment:3 Changed 6 years ago by mmckerns

  • Type changed from task to idea
  • Milestone changed from mystic-0.2a1 to mystic-0.2a3

comment:4 Changed 6 years ago by mmckerns

  • Summary changed from Simulated annealing termination, warning to allow simulated annealing warning in termination

comment:5 Changed 6 years ago by mmckerns

  • Milestone changed from mystic-0.2a3 to mystic-0.2a2

comment:6 Changed 5 years ago by mmckerns

  • Milestone changed from mystic-0.2a2 to mystic-0.3a1
Note: See TracTickets for help on using tickets.