[R] Help using spg optimization in BB package

dre968 alyalko at gmail.com
Wed Apr 22 14:23:29 CEST 2009


i'm trying to use the BB package to minimize the sum of the squared
deviations for 2 vectors.  The only thing am having trouble with is defining
the project constraint.  I got the upper and lower bounds to work but i am
not sure how to create a constraint that the sum of x must be 1.  Any help
would be greatly appreciated.  
-- 
View this message in context: http://www.nabble.com/Help-using-spg-optimization-in-BB-package-tp23175224p23175224.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list