On Saturday, November 7, 2015 at 7:27:45 PM UTC-8, Yukikaze Yuto wrote:
>
> But, the next one does not work. Do you have any suggestion for an 
> alternative way to evaluate the minimum?
>
> minimize(hypergeometric([1],[1],x) + x^2 + y^2, 
> [0.1,0.1],algorithm="default")
>
> It shows the following error:
> ValueError: the number of arguments must be less than or equal to 1
>
 
The error seems to indicate something goes wrong with how the 
multidimensional input gets passed around. It would be good if that got 
checked out. As a workaround, perhaps use this:

minimize(lambda (x,y):hypergeometric([1],[1],x) + y^2, 
[0.1,0.1],algorithm="default")

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to