simrun
❭ modular_reduced_model_inference
❭ solver
❭ _Solver
❭ optimize_all_splits
_Solver.optimize_all_splits¶
-
simrun.modular_reduced_model_inference.solver._Solver.optimize_all_splits(client=
None
, workers=None
)¶ Optimize the cost function for all splits of the strategy.
- Parameters:¶
client (
dask.distributed.Client
) – A dask client object.workers (list) – List of worker names. Passed to
dask.distributed.Client.submit()
- Returns:¶
A dictionary with the keys being the split names and the values being the optimization results.
- Return type:¶
dict
See also