Example: Function call: st_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 st_ni_err run problem in file problem_st_ni_err.txt :

 

minimize

 st_ni_err(matrix_1,matrix_2)

 

Value of st_ni_err(matrix_1,matrix_2) equals 3

Contributions are stored in file point_contributions_st_ni_err.txt

 

Files problem_st_ni_err.txt, matrix_1.txt, matrix_2.txt and point_contributions_st_ni_err.txt are in folder .\Aorda\PSG\Examples\Functions\st_ni_err_test.