There are many posts on the net stating - "Cut Rectangle in Minimum no. of Squares" problem can be solved by DP. For ex :- Cut rectangle in minimum number of squares
But, even the DP strategy described in the above post doesn't yield optimal solution. For ex :- for rectangle 11x13, the optimal solution occurs when the rectangle is not divided into 2 parts. (See - http://int-e.eu/~bf3/squares/view.html#13,11)
Can this problem really be solved optimally by a DP approach? If not, how to obtain optimal solution for all possible cases?