Block operation converts a PSG Matrix to a new PSG Matrix with a special block structure with new dimensions.
Syntax
block(N,matrix_one_block) |
Parameters
matrix_one_block |
name of input PSG Matrix; |
N |
number of blocks in output PSG Matrices (with an equal number of rows in every PSG Matrix). |
Description
Input PSG Matrix matrix_one_block:
Operation block(N,matrix_one_block)
generates the following PSG Matrix with block structure
where
Remarks
• | Names of variables in the input PSG Matrix must end with substring "_1". |
• | Output PSG Matrix includes N blocks and two columns: "scenario_benchmark", and "scenario_probability". |
• | Name of i-th variable in the n-th block of the output PSG Matrix ends with substring "_<n>", where the block number, n= 1, 2, ..., N. |
• | Block operation can be used for compact representation of Sparse Matrices with a special block structure. |
Example
Input PSG Matrix <matrix_one_block>:
block(3,<matrix_one_block>) operation generates:
Case Studies with Block Operation
See also