Example: Function call: meansquare_ni_err(matrix_1,matrix_2).
matrix_1:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
1 |
4 |
8 |
3 |
-2 |
The matrix_1 is in file matrix_1.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
matrix_2:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
11 |
3 |
2 |
0 |
9 |
The matrix_2 is in file matrix_2.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
To minimize meansquare_ni_err run problem in file problem_meansquare_ni_err.txt :
minimize
meansquare_ni_err(matrix_1,matrix_2)
Value of meansquare_ni_err(matrix_1,matrix_2) equals 9,
Contributions are stored in file point_contributions_meansquare_ni_err.txt.
Files problem_meansquare_ni_err.txt, matrix_1.txt, matrix_2.txt and point_contributions_meansquare_ni_err.txt are in folder .\Aorda\PSG\Examples\Functions\ meansquare_ni_err_test.