[MFMC]:[LearnConstrainXeXc]: fix code for new solution 1, add code for new solution 2