From: Leandro Lucarella Date: Sat, 27 May 2006 23:27:42 +0000 (+0000) Subject: Ejercicios de parcial de modelos. X-Git-Tag: svn_import X-Git-Url: https://git.llucax.com/z.facultad/71.14/ejercicios.git/commitdiff_plain?ds=inline Ejercicios de parcial de modelos. --- diff --git a/parcial_20051126.mod b/parcial_20051126.mod new file mode 100644 index 0000000..6d671c6 --- /dev/null +++ b/parcial_20051126.mod @@ -0,0 +1,13 @@ + +var x1, >= 0; +var x2, >= 0; + +maximize + value: 80 * x1 + 50 * x2; + +subject to + a: x2 >= 20; + b: x1 + 2 * x2 <= 100; + c: 4 * x1 + x2 <= 400; +end; + diff --git a/parcial_20051126_dual.mod b/parcial_20051126_dual.mod new file mode 100644 index 0000000..a32dae2 --- /dev/null +++ b/parcial_20051126_dual.mod @@ -0,0 +1,13 @@ + +var Y1, >= 0; +var Y2, >= 0; +var Y3, >= 0; + +minimize + value: -20 * Y1 + 100 * Y2 + 400 * Y3; + +subject to + a: Y2 + 4 * Y3 >= 80; + b: -1 * Y1 + 2 * Y2 + Y3 >= 50; +end; +