Re: Insert Data into AIMMS

63 views
Skip to first unread message

Guido Diepen

unread,
May 16, 2013, 8:11:39 AM5/16/13
to ai...@googlegroups.com
Hi,

this can be done with an indexed subset (i.e. a set that is a subset of Time and has index domain i).

Please also see comments of Sergio in the thread https://groups.google.com/d/topic/aimms/esAse-gTQ2c/discussion. You can also make a two-dimensional binary parameter (DEG, i) that has a one if the combination should be considered and 0 otherwise. You can then use this binary parameter in domain conditions.

Guido Diepen
AIMMS Specialist

On Wednesday, May 15, 2013 1:58:37 PM UTC+2, blabla wrote:
I would like te insert the following data into AIMMS.
 
On := data
    { 'DEG 1' : { 29, 30 } ,
      'DEG 2' : { 23, 24, 25, 26 } ,
      'DEG 4' : { 33, 34, 35, 36 }
    };

For each DEG (which are contained in a set) with index i, I would like to insert a a set of numbers ( which is a subset set of the set Time).
What should I use? Parameter, Set, Element Parameter.
Is there something that immediately can read the data as presented above?
 
Thanks in advance
 

blabla

unread,
May 17, 2013, 5:50:07 PM5/17/13
to ai...@googlegroups.com
Thanks

Op donderdag 16 mei 2013 14:11:39 UTC+2 schreef Guido Diepen het volgende:
Reply all
Reply to author
Forward
0 new messages