Properties of certain zero column-sum matrices with applications to the optimization of chemical reactors