Optimal control of a complex of independent operations