fancompute / angler

Frequency-domain photonic simulation and inverse design optimization for linear and nonlinear devices
https://arxiv.org/abs/1811.01255
MIT License
155 stars 47 forks source link

Persist optimization #5

Closed twhughes closed 5 years ago

twhughes commented 6 years ago

Would be useful if we could periodically save the permittivity and objective function values (or other necessary parameters) to a file while running.

This way if it's a super long run and we decide to cut it off early or have to stop it, we can pick right back up where it was.