Hybrid Approach for Optimization of a Class of Machining Lines