HEY I am new to GAMS and certainly new to this community .
I NEED TO SUBMIT MY MATHS ASSIGNMENT ON GAMS PROGRAMMING and I am not getting the hang of GAMS properly and the last date of submission is 28 NOV (GMT +5:30 HRS).
IF ANYONE COULD SOLVE THE QUESTION WITH PROPER PROGRAM AND THE SUBPARTS( all A,B,C ) ,HIS/HER HELP WILL BE MUCH APPRECIATED.
THANk YOU
update I have made the following model.
can anyone please check it??
POSITIVE VARIABLE SU;
POSITIVE VARIABLE RE;
POSITIVE VARIABLE UN;
POSITIVE VARIABLE B1;
POSITIVE VARIABLE B2;
POSITIVE VARIABLE B3;
POSITIVE VARIABLE B4;
FREE VARIABLE Z;
EQUATIONS
CONB1,
CONB2,
CONB3,
CONB4,
CONSU,
CONRE,
CONUN,
OBJ;
CONB1… B1=L=2500;
CONB2… B2=L=3000;
CONB3… B3=L=3500;
CONB4… B4=L=2000;
CONSU… SU=G=3000;
CONRE… RE=G=4000;
CONUN… UN=G=2000;
OBJ… 25*(B1+B2+B3+B4)-10*(B2+B2+B3+B4)+15*(B1+B2+B3+B4)+80*B4=E=Z;
MODEL BLENDINGOIL /
CONB1,
CONB2,
CONB3,
CONB4,
CONSU,
CONRE,
CONUN,
OBJ/;
OPTIONS LP=Cplex;
SOLVE BLENDINGOIL USING LP MAXIMIZING Z;
DISPLAY B1.L,B2.L,B3.L,B4.L,Z.L;