simrun
❭ modular_reduced_model_inference
❭ solver
❭ _Solver
_Solver¶
- class simrun.modular_reduced_model_inference.solver._Solver(name)¶
Solver base class
Each child must implement the
_setup_optimizer()
method.- Methods:¶
setup
(strategy)Setup the solver for a given strategy and optimizer.
Set up the optimization strategy.
optimize_all_splits
(client, workers)Optimize the cost function for all splits of the strategy.
optimize_one_split
(client, workers, index)Optimize the cost function for a single split.