You are on page 1of 7

TRISTAN M.

OCAMPO
MSEE-1995118706 9-Aug-08 MATH221P-NUMERICAL METHODS FOR PARTIAL DIFFERENTIAL EQUATIONS QUIZ NO. 1

PLANT A

PLANT B

PLANT C
0 Pedicabs/day 53 Tricycles/day 182000

40 Pedicabs/day 65 Pedicabs/day 35 Tricycles/day 0 Tricycles/day 210000 190000

OPERATING COST(in Php.)/day

Formulate a Mathematical Model that can be used to determine how many days (including weekends and holidays) each plant should operate during month of June to fulfill a production schedule of 1,500 pedicabs and 1,100 tricycles Assumption: Labor Contracts require that once a plant is opened, workers must be paid the entire day. SOLUTION: Month of June has 30 Days Find: No. of Days (incl. weekends and holidays) each plant should operate during month of June to fulfill production s Analysis: Within 30 days (month of June) , how many days to produce 1,500 pedicabs and 1,100 tricycles

40 pedicabs/day (Plant A) + 65 pedicabs/day (Plant B) + 0 pedicabs/day (Plant C)=105 pedicabs/day (Plant A, B, & C) 35 tricycles/day (Plant A) + 0 tricycles/day (Plant B) + 53 tricycles/day (Plant C)= 88 tricycles/day (Plant A, B, & C)

pa1 40 1 0 1 0 0 0

pa2 35 0 1 1 1 0 0

pb1 65 1 0 0 0 1 0

pb2 0 0 0 0 0 0 0

pc1 0 0 0 0 0 0 1

z=210000c1+ 190000c2 + 182000c3 z-minimum cost Constraints 40c1 + 65c2 + 0=1500 35c1 + 0c2 + 53c3=0 c1,c2,c3<=30 OBJECTIVE FUNCTION ANSWERS: C1=30 days for Plant A C2=5 days Plant B C3=1 day for Plant C Minimized Cost: P7,348,621.2

ekends and holidays) each plant the entire day.

h of June to fulfill production schedule of 1,500 pedicabs and 1,100 motorcycles nd 1,100 tricycles

bs/day (Plant A, B, & C) ay (Plant A, B, & C)

pc2 53 1 1 0 0 0 0

C1 C2 C3 30 4.615385 0.943396 210000 190000 182000 CONSTRAINTS 40 65 0 35 0 53 1 0 0 0 1 0 0 0 1

no. of days 7348621.2 1500 1100 30 4.6153846 0.9433962 1500 1100 30 30 30

TRISTAN M. OCAMPO
MSEE-1995118706 9-Aug-08 MATH221P-NUMERICAL METHODS FOR PARTIAL DIFFERENTIAL EQUATIONS QUIZ NO. 1 ANALYSIS OF THE PROBLEM WEEDEX COMPANY-manufactures 2 types pf lawn trimmers: an electric and gas model The Company has contracted to supply a retail chain, with a total of 30,000 electric trimmers and 15,000 gas trimmers Production Capability of Weedex Company-limited to three departments, namely: production, assembly, and packaging

PROD. ASS. PACK.

ELECTRIC 0.2 0.3 0.1

GAS 0.4 0.5 0.1

HRS.AVA. 10000 15000 5000

In-house manufacture of electric trimmers-P2475 In-house manufacture of gas trimmers-P3825 Buy of electric trimmers from another source-P3015 Buy of gas trimmers from another source-P4275 FIND: How many should it buy from the other source in order to fulfill its contract? SOLUTION: Ya-Manufactured Inside Weedex-Electric Trimmers Yb-Bought Outside Weedex-Electric Trimmers Yc-Manufactured Inside Weedex-Gas Trimmers Yd-Bought Outside of Weedex-Gas Trimmers The objective Function Z-Minimize the Cost of Each Kind of Trimmer Z=Ya(2475) + Yb(3015) + Yc(3825) + Yd(4275)

CONSTRAINTS (0.2)Ya + (0.4)Yc <=10000 (0.3)Ya + (0.5)Yc <=15000 (0.1)Ya + (0.1) Yc<=5000 Ya+Yb=30000 Yc + Yd=15000 Ya,Yc, Yb, Yd>=0

OBJECTIVE FUNC.

Ya 30000 2475 0.2 0.3 0.1 1 0

Yc 10000 3825 0.4 0.1 0.1 0 1

Yb 0 3015 0 0 0 1 0

Yd 5000 4275 0 0 0 0 1

133875000 10000 10000 4000 30000 15000 10000 15000 5000 30000 15000

CONSTRAINTS

Answers Ya-30,000 Manufactured Electric Trimmers Yc-10,000 Manufactured Gas Trimmers Yd-5,000 Bought Outside Weedex Gas Trimmers Minimized Cost: P133, 875, 000

and 15,000 gas trimmers bly, and packaging

TRISTAN M. OCAMPO
MSEE-1995118706 9-Aug-08 MATH221P-NUMERICAL METHODS FOR PARTIAL DIFFERENTIAL EQUATIONS QUIZ NO. 1 A trust officer at the Makati National Bank needs to determine to determine how to invest P100,000 in the BOND A B C D E A.RET. 9.50% 8.00% 9.00% 9.00% 9.00% MAT. LONG SHORT LONG LONG SHORT RISK HIGH LOW LOW HIGH HIGH T.FREE S. YES TES NO YES NO

TOTAL=100,000 X1=A X2=B X3=C X4=D X5=E Objective Function is to be Maximized, so, Z=9.5%X1+8.0%X2+9.0%X3+9.0%X4+9.0%X5 CONSTRAINTS X2+X5>=50%(100,000) X2+X4+X5<=50%(100,000) X1+X2+X4>=30%(100,000) X1+X2+X4>=40%(Z)

X1 X2 X3 X4 X5 20338.98 20338.98 29661.02 0.00 29661.02 9500.00 8000.00 9000.00 9000.00 9000.00 0.095 0.08 0.09 0.09 0.09 100000.00 100000.00 100000.00 100000.00 100000.00 8898.31 Objective function CONSTRAINTS 0.00 1.00 1.00 1.00 1.00 1.00 0.00 1.00 1.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 1.00 1.00 1.00 1.00 1.00 50000.00 50000.00 1.00 50000.00 50000.00 0.00 40677.97 30000.00 0.00 3559.32 3559.32 1.00 100000.00 100000.00

P100,000 in the