34   
0135   <span class="keyword">if</span> (XTOL &gt;= 1.) 
0136     kappa = 2.;
0137   <span class="keyword">else</span> 
0138     kappa = 1. / min(1.,1.-XTOL);
0139   <span class="keyword">end</span>
0140   
0141   f0 = obj.ALx; f1 = obj.ALx; f2 = obj.ALx; fbest = obj.ALx;
0142   pi0 = pi;
0143   
0144   <span class="comment">%*****************************************************</span>
0145   <span class="comment">%* actual line search iteration ... *</span>
0146   <span class="comment">%**************