The alternative graph formulation for solving complex factory scheduling problems