[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Re: ordered and ord in MathProg?
From: |
Noli Sicad |
Subject: |
Re: [Help-glpk] Re: ordered and ord in MathProg? |
Date: |
Tue, 9 Feb 2010 11:14:11 +0700 |
On 2/9/10, Andrew Makhorin <address@hidden> wrote:
>> set TT := 1jan04 # Time Buckets
>> 2jan04
>> 3jan04
>> 4jan04
>> 5jan04
>> 6jan04
>> 7jan04
>> 8jan04 ;
>
> Easiest way is to define TT as follows:
>
> set TT := 1 2 3 4 5 6 7 8;
>
> in which case ord(t) = t.
>
Yes. I think these "ordered" and "ord() can rest in peace now.
MathProg got solution for this problem.
Noli