Question: I need help to solve this problem in IBM CPLEX, please! Consider the following puzzle. Ten cells numbered 0, ..., 9 inscribe a 10 digit
I need help to solve this problem in IBM CPLEX, please!
Consider the following puzzle. Ten cells numbered 0, ..., 9 inscribe a 10 digit number such that each cell, say I, indicates the total number of occurrences of the digit I in this number. Find the number. For your information, the answer is 6210001000. Indeed, there are six zeros and cell 0 is filled with 6, etc. Define variables, domains and constraints in a pseudocode format. Consider the following puzzle. Ten cells numbered 0, ..., 9 inscribe a 10 digit number such that each cell, say I, indicates the total number of occurrences of the digit I in this number. Find the number. For your information, the answer is 6210001000. Indeed, there are six zeros and cell 0 is filled with 6, etc. Define variables, domains and constraints in a pseudocode format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
