Adding constraint to the parameter

Any value would have worked BTW, it’s just that 1 is neat.

Say that the correct solution of p is [.3,.2,.5], if you fix the last value to 1, the other values can only be [.6, .4]