[Ipopt] IPOPT MATLAB Interface

Peter Carbonetto pcarbo at uchicago.edu
Thu Dec 17 09:54:50 EST 2009


Try changing this line in matlabinfo.cpp

    *mxGetPr(p) = (double) status;

to

    *mxGetPr(p) = 0

Does it compile now? You won't be able to check the exit status for your 
call to Ipopt, but at least it'll work. I'll try to come up with a better 
fix later.

Peter

> -----Urspr?ngliche Nachricht-----
> Von: Peter Carbonetto [mailto:pcarbo at uchicago.edu]
> Gesendet: Mittwoch, 16. Dezember 2009 17:38
> An: Fisch, Florian
> Cc: ipopt at list.coin-or.org
> Betreff: Re: [Ipopt] IPOPT MATLAB Interface
>
>> 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.
>
> What version of Matlab are you using? What is your operating system?
>
> Peter Carbonetto, Ph.D.
> Postdoctoral Researcher
> Dept. of Human Genetics
> University of Chicago
>



More information about the Ipopt mailing list