Hi, I want to sample points uniformly in a multidimensional design space, such that the sampled points follow an

equality constraint. Basically I want to sample 4 mole fractions (Xi) for 4 components in an input stream. I have lower

and upper bounds (inequality constraints) for each Xi as well.

Eg. 0.733<=X1<=0.944, 0.04<=X2<=0.093, 0.04<=X3<=0.094, 0.02<=X4<=0.048, X1+X2+X3+X4=1

Is there any way to use the inbuilt sampling techniques like sobol, LHS etc. while ensuring these constraints?

## Best Answer