klqmba at mail.bg
2014-Feb-27 12:22 UTC
[R] Non-negative solution to an underdetermined linear system
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. 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]]
Berend Hasselman
2014-Feb-27 19:09 UTC
[R] Non-negative solution to an underdetermined linear system
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.