Optimization Using Personal Computers With Applications To Electrical Networks