Minimal loss reconfiguration based on dynamic programming approach: application to real systems uri icon