[SciPy-Dev] SLSQP on Ubuntu

Jens Nielsen jenshnielsen at gmail.com
Mon Jul 6 17:10:28 EDT 2015


Which versions of Scipy are you using (scipy.__version__)? The default
version on Ubuntu 12.04 is probably fairly old and you might be better of
with a newer one.

Jens.



man. 6. jul. 2015 kl. 15.49 skrev Giselle Sosa Jones <giselle1701 at gmail.com
>:

> 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 at gmail.com>:
>
>>
>>
>> On Mon, Jul 6, 2015 at 4:35 PM, Giselle Sosa Jones <giselle1701 at 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 at 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
>  _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20150706/9860de4a/attachment.html>


More information about the SciPy-Dev mailing list