CAMD: Constrainted Approximate Minimum Degree