Hi Florian,<br><br>Are you trying to compile IPOPT on Windows with MSVS C++? <br><br>I had the same problem and I had to use a workaround. Since the enum <span lang="EN-US">ApplicationReturnStatus has all integer values so I type casted the return from double to (int) and then to </span>(<span lang="EN-US">ApplicationReturnStatus).<br>
<br>See if it works. <br><br>If you are doing the compilation on MSVS C++ do you have documentation to compile the MATLAB Interface using it?<br><br>Regards,<br>Aritra<br><br><br></span><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 1:29 PM, Fisch, Florian <span dir="ltr"><<a href="mailto:fisch@tum.de">fisch@tum.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal"><span lang="EN-US">Hello!</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">When I try to compile the MATLAB interface
for IPOPT, I get the error code that a type conversion from “Ipopt::ApplicationReturnStatus”
to “double” is not possible. Can anyone tell me what the problem
here is? Thanks a lot for any help.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Florian</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
</div>
<br>_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<br></blockquote></div><br>