[Ipopt] Problems with calling IPOPT from MATLAB

Tony Kelman kelman at berkeley.edu
Mon Dec 2 20:51:18 EST 2013


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 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20131202/3f76f1f7/attachment.html>


More information about the Ipopt mailing list