Mathematical models for the minimization of open stacks problem. (2nd September 2021)