Originally posted by: brown_rice
Hi,
Thanks for the answer, It works, but I have two questions.
First, is it crucial to use "key" in tuple definitions? I never use them. Would that cause any trouble in big models? or is it just the way you prefer to code?
Second questions is about "first". What does exactly "first" do? When I remove it, OPL raises an error message. However, I can do this too
{float} cost_values[l in location_set] = {c | <l._from,l._to,l.vehicle,c> in transportation};
What is the main difference between what I shared above and what you shared in your response?
#DecisionOptimization#OPLusingCPLEXOptimizer