Production scheduling under JIT constraints