moscot.base.problems.BaseCompoundProblem.add_problem¶
- BaseCompoundProblem.add_problem(key, problem, *, overwrite=False, **kwargs)[source]¶
Add a subproblem.
See also
See Adding and removing problems on how to add subproblems.
- Parameters:
- Return type:
BaseCompoundProblem[TypeVar(K, bound=Hashable),TypeVar(B, bound=OTProblem)]- Returns:
: Self and updates the following fields: