A Genetic Algorithm for solving the optimal capacitor placement problem in radial distribution is presented. Is a non linear integer mixed problem (NLIMP). The algorithm obtains the placement points, types and sizes of the capacitor banks and the control scheme.