Cs 7641 Random Optimization