mip error
Posted: Fri Oct 27, 2017 6:57 pm
Hi all,
Can anybody help me in finding the problem of following model
binary variable
b1
b2
;
positive variable
p pressure 1
t temperature 1
t2 temperature 2
p2 pressure 2
;
variable
obj
;
equation
a1
a2
a3
a4
a6
a7
;
a1..
t =e= 2*p ;
a2..
p =l= 1000*b1 ;
a3..
t2 =l= 8*p2 ;
a4..
p2=e= 1000*b2;
a6..
b1+b2 =e= 1;
a7..
obj =e=10*(t+t2) ;
p.lo=1;
p.up=2;
p2.lo=2.1;
p2.up = 3;
model m /all/;
solve m minimizing obj using mip;
Can anybody help me in finding the problem of following model
binary variable
b1
b2
;
positive variable
p pressure 1
t temperature 1
t2 temperature 2
p2 pressure 2
;
variable
obj
;
equation
a1
a2
a3
a4
a6
a7
;
a1..
t =e= 2*p ;
a2..
p =l= 1000*b1 ;
a3..
t2 =l= 8*p2 ;
a4..
p2=e= 1000*b2;
a6..
b1+b2 =e= 1;
a7..
obj =e=10*(t+t2) ;
p.lo=1;
p.up=2;
p2.lo=2.1;
p2.up = 3;
model m /all/;
solve m minimizing obj using mip;