> Probably correct formulation should be the following:
> 
> s.t. condition1{f in FOO, b in BAR}:
>         sum{a in BAZ} x[f,b,a] >= 5 * z;
> 
> s.t. condition2{f in FOO, b in BAR}:
>         sum{a in BAZ} x[f,b,a] <= u[f,b,a] * z;
> 
> where u[f,b,a] is an upper bound of x[f,b,a].

The second constraint should be the following:

s.t. condition2{f in FOO, b in BAR}:
        sum{a in BAZ} x[f,b,a] <= u[f,b] * z;

where u[f,b] is an upper bound of sum{a in BAZ} x[f,b,a].





_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to