<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV> Dear Mr. Pietro Belotti :<BR> The self-defined error function is compiled into a .dll file and I can call it in AMPL command window. I followed this blog <A href="http://benlockwood.com/2012/01/11/calculating-the-normal-cdf-in-ampl-with-shared-libraries/#comment-105">http://benlockwood.com/2012/01/11/calculating-the-normal-cdf-in-ampl-with-shared-libraries/#comment-105</A> to do so. Will this do?</DIV>
<DIV> Yours sincerely,</DIV>
<DIV> Mu Zhang<BR></DIV>
<DIV></DIV>
<DIV id="divNeteaseMailCard"></DIV>
<DIV><BR></DIV><PRE><BR>At 2012-05-31 21:29:57,"Pietro Belotti" <pbelott@clemson.edu> wrote:
>Mu,
>
>unfortunately, self-defined functions cannot be used in Couenne and will
>give that error. The reason is that Couenne decomposes the expression of
>each function in constraints and the objective, and cannot do that for
>user-defined functions. It would be possible to solve your problem if you
>knew a closed-form approximation of your error function (as I think the
>myerf means).
>
>Also, in the future please consider posting your questions to the Couenne
>mailing list (couenne@list.coin-or.org), so that people can see answers to
>previous questions.
>
>I hope this helps. Regards,
>Pietro
>
>
>--
>Pietro Belotti
>Dept. of Mathematical Sciences
>Clemson University
>email: pbelott@clemson.edu
>phone: 864-656-6765
>web: http://myweb.clemson.edu/~pbelott
>
>On Thu, 31 May 2012, scrat_zhang wrote:
>
>> Dear Mr. Pietro Belotti :
>> I am recently applying Couenne on my work, and I got a error saying:
>>
>> ANALYSIS TEST: ERROR : unknown operator (address 0p7436c0) , aborting .
>> exit code 4294967295
>> (BREAK)
>>
>> I wonder what is error may be ocurr in my .mod file cause I don't
>> recognize the "address" code. I used a self-defined error function
>> called "myerf" in the code, for the record, don't know if it is because
>> of this.
>>
>> Hope you could provide some guidance on this issue and I also wish to
>> know how can I debug in Couenne.
>>
>> Thanks very much for your reading this and hope to hear from you!
>>
>> Yours sincerely ,
>> Mu Zhang
</PRE></div>