uqfoundation / mystic

constrained nonlinear optimization for scientific machine learning, UQ, and AI
http://mystic.rtfd.io
Other
467 stars 50 forks source link

migrate from deprecated ez_map interface to pathos.maps interface #192

Closed mmckerns closed 1 year ago

mmckerns commented 1 year ago

Should remove SetLauncher, SelectServers, and SetScheduler, and update SetMapper to use an interface designed for instances such as pathos.maps.Map() and pathos.pools.ProcessPool().map, instead of the deprecated mp_map and ez_map functions. Repurpose _mapconfig to enable passing kwds (such as chunksize to map.