Here are the seven solutions returned by the MILP solver: 12321, 33124, 34225 12544, 34225, 44521 12321, 44521, 55225 34225, 44521, 52441 12544, 34225, 52441 12321, 12544, 55225 12321, 52441, 55225 I interpreted the last statement in the puzzle as a rule to help narrow down these seven candidates to one solution. Solutions 2 through 7 all have the property that digit 3 appears just once. But solution 1 is the only one where digit 5 appears just once. Maybe I'm reading too much into the last statement, and the puzzle is just to find all seven solutions.
... View more