proc optmodel;
var a >= 0; var b >= 0;
con constr1:
a + b <= 9
max 5*a + 3*b
solve ;
con constr2:
a + b <= 12
max 3*a + 4*b
solve ; (question: how do change the code here, such that this solve only deals with the problem defined after the previous solve?)
quit;