LP Input | Minizinc Input | Output |
board_size(4). pos(1,2). pos(2,4). pos(3,1). pos(4,3). | board_size = 4; row = [1,2,3,4]; col = [2,4,1,3]; | moves(0). |
board_size(4). pos(1,2). pos(1,3). pos(2,1). pos(4,3). | board_size = 4; row = [1,1,2,4]; col = [2,3,1,3]; | moves(2). |
board_size(5). pos(1,1). pos(2,5). pos(3,3). pos(5,2). pos(5,5). | board_size = 5; row = [1,2,3,5,5]; col = [1,5,3,2,5]; | moves(3). |