solving equation system

Ben C spamspam at spam.eggs
Mon Jul 17 09:39:06 EDT 2006


On 2006-07-17, TG <girodt at gmail.com> wrote:
> Hi there.
>
> Anyone knows how to use numpy / scipy in order to solve this ?
>
> * A is an array of shape (n,)
> * X is a positive float number
> * B is an array of shape (n,)
> * O is an array of shape (n,) containing only zeros.
>
> A.X - B = O
> min(X)

Are we solving for A, B or X?  And what do you mean by min(X)? 

If we're solving for X there will be many combinations of A and B for
which there is no solution.



More information about the Python-list mailing list