I used the following code, but it is not working.
Code: Select all
set q1(a,b,c,d,e)
equation r1(a,b,c,d,e)
r1(a,b,c,d,e)$b..
Thanks.
Code: Select all
set q1(a,b,c,d,e)
equation r1(a,b,c,d,e)
r1(a,b,c,d,e)$b..
Code: Select all
$onempty
set a /a1*a10/
set b(*) / /;
variable x(a),dummy;
equation r1,fobj;
r1(a,b).. x(a)=e=1;
fobj.. dummy=e=1;
model c /all/;
solve c using lp minimizing dummy;