This document discusses a novel algorithm developed to consider multiple constraints in power system state estimation using weighted least squares. The algorithm detects missing measurement data, identifies and eliminates bad data, and evaluates network observability. It also considers measurement uncertainties from phasor measurement units. The algorithm is tested on the IEEE 14 bus system and is able to identify bad data, estimate missing data values, and determine observability while incorporating measurement uncertainties.