forum.alglib.net http://forum.alglib.net/ |
|
Calling alglib (C++ solver function) from python http://forum.alglib.net/viewtopic.php?f=2&t=4308 |
Page 1 of 1 |
Author: | anoopak007 [ Mon Oct 28, 2019 7:09 am ] |
Post subject: | Calling alglib (C++ solver function) from python |
I am trying to call alglib c++solver function from python to solve the matrix equation AX=B. I have created shared object (.so file) and created the python wrapper file for the same. I even skipped my requirement of passing matrices as arguments because I got errors when running the program. But when I use the shared object in python, I am stuck with the error: OSError: ./libfoo.so: undefined symbol: _ZN6alglib8xdefaultE Can someone help me with the issue? |
Author: | Sergey.Bochkanov [ Tue Oct 29, 2019 5:17 pm ] |
Post subject: | Re: Calling alglib (C++ solver function) from python |
Did you mean that you created (1) your own shared library by compiling ALGLIB for C++, and (2) your Python wrapper for this library? If so, why not to use standard Python wrapper included into ALGLIB? |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |