Discrete reactive power optimization based on interior point filter algorithm and complementarity theory