Optimal placement of binary sensors