In a GAMS program, I have a table with two rows and ten columns. the first row is the prices and the second row is the profit. I use the "Smax" to find the maximum profit but I can not find the price consistent with maximum profit please help me to find the corresponding price asked 02 Jun '14, 17:04 aazad 
Hi, I hope this solves your problem:
Best, Lutz answered 11 Jun '14, 12:13 Lutz Westermann 1
@Lutz, great to see GAMS people here. Your input is most needed!
(11 Jun '14, 13:53)
Marco Luebbecke ♦

@aazad: Do you need the corresponding index or would just the corresponding price suffice as well? Also, does the profit array contain unique elements or not?