# declare the variables and their bounds var x1 >= 0; var x2 >= 0; # specify the objective function minimize obj: -250 * x1 - 400 * x2 + 15000; # specify the constraints s.t. inequality1: x1 + 2*x2 <= 170; inequality2: x1 + x2 <= 150;