1. Initialize Length(L) and breadth(B) of Rectangular
Container
2. Calculate n for number of total rectangular boxes
2. Loop
3. Take a rectangular box at random of length(l) and
breadth(b)
4. IF(l<= L && b <=B)
5. Put the box inside container
6. L = L - l
7. B = B - b
8. END IF
9. END LOOP when n is zero.
One key strength of simulated annealing is its ability in avoiding being trapped at a local maximum. Explain how this is achieved. You may refer to the simulated annealing algorithm for the travellin...