Computational Complexity and Anytime Algorithm for Inconsistency Measurement