-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALLINQP.SIF
145 lines (116 loc) · 3.11 KB
/
ALLINQP.SIF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
***************************
* SET UP THE INITIAL DATA *
***************************
NAME ALLINQP
* Problem :
* *********
* A banded QP with all sorts of constraint and variable bounds
* SIF input: Nick Gould, December 1999.
* classification QLR2-AN-V-V
*IE N 10
*IE N 100
*IE N 10000
IE N 50000
*IE N 100000
*IE N 200000
*IE N 400000
*IE N 500000
IE 1 1
IE 2 2
IE 3 3
IE 4 4
IE 5 5
IE 6 6
IE 7 7
RI RN N
RE ONE 1.0
I/ M N 2
I- N-1 N 1
I/ M/4 M 4
IA M/4+1 M/4 1
IM 2M/4 M/4 2
IA 2M/4+1 2M/4 1
IM 3M/4 M/4 3
IA 3M/4+1 3M/4 1
I/ N/7 N 7
IA N/7+1 N/7 1
IM 2N/7 N/7 2
IA 2N/7+1 2N/7 1
IM 3N/7 N/7 3
IA 3N/7+1 3N/7 1
IM 4N/7 N/7 4
IA 4N/7+1 4N/7 1
IM 5N/7 N/7 5
IA 5N/7+1 5N/7 1
IM 6N/7 N/7 6
IA 6N/7+1 6N/7 1
VARIABLES
DO I 1 N
X X(I)
ND
GROUPS
DO I 3N/7+1 4N/7
RI RI I
R/ RI/RN RI RN
RM -RI/RN RI/RN -1.0
ZN OBJ X(I) -RI/RN
ND
DO I 1 M/4
I+ M+I M I
XE C(I) X(I) 1.0 X(M+I) 1.0
ND
DO I M/4+1 3M/4
I+ M+I M I
XG C(I) X(I) 1.0 X(M+I) 1.0
ND
DO I 3M/4+1 M
I+ M+I M I
XL C(I) X(I) 1.0 X(M+I) 1.0
ND
CONSTANTS
DO I 1 M/4
X ALLINQP C(I) 1.0
ND
DO I M/4+1 2M/4
X ALLINQP C(I) 1.0
ND
DO I 2M/4+1 3M/4
X ALLINQP C(I) 1.0
ND
DO I 3M/4+1 M
X ALLINQP C(I) 1.0
ND
RANGES
DO I 2M/4+1 3M/4
X ALLINQP C(I) 1.0
ND
BOUNDS
FR ALLINQP 'DEFAULT' 0.0
DO I N/7+1 2N/7
XL ALLINQP X(I) 0.0
ND
DO I 2N/7+1 3N/7
XL ALLINQP X(I) 0.0
ND
DO I 3N/7+1 4N/7
XL ALLINQP X(I) 0.5
XU ALLINQP X(I) 2.0
ND
DO I 4N/7+1 5N/7
XU ALLINQP X(I) 3.0
ND
DO I 5N/7+1 6N/7
XU ALLINQP X(I) 0.0
ND
DO I 6N/7+1 N
XX ALLINQP X(I) 0.0
ND
*START POINT
* ALLINQP 'DEFAULT' 1.0
QUADRATIC
DO I 1 N-1
I+ I+1 I 1
X X(I ) X(I) 2.0 X(I+1) -1.0
ND
X X(N ) X(N) 2.0
ENDATA