OK, no big problem. Thanks. 2011/10/31 glpk xypron <[email protected]>
> Hello Nilo, > > > Suppose a parameter V is defined with a domain of 4 dimensions, but it > > will > > have the same value for every cell of the array. > You will have to specify all values separately. If all values are the > same it would be preferable to use a simple parameter. > > The documentation is in file glpk-4.47/doc/gmpl.pdf > chapter 5.3. Parameter data block. > > The file is included in the source distribution of GLPK available > at ftp://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz. > > Best regards > > Xypron > > -------- Original-Nachricht -------- > > Datum: Mon, 31 Oct 2011 20:52:50 -0200 > > Von: Nilo Cesar Teixeira <[email protected]> > > An: [email protected] > > Betreff: [Help-glpk] Syntactic sugar for assigning values to parameters > > > Hi all, > > > > Suppose a parameter V is defined with a domain of 4 dimensions, but it > > will > > have the same value for every cell of the array. > > > > In other solvers, just V := 1; is possible in the data section. > > > > In glpk do I always have to specify indices ? > > > > Thank you. > > > > -- > > *Nilo Cesar Teixeira* > > [email protected] > > (55) (11) 8571-5314 > > -- > Follow me at http://twitter.com/#!/xypron > > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de > -- *Nilo Cesar Teixeira* [email protected] (55) (11) 8571-5314
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
