|
Chapter Contents |
Previous |
Next |
| The NLP Procedure |
![H = [ 100 & 10 & 1 & 0 \ 10 & 100 & 10 & 1 \ 1 & 10 & 100 & 10 \ 0 & 1 & 10 & 100 \ ]
g = [ 1 \ 2 \ 3 \ 4 \ ] c = 0.](images/nlpeq57.gif)
The rows and columns in matrix H and vector g correspond to the order of decision variables in the DECVAR statement.
MATRIX H= 100
10 100
1 10 100
0 1 10 100;
MATRIX G= 1 2 3 4;
MATRIX H[,]= 100 10 1; MATRIX G= 1 2 3 4;
MATRIX H [1,1]= 4 * 100,
[2,1]= 3 * 10,
[3,1]= 2 * 1;
MATRIX G [1,1]= 1 2 3 4;
MATRIX H [,1]= 100 10 1,
[,2]= 100 10 1,
[,3]= 100 10,
[,4]= 100;
MATRIX G [,1]= 1 2 3 4;
MATRIX H [1,]= 100,
[2,]= 10 100,
[3,]= 1 10 100,
[4,]= 0 1 10 100;
MATRIX G [1,]= 1 2 3 4;
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.