Constrained TauMatrix optimization with ECME