simrunmodular_reduced_model_inferencestrategy_Strategyadd_solver

_Strategy.add_solver

simrun.modular_reduced_model_inference.strategy._Strategy.add_solver(solver, setup=True)

Add a solver to the strategy.

Parameters:
  • solver (Solver) – The solver to add.

  • setup (bool) – Whether to setup the solver. Default is True.

Returns:

None. Adds the solver to the strategy.