Dear Asma,
the CPLEX file format is not aware of sets and indices. The only way you
can indicate indices is by using concatenated variable names like a(1,2).
See glpk-4.47/doc/glpk.pdf, section CPLEX LP Format.
Best regards
Xypron
On 14.11.2011 17:38, esma mehiaoui wrote:
otherwise how to specify the data and variable with two dimensions in
an .lp file.
I look at this on the internet but there are only a simple examples.
i need for example to represent one set (set MySet:=1..5;) and an
variable (var Y{i in MySet, j in MySet: i!=j} >=0, integer;).
Could somebody help me please?
Regards
Asma
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk