<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><p class="MsoNormal">Hi All<o:p></o:p></p>

<p class="MsoNormal"><o:p> </o:p></p>

<p class="MsoNormal"><span lang="EN-US">I’m using
Scilab as the interface between my optimizer and my finite element solver(s)
and sometimes Scilab stops because of unexpected and impossible calculus (1/x
with x = 0 as an example ); obviously Scilab stops (and so the optimization).<o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">I’m
wondering if it’s possible:<o:p></o:p></span></p>

<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span lang="EN-US">-<span style="font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";">         
</span></span><!--[endif]--><span lang="EN-US">To
ask back Scilab a message such as “hey I crashed because you’re a fool and
you’ve not anticipated an impossible calculation !!!”<o:p></o:p></span></p>

<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span lang="EN-US">-<span style="font-variant-numeric: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";">         
</span></span><!--[endif]--><span lang="EN-US">To
get back Scilab control in order to avoid optimization process crash ? I’ve
been thinking in affecting a cost function value at %inf for example (not
elegant I recognize)<o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">I don’t
know if I’m understandable enough …<o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Paul</span><o:p></o:p></p></div></body></html>