Re: Positive solution for linear equations [message #66039] |
Mon, 13 April 2009 21:18 |
erano
Messages: 22 Registered: November 2008
|
Junior Member |
|
|
On Apr 13, 4:51 pm, David Gell <david.g...@swri.org> wrote:
> On Apr 12, 6:53 am, erano <eran.o...@gmail.com> wrote:
>
>> I am trying to find the solution for a series linear equations: Ax =B,
>> where A is a n by m matrix and B is a vector .
>> I use the IDL function SVDC but I wish the solution x to be positive
>> vector.
>> How can I do so?
>> Thanks,
>> Eran
>
> Eran,
>
> I assume that you wish each component of vector x is to be positive,
> so what you have is a linear programming problem. Try using the
> simplex method. For information on the simplex method, see Press,
> et.al. "Numerical Recipes".
>
> Dave
Dear Dave,
It seems this is the solution for my problem.
Thanks a lot,
Eran
|
|
|
Re: Positive solution for linear equations [message #66049 is a reply to message #66039] |
Mon, 13 April 2009 06:51  |
David Gell
Messages: 29 Registered: January 2009
|
Junior Member |
|
|
On Apr 12, 6:53 am, erano <eran.o...@gmail.com> wrote:
> I am trying to find the solution for a series linear equations: Ax =B,
> where A is a n by m matrix and B is a vector .
> I use the IDL function SVDC but I wish the solution x to be positive
> vector.
> How can I do so?
> Thanks,
> Eran
Eran,
I assume that you wish each component of vector x is to be positive,
so what you have is a linear programming problem. Try using the
simplex method. For information on the simplex method, see Press,
et.al. "Numerical Recipes".
Dave
|
|
|
|
Re: Positive solution for linear equations [message #66058 is a reply to message #66056] |
Sun, 12 April 2009 09:24  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Apr 12, 6:53 am, erano <eran.o...@gmail.com> wrote:
> I am trying to find the solution for a series linear equations: Ax =B,
> where A is a n by m matrix and B is a vector .
> I use the IDL function SVDC but I wish the solution x to be positive
> vector.
> How can I do so?
> Thanks,
> Eran
What's a positive vector?
|
|
|