; “> This paper presents an optimal algorithm for power quality monitoring, which can show power quality’s characteristic parameters. Objective function is defined based on number of monitors and cost of each one. Suitable constraints are obtained and formulated by the use of network’s Topology. Digsilent simulation results indicate that each voltage level must be monitored to obtain all essential information of power quality. Optimization process was solved by integer linear programming in MATLAB