<?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 Re: What does this message indicate?&amp;quot;WARNING: The point x is feasible only at the LCEPSILON= 10 range&amp;quot; in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107747#M802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to understand what you are attempting, but it doesn't make sense to me.&amp;nbsp; Let's visualize what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compute 10 curves by calling your QQ function as follows. Each column of the Y matrix is a single instance of evaluating the QQ function on x={0.5, 0.55, 0.6, ..., 1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = T( do(0.5, 1, 0.05) );&lt;BR /&gt;y = j(nrow(x), 10);&lt;BR /&gt;do j = 1 to ncol(y);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do i = 1 to nrow(x);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y[i,j] = qq(x&lt;I&gt;);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;end;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A graph of the 10 curves is shown below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="random.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2876_random.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your objective function, OBJ, is the integral of the QQ function. Therefore, it seems to me that calling OBJ gives a random quantitiy.&lt;/P&gt;&lt;P&gt;This is assuming that the QUAD function converges, which it doesn't for me.&amp;nbsp; If I run&lt;/P&gt;&lt;P&gt;Integral = OBJ(hr); print Integral;&lt;/P&gt;&lt;P&gt;I get the error "Convergence could not be attained over the subinterval (0.5, 1)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any of my analysis is wrong, please clarify. As it is, I don't see how your program makes mathemtical sense. The NLP functions find the minimum of a deterministic function, not random quantities. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2013 15:47:39 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2013-01-02T15:47:39Z</dc:date>
    <item>
      <title>What does this message indicate?"WARNING: The point x is feasible only at the LCEPSILON= 10 range"</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107746#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I ve asked&amp;nbsp; questions concerning this code before. I made some modifications to my code and i got the following message :"WARNING: The point x is feasible only at the LCEPSILON= 10 range". The progarm is supposed to do the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1- Min the integration of qq where the integration variable is "diff"&lt;/P&gt;&lt;P&gt;2-qq is a function of the vector hr of length 2x1&lt;/P&gt;&lt;P&gt;3-the vector hr is the vector of decesion variables which I am supposed to find using the NLPQN technique&lt;/P&gt;&lt;P&gt;4- the constraints in my model is formulated in the module qq0. The constraint is supposed to restrict bb0 to be =100 for the optimal values of hr[1] and hr[2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three questions:&lt;/P&gt;&lt;P&gt;1-Is the qq0 module performing what intended?&lt;/P&gt;&lt;P&gt;2-The meaning of the warning message?&lt;/P&gt;&lt;P&gt;3- Your comment on the output.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; THE LOG AND OUTPUT FILES ARE AS FOLLOWS:&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; proc iml;&lt;/P&gt;&lt;P&gt;NOTE: IML Ready&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; *THE INTEGRAND MODULE;&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; start qq(diff)global(hr);&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; qqvector=0;&lt;/P&gt;&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; do i=1 to 100;&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp; rl=0;&lt;/P&gt;&lt;P&gt;11&amp;nbsp;&amp;nbsp; z=0;&lt;/P&gt;&lt;P&gt;12&amp;nbsp;&amp;nbsp; do until(z&amp;gt;hr[1]|z&amp;lt;-hr[1]);&lt;/P&gt;&lt;P&gt;13&amp;nbsp;&amp;nbsp; xbar=normal(-1)+diff;&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp; z=hr[2]*xbar+(1-hr[2])*z;&lt;/P&gt;&lt;P&gt;15&amp;nbsp;&amp;nbsp; rl=rl+1;&lt;/P&gt;&lt;P&gt;16&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;17&amp;nbsp;&amp;nbsp; qqvector=qqvector//rl;&lt;/P&gt;&lt;P&gt;18&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;19&amp;nbsp;&amp;nbsp; bb=(sum(qqvector)/100);&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp; return(bb);&lt;/P&gt;&lt;P&gt;21&amp;nbsp;&amp;nbsp; finish;&lt;/P&gt;&lt;P&gt;NOTE: Module QQ defined.&lt;/P&gt;&lt;P&gt;22&lt;/P&gt;&lt;P&gt;23&lt;/P&gt;&lt;P&gt;24&lt;/P&gt;&lt;P&gt;25&amp;nbsp;&amp;nbsp; *THE INTEGRATION OF qq WHICH IS MY OBJECTIVE FUNCTION;&lt;/P&gt;&lt;P&gt;26&lt;/P&gt;&lt;P&gt;27&lt;/P&gt;&lt;P&gt;28&amp;nbsp;&amp;nbsp; start OBJ(hr);&lt;/P&gt;&lt;P&gt;29&amp;nbsp;&amp;nbsp; a={0.5&amp;nbsp; 1};&lt;/P&gt;&lt;P&gt;30&amp;nbsp;&amp;nbsp; call quad(k,"qq",a)eps=1E-4 peak=0.01;&lt;/P&gt;&lt;P&gt;31&amp;nbsp;&amp;nbsp; return(k);&lt;/P&gt;&lt;P&gt;32&amp;nbsp;&amp;nbsp; finish OBJ;&lt;/P&gt;&lt;P&gt;NOTE: Module OBJ defined.&lt;/P&gt;&lt;P&gt;33&lt;/P&gt;&lt;P&gt;34&lt;/P&gt;&lt;P&gt;35&amp;nbsp;&amp;nbsp; *THE CONSTraint MODULE;&lt;/P&gt;&lt;P&gt;36&lt;/P&gt;&lt;P&gt;37&lt;/P&gt;&lt;P&gt;38&amp;nbsp;&amp;nbsp; start qq0(hr);&lt;/P&gt;&lt;P&gt;39&amp;nbsp;&amp;nbsp; bb0=j(1,1,100.);&lt;/P&gt;&lt;P&gt;40&amp;nbsp;&amp;nbsp; qqvector2=0;&lt;/P&gt;&lt;P&gt;41&amp;nbsp;&amp;nbsp; do i=1 to 100;&lt;/P&gt;&lt;P&gt;42&amp;nbsp;&amp;nbsp; rl2=0;&lt;/P&gt;&lt;P&gt;43&amp;nbsp;&amp;nbsp; z2=0;&lt;/P&gt;&lt;P&gt;44&amp;nbsp;&amp;nbsp; do until(z2&amp;gt;hr[1]|z2&amp;lt;-hr[1]);&lt;/P&gt;&lt;P&gt;45&amp;nbsp;&amp;nbsp; xbar2=normal(-1);&lt;/P&gt;&lt;P&gt;46&amp;nbsp;&amp;nbsp; z2=hr[2]*xbar2+(1-hr[2])*z2;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;47&amp;nbsp;&amp;nbsp; rl2=rl2+1;&lt;/P&gt;&lt;P&gt;48&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;49&amp;nbsp;&amp;nbsp; qqvector2=qqvector2//rl2;&lt;/P&gt;&lt;P&gt;50&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;51&amp;nbsp;&amp;nbsp; bb0[1]=sum(qqvector2)/100;&lt;/P&gt;&lt;P&gt;52&amp;nbsp;&amp;nbsp; return(bb0);&lt;/P&gt;&lt;P&gt;53&amp;nbsp;&amp;nbsp; finish qq0;&lt;/P&gt;&lt;P&gt;NOTE: Module QQ0 defined.&lt;/P&gt;&lt;P&gt;54&lt;/P&gt;&lt;P&gt;55&lt;/P&gt;&lt;P&gt;56&amp;nbsp;&amp;nbsp;&amp;nbsp; *THE NLP CALL;&lt;/P&gt;&lt;P&gt;57&lt;/P&gt;&lt;P&gt;58&lt;/P&gt;&lt;P&gt;59&amp;nbsp;&amp;nbsp; hr={0.8 0.15};&lt;/P&gt;&lt;P&gt;60&amp;nbsp;&amp;nbsp; optn= j(1,11,.);&lt;/P&gt;&lt;P&gt;60 !&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optn[2]= 2;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;60 !&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optn[10]=1;&lt;/P&gt;&lt;P&gt;60 !&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optn[11]=1;&lt;/P&gt;&lt;P&gt;61&amp;nbsp;&amp;nbsp; CALL NLPNMS(rc,hrres,"OBJ",hr,optn) nlc="qq0";&lt;/P&gt;&lt;P&gt;NOTE: ABSXCONV convergence criterion satisfied.&lt;/P&gt;&lt;P&gt;WARNING: The point x is feasible only at the LCEPSILON= 10 range.&lt;/P&gt;&lt;P&gt;62&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;NOTE: Exiting IML.&lt;/P&gt;&lt;P&gt;NOTE: 30389 workspace compresses.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE IML used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE OUTPUT FILE IS ATTACHED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Emara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 21:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107746#M801</guid>
      <dc:creator>Emara</dc:creator>
      <dc:date>2012-12-24T21:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: What does this message indicate?"WARNING: The point x is feasible only at the LCEPSILON= 10 range"</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107747#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to understand what you are attempting, but it doesn't make sense to me.&amp;nbsp; Let's visualize what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compute 10 curves by calling your QQ function as follows. Each column of the Y matrix is a single instance of evaluating the QQ function on x={0.5, 0.55, 0.6, ..., 1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = T( do(0.5, 1, 0.05) );&lt;BR /&gt;y = j(nrow(x), 10);&lt;BR /&gt;do j = 1 to ncol(y);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do i = 1 to nrow(x);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y[i,j] = qq(x&lt;I&gt;);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;end;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A graph of the 10 curves is shown below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="random.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2876_random.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your objective function, OBJ, is the integral of the QQ function. Therefore, it seems to me that calling OBJ gives a random quantitiy.&lt;/P&gt;&lt;P&gt;This is assuming that the QUAD function converges, which it doesn't for me.&amp;nbsp; If I run&lt;/P&gt;&lt;P&gt;Integral = OBJ(hr); print Integral;&lt;/P&gt;&lt;P&gt;I get the error "Convergence could not be attained over the subinterval (0.5, 1)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any of my analysis is wrong, please clarify. As it is, I don't see how your program makes mathemtical sense. The NLP functions find the minimum of a deterministic function, not random quantities. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 15:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107747#M802</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-01-02T15:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: What does this message indicate?"WARNING: The point x is feasible only at the LCEPSILON= 10 range"</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107748#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Dr. Rick,&lt;/P&gt;&lt;P&gt;I dont understand exactly what is wrong, could u clarify more if possible. I will try to clarify more what I am doing. The idea is like&amp;nbsp; minimizing type two error(qq module in my syntax) ,fixing type one error (qq0 in my syntax) at a certain level for a hypothesis test in which the null hypothesis is that diff=0 versus the alternative hypothesis diff not=0 (diff is the integration variable in my syntax). However, in my program, I want to minimize "qq" over the whole range of the variable "diff" (0,0.5). That is why I am integrating qq over the variable diff as if I am obtaining an expected value of qq. I want to keep "type one error" at a certain level (100 in my syntax). Thus my objective function is "OBJ" and my non linear constraint is "qq0=100". Type one error and two errors in my syntax dont have a closed formula to be computed and are both computed using simulation (100 runs in my syntax). My aim is to find the values of hr[1] and hr[2] that gives me the minimum type two error , fixing type one error at&amp;nbsp; certain level (of course what is written in my syntax is not type one and two errors, but the idea is similar). Can't I do this using SAS? Please let me know if this is not possible using SAS or if I cant clarify what i am doing. I know that the minimization problem can be solved as it is done in several papers, but i want to solve it using SAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u for ur help,&lt;/P&gt;&lt;P&gt;Emara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 17:27:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107748#M803</guid>
      <dc:creator>Emara</dc:creator>
      <dc:date>2013-01-02T17:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: What does this message indicate?"WARNING: The point x is feasible only at the LCEPSILON= 10 range"</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107749#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please list the papers that provide the reference for this method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 21:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107749#M804</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-01-02T21:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: What does this message indicate?"WARNING: The point x is feasible only at the LCEPSILON= 10 range"</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107750#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Here is the paper&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;"Optimization designs of the combined Shewhart-CUSUM control charts"&lt;/P&gt;&lt;P&gt;Waiting for your reply,&lt;/P&gt;&lt;P&gt;Emara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 17:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/What-does-this-message-indicate-quot-WARNING-The-point-x-is/m-p/107750#M805</guid>
      <dc:creator>Emara</dc:creator>
      <dc:date>2013-01-03T17:14:27Z</dc:date>
    </item>
  </channel>
</rss>

