[R] Non-negative solution to an underdetermined linear system

Berend Hasselman bhh at xs4all.nl
Thu Feb 27 20:09:13 CET 2014


On 27-02-2014, at 13:22, klqmba at mail.bg wrote:

> 
> 
> 
> Dear R users,
> 
> 
> I have to find optimal solution of an underdetermined linear system, but
> only with positive variables. I tried the function from this post
> https://stat.ethz.ch/pipermail/r-help/2007-October/143408.html , but it's
> solution includes also negative values. 
> 
> 

Have a look at package limSolve. Maybe (and only maybe) function linp can be of use.

Berend

> Thanks in advance.
> 
> 
> Best Regards.
> 
> -------------------------------------
> 
> Майски празници на остров Лефкада, Гърция от 158 евро
> Безкрайните романтични пясъци съчетани с узо...
> Дати: 30/04/14 - 05/04/14
> http://www.arrivalsidi.com/%D0%BC%D0%B0%D0%B9%D1%81%D0%BA%D0%B8-%D0%BF%D1%80%D0%B0%D0%B7%D0%BD%D0%B8%D1%86%D0%B8/%D0%BC%D0%B0%D0%B9%D1%81%D0%BA%D0%B8-%D0%BF%D1%80%D0%B0%D0%B7%D0%BD%D0%B8%D1%86%D0%B8-%D0%B2-%D0%BB%D0%B5%D1%84%D0%BA%D0%B0%D0%B4%D0%B0
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list