pastas.solver.base.SolverBase#
- class pastas.solver.base.SolverBase(name: str = 'solver', **kwargs: Any)#
All solver instances inherit from the SolverBase class.
- ml#
The Pastas Model instance that is being solved.
- Type:
pastas.Model
- parameters#
DataFrame with the initial parameters of the solver itself.
- Type:
pd.DataFrame
Methods#
|
Get initial parameters of the solver. |
|
Set the initial parameters (back) to their default values. |
|
Set the Pastas Model instance. |
|
Abstract method that has to be implemented by all solvers. |
|
Solve method that has to be implemented by all solvers. |
|
Return a dictionary representation of the solver instance. |