Example: Function call: max_risk(matrix_1).
matrix_1:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
scenario_probability |
1 7 |
4 -5 |
8 4 |
3 -6 |
-2 11 |
0.4 0.6 |
The matrix_1 is in file matrix_1.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
Maximum Risk for Loss is calculated at point_1:
component_name |
value |
x1 x2 x3 x4 |
1 1 1 1 |
The point point_1 is in file point_1.txt (see PSG Point).
To calculate max_risk at point_1 run problemin file problem_max_risk.txt (see, Calculate Problem):
calculate
Point: point_1
Value:
max_risk(matrix_1)
Value of max_risk(matrix_1) at point_1 equals 11
Files problem_max_risk.txt, matrix_1.txt, and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\max_risk_test.