|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
problem with parameteri have to write in file.DAT one parameter in two dimensions w[i,t]
when i the index of the activity and t is the index of the time interval My problem is that the time interval is 0..600 and i don't know how to write it on file.DAT because it is too large I know its not about GLPK but i hope it's already happened to someone thank you very much best _______________________________________________ Help-glpk mailing list Help-glpk@... https://lists.gnu.org/mailman/listinfo/help-glpk |
|
|
Re: problem with parameterHello Daniele,
where is your problem in writing the data file? A data file can have as many lines as you want. set I:= {0..100}; set T:= {0..600}; param w{I,T}; data; param w := [ 0, 0] 0.128312 [ 0, 1] 0.009597 ... [ 0,600] 0.029687 [ 1, 0] 0.553792 ... [ 1,600] 0.818264 ... [100,600] 0.029687 ... [100,600] 0.412226 end; Just replace ... by the missing lines. Best regards Xypron -------- Original-Nachricht -------- > Datum: Mon, 16 Jul 2012 18:42:59 +0200 > Betreff: [Help-glpk] problem with parameter > i have to write in file.DAT one parameter in two dimensions *w[i,t]* > when *i* the index of the activity and *t* is the index of the time > interval > > My problem is that the time interval is 0..600 and i don't know how to > write it on file.DAT because it is too large > > I know its not about GLPK but i hope it's already happened to someone > > thank you very much > > best _______________________________________________ Help-glpk mailing list Help-glpk@... https://lists.gnu.org/mailman/listinfo/help-glpk |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |