Skip to content
Prev 177913 / 398502 Next

Help using spg optimization in BB package

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.