[Ipopt] Problems with calling IPOPT from MATLAB
Stefan Vigerske
stefan at math.hu-berlin.de
Tue Dec 3 05:10:30 EST 2013
Hi,
On 12/03/2013 03:40 AM, Wei Wan wrote:
> Thanks for your suggestion. Actually I worked with GAMSlink and the same
> issues happened with IPOPT 3.11.
> I don't know why.
Similar reasons as with Matlab.
GAMS brings its own libstdc++ and libgfortran and they are so ancient
that they don't work with your own Ipopt installation.
I usually move the one from GAMS away, so solvers use the libs that come
with the system again. So far, that worked without problems for me.
Stefan
>
> Wei
>
>
> On Mon, Dec 2, 2013 at 8:51 PM, Tony Kelman <kelman at berkeley.edu> wrote:
>
>> I’d advise against doing that, replacing the standard library version
>> used by Matlab with a different version from your system could cause major
>> issues with Matlab.
>>
>> -Tony
>>
>>
>> *From:* Wei Wan <weiwan at andrew.cmu.edu>
>> *Sent:* Monday, December 02, 2013 5:41 PM
>> *To:* xuey at andrew.cmu.edu
>> *Cc:* ipopt at list.coin-or.org
>> *Subject:* Re: [Ipopt] Problems with calling IPOPT from MATLAB
>>
>> Just copy the the libc++ and gfortran to /usr/local/MATLAB/R2012a/sys/os/glnxa64/
>> directory.
>>
>> It will work well.
>>
>> Wei
>>
>>
>> On Mon, Dec 2, 2013 at 7:22 PM, <xuey at andrew.cmu.edu> wrote:
>>
>>> Hi all,
>>>
>>> I've been using IPOPT through ampl and using ampl through MATLAB and it
>>> works perfect. Recently I installed IPOPT 3.11 and MATLAB 2012a. When I
>>> tried to run IPOPT through ampl called by MATLAB, I got the following
>>> error messages:
>>>
>>> ipopt: /usr/local/MATLAB/R2012a/sys/os/glnxa64/libstdc++.so.6: version
>>> `GLIBCXX_3.4.15' not found (required by
>>> /home/dynopt/CoinIpopt/lib/libipopt.so.0)
>>> ipopt: /usr/local/MATLAB/R2012a/sys/os/glnxa64/libgfortran.so.3: version
>>> `GFORTRAN_1.4' not found (required by
>>> /home/dynopt/CoinIpopt/lib/libcoinmumps.so.0)
>>> ipopt: /usr/local/MATLAB/R2012a/sys/os/glnxa64/libgfortran.so.3: version
>>> `GFORTRAN_1.4' not found (required by
>>> /home/dynopt/CoinIpopt/lib/libcoinhsl.so.0)
>>> ipopt: /usr/local/MATLAB/R2012a/sys/os/glnxa64/libgfortran.so.3: version
>>> `GFORTRAN_1.4' not found (required by /usr/lib/liblapack.so.3gf)
>>> exit code 1
>>>
>>> And IPOPT is not called at all.
>>>
>>> Does anyone happen to know what the problem is? Thank you very much!
>>>
>>> Best regards,
>>>
>>> Xue Yang
>>> ----------------------------------
>>> Department of Chemical Engineering
>>> Carnegie Mellon University
>>> Pittsburgh, PA 15213
>>>
>>> _______________________________________________
>>> Ipopt mailing list
>>> Ipopt at list.coin-or.org
>>> http://list.coin-or.org/mailman/listinfo/ipopt
>>>
>>
>>
>> ------------------------------
>> _______________________________________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/ipopt
>>
>>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
More information about the Ipopt
mailing list