-
Notifications
You must be signed in to change notification settings - Fork 0
/
ARGLINB.SIF
101 lines (66 loc) · 1.92 KB
/
ARGLINB.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
***************************
* SET UP THE INITIAL DATA *
***************************
NAME ARGLINB
* Problem :
* *********
* Variable dimension rank one linear problem
* Source: Problem 33 in
* J.J. More', B.S. Garbow and K.E. Hillstrom,
* "Testing Unconstrained Optimization Software",
* ACM Transactions on Mathematical Software, vol. 7(1), pp. 17-41, 1981.
* See also Buckley#93 (with different N and M)
* SIF input: Ph. Toint, Dec 1989.
* classification SUR2-AN-V-0
* This problem is a linear least squares
* N is the number of free variables
* M is the number of equations ( M .ge. N)
*IE N 10 $-PARAMETER
*IE N 50 $-PARAMETER
*IE N 100 $-PARAMETER
IE N 200 $-PARAMETER
*IE M 20 $-PARAMETER .ge. N
*IE M 100 $-PARAMETER .ge. N
*IE M 200 $-PARAMETER .ge. N
IE M 400 $-PARAMETER .ge. N
* Define useful parameters
IE 1 1
VARIABLES
DO I 1 N
X X(I)
ND
GROUPS
DO I 1 M
RI RI I
DO J 1 N
RI RJ J
R* IJ RI RJ
ZN G(I) X(J) IJ
ND
CONSTANTS
X ARGLINB 'DEFAULT' 1.0
BOUNDS
FR ARGLINB 'DEFAULT'
START POINT
XV ARGLINB 'DEFAULT' 1.0
GROUP TYPE
GV L2 GVAR
GROUP USES
XT 'DEFAULT' L2
OBJECT BOUND
* Solution
*LO SOLTN(10) 4.6341D+00
*LO SOLTN(50) 24.6268657
*LO SOLTN(100) 49.6259352
ENDATA
*********************
* SET UP THE GROUPS *
* ROUTINE *
*********************
GROUPS ARGLINB
INDIVIDUALS
T L2
F GVAR * GVAR
G GVAR + GVAR
H 2.0
ENDATA