-------- Forwarded Message --------
From: Curtis Passorelli <[email protected]>
To: [email protected]
Subject: One Dimensional Set Ordering
Date: Sun, 1 May 2016 11:36:39 -0400
Hello,
I have a discrete set.
set weeks:={1,4,8,11};
What I want to do is create a parameter to access the i-th element of
the set.
weeks[1] = 1, weeks[2] = 4, weeks[3] = 8 and weeks[4] = 11.
I want to do this assignment dynamically because these week numbers will
change each time new data is entered into the model.
Do you have any suggestions or code?
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk