A method for generating a cost function for processing a candidate workpiece
using
a resource includes identifying processing requirements for the candidate workpiece.
A first committed capacity of the resource is determined based on a schedule of
engagements associated with other workpieces having processing requirements compatible
with the processing requirements of the candidate workpiece. A second committed
capacity of the resource is determined based on a schedule of engagements associated
with other workpieces having processing requirements not compatible with the processing
requirements of the candidate workpiece. The cost function is generated based on
the first and second committed capacities. A system includes a resource for processing
a candidate workpiece and at least one scheduling agent. The scheduling agent is
configured to identify processing requirements for the candidate workpiece, determine
a first committed capacity of the resource based on a schedule of engagements associated
with other workpieces having processing requirements compatible with the processing
requirements of the candidate workpiece, determine a second committed capacity
of the resource based on a schedule of engagements associated with other workpieces
having processing requirements not compatible with the processing requirements
of the candidate workpiece, and generate the cost function based on the first and
second committed capacities.