6. Starbattle is a game which is based on a grid of nxn cells. The grid is partitioned into n sets of connected cells; t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
6. Starbattle is a game which is based on a grid of nxn cells. The grid is partitioned into n sets of connected cells; t
6. Starbattle is a game which is based on a grid of nxn cells. The grid is partitioned into n sets of connected cells; these sets are called islands (see Figure 1). n stars must be placed in the grid such that each row, each column, and each island contain exactly one star. Moreover, all eight cells surrounding a cell with a star must remain empty. Formulate an LP model to minimize the total distance of stars to the center of the grid.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!