Minimising general setup costs in a two-stage production system