Some methods of otimization