Using dual values to integrate row and column generation into constant logic