-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHS39.SIF
97 lines (62 loc) · 1.56 KB
/
HS39.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
***************************
* SET UP THE INITIAL DATA *
***************************
NAME HS39
* Problem :
* *********
* Source: problem 39 in
* W. Hock and K. Schittkowski,
* "Test examples for nonlinear programming codes",
* Lectures Notes in Economics and Mathematical Systems 187, Springer
* Verlag, Heidelberg, 1981.
* SIF input: A.R. Conn, April 1990
* classification LOR2-AN-4-2
* some useful parameters, including N, the number of variables.
IE N 4
IE 1 1
VARIABLES
DO I 1 N
X X(I)
ND
GROUPS
N OBJ X1 -1.0
E CON1 X2 1.0
E CON2 X2 -1.0
BOUNDS
FR HS39 'DEFAULT'
START POINT
XV HS39 'DEFAULT' 2.0
ELEMENT TYPE
EV MSQ V1
EV MCB V1
ELEMENT USES
T E1 MCB
V E1 V1 X1
T E2 MSQ
V E2 V1 X3
T E3 MSQ
V E3 V1 X1
T E4 MSQ
V E4 V1 X4
GROUP USES
E CON1 E1 E2
E CON2 E3 -1.0 E4
OBJECT BOUND
* Solution
*LO SOLTN -1.0
ENDATA
***********************
* SET UP THE FUNCTION *
* AND RANGE ROUTINES *
***********************
ELEMENTS HS39
INDIVIDUALS
T MCB
F -V1**3
G V1 -3.0 * V1 * V1
H V1 V1 -6.0 * V1
T MSQ
F -V1 * V1
G V1 -2.0 * V1
H V1 V1 -2.0
ENDATA