I have a weight variable of dimension (100,1). I want to impose 2 constraint so that it behaves like a probability distribution. All values should be non-negative and all va