help-glpk
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Help-glpk] Is anyway to generate a certain subset of the set
From
:
Andy . Zhu
Subject
:
[Help-glpk] Is anyway to generate a certain subset of the set
Date
:
Tue, 21 Aug 2007 13:48:24 -0400
Hi, here is my problem:
I have defined a set:
set A := 1 .. N # where N may be 1000 as a param
Is there any easy way to generate all the N subsets from A as follows:
A1={1}, A2={1,2}, A3={1,2,3} ..., An-1= {1, ..., N-1}, An={1, 2, ..., N}?
thanks very much.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Help-glpk] Is anyway to generate a certain subset of the set
,
Andy . Zhu
<=
Re: [Help-glpk] Is anyway to generate a certain subset of the set
,
Leandro Barcelos
,
2007/08/21
Prev by Date:
Re: [Help-glpk] Relaxed LP Results
Next by Date:
Re: [Help-glpk] Is anyway to generate a certain subset of the set
Previous by thread:
[Help-glpk] Relaxed LP Results
Next by thread:
Re: [Help-glpk] Is anyway to generate a certain subset of the set
Index(es):
Date
Thread