<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def concept_cuts(direction, node_indices, node_labels=None):
 """Generator over all concept-syle cuts for these nodes."""

    for partition in mip_partitions(node_indices, node_indices):
        yield KCut(direction, partition, node_labels)