1 | |
---|
2 | +++++++++++++++++++++++++++++++++++++++++++ |
---|
3 | + MAD-X 5.00.16 (64 bit, Darwin) + |
---|
4 | + DEBUG Version - use at own risk! + |
---|
5 | + Code Modification Date: 2012.04.05 + |
---|
6 | + Execution Time Stamp: 05.06.12 10.46.23 + |
---|
7 | +++++++++++++++++++++++++++++++++++++++++++ |
---|
8 | x1=0.1; |
---|
9 | |
---|
10 | x2=0.0; |
---|
11 | |
---|
12 | match,use_macro; |
---|
13 | |
---|
14 | vary,name=x1; |
---|
15 | |
---|
16 | vary,name=x2; |
---|
17 | |
---|
18 | m1: macro={;}; |
---|
19 | |
---|
20 | constraint,expr= x1+3*x2=1; |
---|
21 | |
---|
22 | constraint,expr= x1+1*x2=1; |
---|
23 | |
---|
24 | jacobian,calls=20,tolerance=1.e-21; |
---|
25 | |
---|
26 | number of variables: 2 |
---|
27 | user given constraints: 0 |
---|
28 | total constraints: 2 |
---|
29 | |
---|
30 | START JACOBIAN: |
---|
31 | |
---|
32 | JACOBIAN Strategy = 3 |
---|
33 | Initial Penalty Function = 0.1620000000000000E+01 |
---|
34 | |
---|
35 | |
---|
36 | Solve system with 2 con, 2 var |
---|
37 | Rank 2 Condition number 5.82842712474619 |
---|
38 | Step length 0.899999999999851 |
---|
39 | call: 2 Dx = 0.90000000E+00 Penalty function = 0.4463902367581577E-23 |
---|
40 | ++++++++++ JACOBIAN ended: converged successfully |
---|
41 | Final difference norm: 0.948683298049726 |
---|
42 | endmatch; |
---|
43 | |
---|
44 | |
---|
45 | MATCH SUMMARY |
---|
46 | |
---|
47 | -------------------------------------------------------------------- |
---|
48 | macro: m1 |
---|
49 | constraint: x1+3*x2=1 |
---|
50 | values: +1.00000e+00=+1.00000e+00 |
---|
51 | weight: +1.00000e+00 |
---|
52 | penalty: -1.49403e-12 |
---|
53 | |
---|
54 | constraint: x1+1*x2=1 |
---|
55 | values: +1.00000e+00=+1.00000e+00 |
---|
56 | weight: +1.00000e+00 |
---|
57 | penalty: -1.49392e-12 |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | Final Penalty Function = 4.46390237e-24 |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | Variable Final Value Initial Value Lower Limit Upper Limit |
---|
66 | -------------------------------------------------------------------------------- |
---|
67 | x1 1.00000e+00 1.00000e-01 -1.00000e+20 1.00000e+20 |
---|
68 | x2 -3.92523e-17 0.00000e+00 -1.00000e+20 1.00000e+20 |
---|
69 | |
---|
70 | END MATCH SUMMARY |
---|
71 | |
---|
72 | VARIABLE "TAR" SET TO 4.46390237e-24 |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | x1=0.1; |
---|
78 | |
---|
79 | ++++++ info: x1 redefined |
---|
80 | x2=0.0; |
---|
81 | |
---|
82 | ++++++ info: x2 redefined |
---|
83 | match,use_macro; |
---|
84 | |
---|
85 | vary,name=x1,knob=knob1; |
---|
86 | |
---|
87 | vary,name=x2,knob=knob2; |
---|
88 | |
---|
89 | m1: macro={;}; |
---|
90 | |
---|
91 | ++++++ warning: macro redefined: m1 |
---|
92 | constraint,expr= x1+3*x2=1; |
---|
93 | |
---|
94 | constraint,expr= x1+1*x2=1; |
---|
95 | |
---|
96 | jacobian,calls=20,tolerance=1.e-21; |
---|
97 | |
---|
98 | number of variables: 2 |
---|
99 | user given constraints: 0 |
---|
100 | total constraints: 2 |
---|
101 | |
---|
102 | START JACOBIAN: |
---|
103 | |
---|
104 | JACOBIAN Strategy = 3 |
---|
105 | Initial Penalty Function = 0.1620000000000000E+01 |
---|
106 | |
---|
107 | |
---|
108 | Solve system with 2 con, 2 var |
---|
109 | Rank 2 Condition number 5.82842712474619 |
---|
110 | Step length 0.899999999999851 |
---|
111 | call: 2 Dx = 0.90000000E+00 Penalty function = 0.4463902367581577E-23 |
---|
112 | ++++++++++ JACOBIAN ended: converged successfully |
---|
113 | Final difference norm: 0.948683298049726 |
---|
114 | endmatch,knobfile="knobfile.out"; |
---|
115 | |
---|
116 | |
---|
117 | MATCH SUMMARY |
---|
118 | |
---|
119 | -------------------------------------------------------------------- |
---|
120 | macro: m1 |
---|
121 | constraint: x1+3*x2=1 |
---|
122 | values: +1.00000e+00=+1.00000e+00 |
---|
123 | weight: +1.00000e+00 |
---|
124 | penalty: -1.49403e-12 |
---|
125 | |
---|
126 | constraint: x1+1*x2=1 |
---|
127 | values: +1.00000e+00=+1.00000e+00 |
---|
128 | weight: +1.00000e+00 |
---|
129 | penalty: -1.49392e-12 |
---|
130 | |
---|
131 | |
---|
132 | |
---|
133 | Final Penalty Function = 4.46390237e-24 |
---|
134 | |
---|
135 | |
---|
136 | |
---|
137 | Variable Final Value Initial Value Lower Limit Upper Limit |
---|
138 | -------------------------------------------------------------------------------- |
---|
139 | x1 1.00000e+00 1.00000e-01 -1.00000e+20 1.00000e+20 |
---|
140 | x2 -3.92523e-17 0.00000e+00 -1.00000e+20 1.00000e+20 |
---|
141 | |
---|
142 | END MATCH SUMMARY |
---|
143 | |
---|
144 | VARIABLE "TAR" SET TO 4.46390237e-24 |
---|
145 | |
---|
146 | Number of warnings: 1 |
---|
147 | 1 in C and 0 in Fortran |
---|
148 | |
---|
149 | ++++++++++++++++++++++++++++++++++++++++++++ |
---|
150 | + MAD-X 5.00.16 64 finished normally + |
---|
151 | ++++++++++++++++++++++++++++++++++++++++++++ |
---|