A subset K of Rn(K⊂Rn) is called convex if the line segment joining any two points in K also lies in K. Given two points x1,x2∈K, the line segment joining x1 and x2 is defined as Lx1x2={x∈Rn:x=λx1+(1−λ)x2,λ∈[0,1]} which can also be understood as the set of **all convex combinations of x1 and x2.