Originally posted by: SystemAdmin
Your model actually has two alternate optimal solutions. I think the problem is
cplex.setParam(IloCplex::SolnPoolAGap, 0.0);
This requires the objective function values of both solutions to be
exactly equal and does not allow for any numerical round-off.
Since the objective function in your case is always integral I tried
cplex.setParam(IloCplex::SolnPoolAGap, 0.5);
and that gives me both optimal solutions.
#CPLEXOptimizers#DecisionOptimization