lewismcdaniel
New Member
- Joined
- Mar 28, 2014
- Messages
- 10
Im trying to find the minimum of a 4X4 matrix without a cell interfering another cell in its same row or column. For example,
1 2 3 4
12 14 16 17
6 5 2 1
2 3 4 2
If cell A1 is highlighted then you cant pick another cell in column A or row 1. For example, A1+B2+C3+D4=19 & A4+B1+C3+D2=23 then the minimum value is 19. But there are 4!=24 ways to do this and doing min(a1+b2+c3+d4,a2+...) is time consuming. Can someone please help!
1 2 3 4
12 14 16 17
6 5 2 1
2 3 4 2
If cell A1 is highlighted then you cant pick another cell in column A or row 1. For example, A1+B2+C3+D4=19 & A4+B1+C3+D2=23 then the minimum value is 19. But there are 4!=24 ways to do this and doing min(a1+b2+c3+d4,a2+...) is time consuming. Can someone please help!