R2D2.split#

R2D2.split(component_name)[source]#

Get lazy reference to a component’s split variable.

Parameters:
component_namestr

Name of the component (must be a key in dims).

Returns:
R2D2Split

Lazy reference to the split variable.

Raises:
ValueError

If component_name is not a key in dims.

Notes

The decomposition auto-builds on first create_variable() call. This must happen inside a pm.Model context.