Inputs to the integrated software package include orders, available capacities for such resources as machines and people, available inventory levels, historical data showing electric power needed to perform each type of operation on each machine, and a daily course including a tariff for the electric power to be supplied.