Skip to content

Commit

Permalink
Improved parallelNelderMead (#300)
Browse files Browse the repository at this point in the history
* Improved parallelNelderMead

Made some fixes to HARK.parallel.parallelNelderMead:

1) Renamed maxcores to maxthreads, to be more correct
2) Fixed various small comments
3) Applied fix if degree of parallelization is illegal
4) Fixed computation of x_dist (whoops)
5) Allowed initial simplex to be saved to disk
6) Adjusted save/load procedure to use comma as delimiter rather than space (and use one line per simplex point), to make it easier to copy-paste points from the simplex file while estimation is in progress.

Also deleted superfluous test of parallelNelderMead in the main block, and trimmed down the message that's printed if HARK.parallel is ever executed.

* use with open() instead of open/close for file handling

* fix linting changes

Co-authored-by: Christopher Llorracc Carroll <[email protected]>
Co-authored-by: Mridul Seth <[email protected]>
  • Loading branch information
3 people committed Jan 2, 2020
1 parent c5d8978 commit 5663528
Showing 1 changed file with 124 additions and 178 deletions.
Loading

0 comments on commit 5663528

Please sign in to comment.