[ymeng] Custom equality constraint sample