Over the past few decades, neuroscience experiments have become increasingly complex and naturalistic. Experimental design has in turn more challenging, as must conform to an ever-increasing diversity of constraints. In this article, we demonstrate how process can be greatly assisted using optimization tool known mixed-integer linear programming (MILP). MILP provides a rich framework for incorp...