<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic TR solver problems &amp; questions in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820740#M4692</link>
    <description>Hi S, &lt;BR /&gt;&lt;BR /&gt;It may be meaningful to discuss all of the problemsbased onthe realproblem. Could you please provide us a small test case to reproduce them? If it is confidential, you can reply us by "Private" post. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
    <pubDate>Thu, 17 May 2012 07:54:18 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2012-05-17T07:54:18Z</dc:date>
    <item>
      <title>TR solver problems &amp; questions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820739#M4691</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm usig the TR solver with constrained bounds and I'm experiencing some problems. My domain and image dimensions are 2 and 170 respectively. I'm currently testing a basic problem to validate conformity the algorithm; my minimization problem has a solution (i.e. a global minimum).&lt;BR /&gt;&lt;BR /&gt;I'm using dtrnlspbc_solve and djacobi with black box interface. I'm using 32 byte-aligned buffers, sequential library, MKL 10.3.9.300&lt;BR /&gt;&lt;BR /&gt;My initial trust region size is 100.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Whenever the solver reaches one bound for a variable, it seems to stick to it;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. The stop criterion number 6 is almost always the reason for stopping. Even if I set eps(5) = 1e-300, in the hope that another stop criterion is reached before eps(5).&lt;BR /&gt;In ||F(x)||2 - ||F(x) - J(x)s||2 &amp;lt; eps(5), is it that the lhs can take on negative values and trigger an early stop ? (possible bug or typo in the documentation?) Could you please provide a clear interpretation of that parameter?&lt;BR /&gt;&lt;BR /&gt;3. What is the meaning of eps(6) (The trial step precision)? Is it a really a stopping criterion?&lt;BR /&gt;&lt;BR /&gt;4. After many tests, I ended up with eps vector set to ridiculously small values (1e-300), but I know it is more a desperate than a rational choice.&lt;BR /&gt;&lt;BR /&gt;EDIT: I used a too small eps parameter for the djacobix function. By setting it to larger values I'm getting much better performances.&lt;BR /&gt;&lt;BR /&gt;5. What is the recommended value of iter2, the number of iterations of trial step calculation?&lt;BR /&gt;&lt;BR /&gt;My reference algorithm is the trust region reflective algorithm used by MATLAB's optimization toolbox (lsqnonlin), which seems far more performant.&lt;BR /&gt;&lt;BR /&gt;While MATLAB always gets the exact solution (using reasonable initial seeds), the MKL TR solver converges to poor solutions. &lt;BR /&gt;&lt;BR /&gt;Thank you for any help&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;S</description>
      <pubDate>Wed, 16 May 2012 17:29:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820739#M4691</guid>
      <dc:creator>sim176</dc:creator>
      <dc:date>2012-05-16T17:29:44Z</dc:date>
    </item>
    <item>
      <title>TR solver problems &amp; questions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820740#M4692</link>
      <description>Hi S, &lt;BR /&gt;&lt;BR /&gt;It may be meaningful to discuss all of the problemsbased onthe realproblem. Could you please provide us a small test case to reproduce them? If it is confidential, you can reply us by "Private" post. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Thu, 17 May 2012 07:54:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820740#M4692</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-05-17T07:54:18Z</dc:date>
    </item>
    <item>
      <title>TR solver problems &amp; questions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820741#M4693</link>
      <description>I can not for now include a test case with my particular problem, since it has too many dependances with other parts of the application. &lt;BR /&gt;&lt;BR /&gt;The surface of which the solver has to find the minimum is shown in the attached figure. The global minimum is at [270, 1234]. The datatips indicate convergence points (approx) of the solver for different initial seed points.&lt;BR /&gt;&lt;BR /&gt;Since my first post, I'm using an analytic, exact jacobian function. &lt;BR /&gt;&lt;BR /&gt;I have the following eps array :&lt;BR /&gt;&lt;BR /&gt;[0] 9.9999999999999995e-021 double&lt;BR /&gt;[1] 9.9999999999999990e-027 double&lt;BR /&gt;[2] 9.9999999999999995e-021 double&lt;BR /&gt;[3] 9.9999999999999998e-017 double&lt;BR /&gt;[4] 1.9999999999999998e-307 double&lt;BR /&gt;[5] 1.0000000000000002e-025 double&lt;BR /&gt;&lt;BR /&gt;For example, the final point [880, 259] was seeded with [200 300], and no matter what the eps[4] value is, I always end up with a stopping criterion of 6 for that particular seed (and others). Notice that at my last try, eps[4] is very small! (dtrnlspbc_init won't let me put a 0).&lt;BR /&gt;&lt;BR /&gt;I notice that if I restart the solver with the last solution found, I can finally reach the exact minimum. For example:&lt;BR /&gt;&lt;BR /&gt;Seed -&amp;gt; Solution&lt;BR /&gt;[300, 200] -&amp;gt; [259, 880] (51 iterations, st_cr = 6)&lt;BR /&gt;[259, 880] -&amp;gt; [267, 1121] (47 iterations, st_cr = 6)&lt;BR /&gt;[267, 1121] -&amp;gt; [270, 1234] (5 iterations, st_cr = 6)&lt;BR /&gt;&lt;BR /&gt;Also, I would really appreciate precisions on points 2 &amp;amp; 3 of my initial post, please.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Simon</description>
      <pubDate>Thu, 17 May 2012 15:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/TR-solver-problems-questions/m-p/820741#M4693</guid>
      <dc:creator>sim176</dc:creator>
      <dc:date>2012-05-17T15:08:27Z</dc:date>
    </item>
  </channel>
</rss>

