[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Assign a param to a set in data section
From: |
yo yo |
Subject: |
[Help-glpk] Assign a param to a set in data section |
Date: |
Wed, 29 Nov 2006 23:19:26 +0000 (GMT) |
Hello,
Is it possible to assign a param to a set in the data section?
By "assign" I mean, deduce the set from the elements whose values are given in
the param.
For instance:
Set A;
set B within A cross A;
param P{B};
data;
set A:=a1 a2 a3;
param P:= a1 a2 a3 :=
a1 1 2 .
a2 . 3 .
a3 5 . .
;
so the question is, is it possible to do something like:
set B:=P;
? (This would define B where there are values in P only.)
Thanks,
Lionel.
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
- [Help-glpk] Assign a param to a set in data section,
yo yo <=