mario.CoreModel.resolve#

CoreModel.resolve(matrix: str, *, scenario: str = 'baseline', force_rewrite: bool = False, compute_options=None)#

Resolve and materialize one matrix through the compute resolver.

Parameters:
  • matrix – Matrix or block name to compute.

  • scenario – Scenario used as the resolution context.

  • force_rewrite – When True, drop and recompute an already materialized block.

  • compute_options – Optional advanced compute options payload used to steer runtime planning and backend selection.

Returns:

The resolved block as stored in self.matrices[scenario].

Return type:

object