60 likes | 175 Vues
This lecture explores the discrepancies between solution outputs of Delite and AMPL based on the data from RunL12.txt and dataL12.txt. The Delite solutions consistently achieve a cost of 1164, highlighting specific path configurations and costs among nodes N1, N2, N4, N5, N3, and N6. In contrast, the AMPL solution yields a higher cost of 1485, emphasizing path limitations of two hops. This analysis delves into optimization results, algorithm behaviors, and provides insights into the solutions' efficiency in a network context.
E N D
Lecture 12.1 Why different answers with Delite and AMPL on RunL12.txt and dataL12.txt?
Delite Solution With Cost = 1164 N1 N4 N2 N5 N3 N6
Delite Solution With Cost = 1164 N1 N4 4800 N2 4840 960 50.4% N5 2920 1960 N3 N6
Delite Solution With Cost = 1164 Arc Cost N2-N1 224 N2-N5 100 N4-N5 224 N5-N6 316 N3-N6 300 --------------------- 1164 N1 4840 N4 50.4% N2 3880 960 N5 1960 N3 N6 1000
AMPL Solution With Cost = 1485 N1 N4 N2 There are no paths with more than 2 hops. N5 N3 N6