Implement restart feature
The restart feature can be useful during experiments:
- The run of optimiser produces the files with full saved state
- Then, the optimisation can be continued from the saved state if necessary.
Also, it makes it possible to restore session after software or hardware fails.