Problem Solving in Operational Research
Problem Solving in Operational Research
THEME:
COURSE:
OPERATIONAL INVESTIGATION
STUDENT:
LUIS CAMPOS CARBONEL – U20308795
TEACHER
ARTURO BURGA NORIEGA
LIMA - PERU
2023
Operational Research
----------------------------------------------------------------------------------------------------------------------------------
Enigma Manufacturing has three plants: Lurín (PL1), Ventanilla (PL2), and Santa Clara.
(PL3) that produce the same type of product. Any of these plants can
to supply any of the three distribution centers: Surco (CD1), Cercado (CD2) and
Santa Anita (CD3). Likewise, from any distribution center, it can be served.
to any of four clients (C1, C2, C3, and C4) who have placed their order for
the next season, for which the following information is available for each
client:
C1 C2 C3 C4
Selling price 1900 1920 1960 1950
Minimum amount to 12 14 10 12
deliver
Maximum amount to 20 24 20 24
deliver
It is not mandatory to attend to all customers. But if you decide to attend to a customer, you
must be delivered between the minimum and maximum. The delivery of a fraction is not allowed.
units.
The production capacity of the Lurín, Ventanilla, and Santa Clara plants is 28, 30
and 25 units respectively. Distribution centers can receive up to 17, 20
and 22 units respectively. The transportation cost from the plants to the
Distribution centers are fixed, in case transportation is carried out.
Note: previously determine m, n, and p and the value of M, as well as the type of objective.
Formulate the model in a compact syntax that allows finding the solution for it.
What present the following information:
a)(2 points) Indicate the indices and the decision variables properly
identified [include the units], in compact algebraic syntax.
SOLUTION:
Índices:
Variables:
SOLUTION
MODEL:
!i:PL1,PL2,PL3 (plants);
!j:CD1,CD2,CD3 (distributors);
!k:C1,C2,C3,C4 (stores);
SETS:
plant/PL1..PL3/: capacity_plan, production_cost;
distributor/1..3/:capacity_dis;
tienda/1..4/:demandamin, demandamax, preciov;
PD(plant, distributor): x, costransp_1;
DT(distributor, store): and;
ENDSETS
DATA:
capacidad_pla= 28 30 25;
capacidad_dis= 17 20 22;
costprod= 18 17 15;
demandamin=12 14 16 12;
Operational Research
demandamax=20 24 20 24;
preciov= 1900 1920 1960 1950;
costransp_1= 500 580 600
520 520 600
520 560 560
ENDDATA
MAX = @SUM(DT(j,k):price(k)*y(j,k))
-@SUM(PD(i,j):costransp_1(i,j)*x(i,j)+costprod(i)*x(i,j));
@for(plant(i):@sum(distributor(j):x(i,j))<=plant_capacity(i));
@for(distributor(j):@sum(plant(i):x(i,j))<=capacity_dis(j));
@for(store(k):@sum(distributor(j):y(j,k))>=minDemand(k));
@for(store(k):@sum(distributor(j):y(j,k))<=maxdemand(k));
y(1,1) <= 8;
y(1,2) <= 5;
y(1,3) <= 8;
y(1,4) <= 5;
y(2,1) <= 9;
y(2,2) <= 6;
y(2,3) <= 8;
y(2,4)<= 9;
y(3,1) <= 5;
y(3,2) <= 10;
y(3,3) <= 8;
y(3,4)<= 7;
@for(distributor(j):@sum(plant(i):x(i,j))=@sum(store(k):y(j,k)));
END
c) (2 points) Present your best and comprehensive administrative report and interpret it.
the margins and some interpretation of relevant constraint of the model (NO
present the LINGO report; for your answer to be valid); the professor will run
the model presented in the previous point and its response must match).
SOLUTION:
Operational Research
Cap. Production.- Plants 1, 2, and 3 have not used their full production capacity remaining
available to manufacture 11, 10, and 3 units of product (slacks)
Distribution Center. - The distribution centers have a '0' buffer, that is; they have used all their
capacity.
Minimum Amount to Deliver. - The minimum required was delivered to clients C1 and C2.
Maximum Quantity to Deliver. -Customer C3 has no more pending items, the maximum has been delivered.
required.
Available Transfer Capacity. -The routes CD1-C2, CD1-C3, CD2-C4, CD3-C1, CD3-C3; used
all its transportation capacity.
Balances. -Balances 1, 2 and 3 were completed in their entirety.
Operational Research
Hours Prod.
Products Machine Advertising Cost.
Minimum Utility
A 1 2 400 20
B 2 3 500 15
Availability 16 500
SOLUTION:
Data:
Variables:
Objective function:
Min Z = d1p + d1n + d2p + d2n + d3p + d4p + d4n + d5p + d5n
Restrictions:
Operations Research
In PL: X1 + 2X2 = 16
META 2: X1 + 2X2 + d2p - d2n = 16
In PL: X1=400
X2=500
IN LINGO:
SOLUTION REPORT
Operational Research
Where from: