This is a hard problem.

Zero-One Equations

Given an matrix A where . Find an vector of x of 0’s and 1’s such that , where .

This is of arbitrary size. This is a case of integer linear programming where:
such that . Here, is a vector of non-negative integers. This is also a hard problem. This kind of looks like SAT.

An example is Knapsack.

Note

If you want to turn an optimization problem into a search problem you usually introduce a budget.

The decision version of ILP then is:
Given a goal , find such that , , is a vector of non-negative integers.