
It has a lot of code and functions, so it would be hard to post it. But in terms of amount of variables it's small (16 variables and 16 constraints). I got the Windows version from this website called Unofficial Windows Binaries for Python, and indeed I believe it's a compilation problem. Actually it's 32 bits, but it works fine on Windows, even with bigger problems. GSJ 2015-07-06 16:15 GMT-04:30 Charles R Harris <charlesr.harris@gmail.com>:
On Mon, Jul 6, 2015 at 4:35 PM, Giselle Sosa Jones <giselle1701@gmail.com> wrote:
Hello
I'm running SLSQP algorithm from Scipy on Ubuntu 12.04 and Python 3.3. The algorithm doesn't converge unless the starting point is really close to the solution. I tried it on Windows and it works perfectly, it converges easily and doesn't take too much iterations. On Ubuntu I either get the message "Inequality constraints incompatible", and sometimes I even get the message "Optimization terminated succesfully", but the values are not correct. Has anyone experienced the same thing? I have no clue to what's going on. Also I tried it with Python 2.7 on Ubuntu and still doesn't work, but on Windows it does.
Thank you very much, I'm desperate.
That is strange. Is the problem small enough that you can post it somewhere so we can try it out? Also, where did you get your windows scipy? There may be compiler/library differences. I assume 64 bit versions on both?
Chuck
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev
-- Lic. Giselle Sosa Jones Departamento de Cómputo Científico y Estadística Universidad Simón Bolívar Caracas, Venezuela +58-212-9063398