7
$\begingroup$

The objective is to blacken certain boxes. The numbers outside represent the sum of the numbers contained in the white boxes in the corresponding rows or columns.

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Does a row not having a number mean it can sum to whatever we want? $\endgroup$ – Oliver Ni May 10 at 21:04
5
$\begingroup$

Here's the unique solution, obtained via integer linear programming:

enter image description here

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.