diff options
Diffstat (limited to '1682/CH16/EX16.1/Exa16_1.sce')
-rwxr-xr-x | 1682/CH16/EX16.1/Exa16_1.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1682/CH16/EX16.1/Exa16_1.sce b/1682/CH16/EX16.1/Exa16_1.sce new file mode 100755 index 000000000..c1e111c86 --- /dev/null +++ b/1682/CH16/EX16.1/Exa16_1.sce @@ -0,0 +1,19 @@ +//Exa 16.1
+clc;
+clear;
+close;
+//given data :
+disp("The data of the problem are summarized below : ");
+disp("Machine Products Limit on ");
+disp(" P1 P2 machine hours");
+disp("Lathe 5 10 60");
+disp("Milling 4 4 40");
+disp("Profit/unit 6 8");
+disp("Let X1 be the production volume of the product.P1, and");
+disp("X2 be the production volume of the product,P2.");
+disp("The corresponding linear programming model to determine the production volume of each product such that the total profit is maximized is as shown below : ");
+disp("maximize Z = 6*X1 + 8*X2");
+disp("subject to");
+disp("5*X1+10*X2 <= 60")
+disp("4*X1+4*X2 <= 40")
+disp("X1,X2 >= 0")
\ No newline at end of file |