> I am trying to use the Uniform function to set the value of a
> two-dimensional array in the data segment of a model.
> Parameter array is defined as follows (and works correctly when used
> with explicit value initialization) in the model section
>
> param c{i in I, j in J}, >= 0;
>
> The following statement gives a syntax error
>
> param c : Uniform (1, 500);
>
> I could not find an example of using the Uniform function with a
> parameter matrix in the GMPL manual.
> What is the proper syntax
>
param c{i in I, j in J}, >= 0, := Uniform (1, 500);
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk