[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Modelling differences in time
From: |
Jiri K |
Subject: |
[Help-glpk] Modelling differences in time |
Date: |
Thu, 26 Mar 2009 07:26:56 -0700 (PDT) |
Dear all,
I would appreciate a hint for the following problem:
In my model I need to care about the values of a variable in consecutive
periods. Therefore in the formulas I operate with differences like
{i in PERIOD: i>1} x[i]-x[i-1]
However this only works when periods are described with numbers which always
increment by 1. How could I simply model this if the members of the PERIOD
set are e.g. 'Jan', 'Feb' etc?
Thank you for your answer
Jiri
--
View this message in context:
http://www.nabble.com/Modelling-differences-in-time-tp22723127p22723127.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
- [Help-glpk] Modelling differences in time,
Jiri K <=