Program to identify an optimal cut order for lumber.