Question: Create a function that generates all the permutations in the Assignment problem. Its input parameters are a ) a square bidimensional array where each row

Create a function that generates all the permutations in the Assignment problem. Its input parameters are a) a square bidimensional array where each row represents and person, and each column represents a job, each cell contains values between 1-10; and b) number of rows/columns (rows==columns). In addition, the function will show the cost of each permutation. Also, at the end, the function will show
which permutation obtains the minimum cost. Create a program that randomly generates a 4x4 array. Display the array content. Then, execute the function described above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!