RS_opt function

Optimize the objective function using an adaptive random search algorithm for D-family and E-family designs.