This paper proposes a nonconvex mixed-integer programming(MIP) electricity model of household load that is classified into base load and plug-in electric vehicle (PEV). The main objective of this model is to minimize the electricity cost of domestic user by adjusting the charging and discharging strategy of PEV according to the information of real-time price(RTP). In order to settle this problem, a neurodynamic algorithm which combines feedback neural network and inertial neural subnetwork is used. In this algorithm, the feedback neural networks are given as subnetworks to find a local optimal point and the inertial neural subnetwork can obtain different local optimal points by adjusting the inertial factor in global scope. The validity and the feasible of the proposed algorithm can be proven by performance evaluation of simulation results.