[Ipopt] IPOPT on Mac OSX 10.6 with MATLAB R2011b

Marco Rozgic marco.rozgic at hsu-hh.de
Wed Feb 8 10:55:01 EST 2012


Hello.


On 08.02.12 16:43, Ray Zimmerman wrote:
> 1. Double-check the MATLAB is trying to load the MEX file you just 
> created by typing at the Matlab prompt: which ipopt
This gives:
 >> which ipopt
/Users/marcorozgic/Documents/MATLAB/ipopt.mexmaci64
> 2. See what libraries it is linked to by typing in the Terminal: otool 
> -L ipopt.mexmaci64
This gives:
otool -L ~/Documents/MATLAB/ipopt.mexmaci64
/Users/marcorozgic/Documents/MATLAB/ipopt.mexmaci64:
     /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 
(compatibility version 1.0.0, current version 268.0.1)
     
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libipopt.1.dylib 
(compatibility version 10.0.0, current version 10.1.0)
     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 125.2.11)
     
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libcoinhsl.1.dylib 
(compatibility version 5.0.0, current version 5.1.0)
     
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libcoinmetis.1.dylib 
(compatibility version 4.0.0, current version 4.1.0)
     @rpath/libmx.dylib (compatibility version 0.0.0, current version 0.0.0)
     @rpath/libmex.dylib (compatibility version 0.0.0, current version 
0.0.0)
     @rpath/libmat.dylib (compatibility version 0.0.0, current version 
0.0.0)
     /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 7.9.0)
     /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 830.0.0)

Executing otool -L ipopt.mexmaci64 in any other directory gives the 
'file or directory not found' message.

Best,
Marco
>
> -- 
> Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
>
>
>
>
> On Feb 7, 2012, at 2:26 AM, Marco Rozgic wrote:
>
>> <snip>
>
>> Fatou:src marcorozgic$ cp ipopt.mexmaci64 ~/Documents/MATLAB/
>>
>> This is why I assume that this worked. After doing this I want to try 
>> if IPOPT works in MATLAB. For this purpose I try running examplelasso 
>> in in /contrib/MatlabInterface/examples. As soon as I arrive the line
>> [x info] = ipopt(x0,funcs,options);
>>
>> MATLAB crashes without further error messages. Does anybody has any 
>> suggestion what to try next?
>> Best,
>> Marco Rozgic
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120208/0599b343/attachment.html>


More information about the Ipopt mailing list