You are on page 1of 4

Universidad Nacional Mayor de San Marcos

Chemical Engineering Optimization


Final Exam
Student name: Villanueva Alfaro Fernando ID:18070119 Date:

Solve the problems using Mathcad if it is required:

1. Minimize the function f(x) = 4x12 + x22 - 2x1x2 starting at x0 = [1.6 2]T also show the graphical
solution.
𝜕
𝑓(𝑥) = 8𝑥1 − 2𝑥2 → 𝑓(1.6; 2) = 8(1.6) − 2(2) = 8.8
𝜕𝑥1

𝜕
𝑓(𝑥) = 2𝑥2 − 2𝑥1 → 𝑓(1.6; 2) = 2(2) − 2(1.6) = 0.8
𝜕𝑥2

8𝑥1 − 2𝑥2
𝛻𝑓(𝑥 ) = [ ]
2𝑥2 − 2𝑥1
8 −2
𝐻 (𝑥 ) = [ ]
−2 2
1 1
𝐻 (𝑥 )−1 = [6 6]
1 2
6 3
0,167 0,167
𝐻 (𝑥 )−1 = [ ] con α=0
0,167 0,667
𝑥 1 − 𝑥 0 = −𝐻 (𝑥 0 )−1 𝛻𝑓(𝑥 0 )
0,167 0,167 8.8 1.6
−[ ][ ] = −[ ]
0,167 0,667 0.8 2
Entonces:
1.6 −1.6
𝑥1 − [ ]=[ ]
2 2
0
𝑥1 = [ ]
0
𝑓 (𝑥 1 ) = 0

Para f(x) minimo:

𝑓(𝑥 1 ) = 4𝑥12 + 𝑥22 − 2𝑥1 . 𝑥2 = 0


2. Use the canonical method for LP and

2𝑥1 + 3𝑥2 + 𝑆3 + 𝐴4 = 6
𝑥1 + 7𝑥2 − 𝑆5 + 𝐴6 = 4
𝑥1 + 𝑥2 = 3
La función objetivo:
𝑓 = 𝑥1 + 𝑥2 + 0𝑆3 + 𝑀𝐴4 + 0𝑆5 + 𝑀𝐴6

3. Use the Lagrange multiplier to


Minimize: f(x) = 4x12 + 5x22
Subject to: h(x) = 2x1 + 3x2 - 6 = 0

𝐿(𝑥, λ) = 4𝑥21 + 5𝑥22 + λ(2𝑥1 + 3𝑥2 − 6)

𝜕𝐿(𝑥, λ)
= 8𝑥1 + 2λ = 0
𝜕𝑥1
𝜕𝐿(𝑥, λ)
= 10𝑥2 + 3λ = 0
𝜕𝑥2
𝜕𝐿(𝑥, λ)
= 2𝑥1 + 3𝑥2 − 6 = 0
𝜕λ

−λ
𝑥1 =
4
−3λ
𝑥1 =
10
En la ecuacion:
−λ −3λ
2( ) + 3( )−6=0
4 10

λ∗ = −4,286
𝑥1∗ = 1.071
𝑥2∗ = 1.286

4. For Mixed Integer Linear Programming (MILP): Branch-Bound methods


5. In optimal heat exchanger in S-10 solve Equation 12 and 13:

to obtain the optimal values of hi, ho, Ao, and ∆t2, without the explicit calculation of ω.

6. (a) Use the following chemical mechanisms and solve its initial conditions system differential
equations for optimal calculation of chemical reactor, S11:

(b) Solve the boundary conditions system of differential equations, applicable for optimal
calculation of chemical reactor:
7. Define redundant variable in optimizing process plant optimization.

Se tiene en cuenta que si alguna de las varibles medidas dejara de estarlo, podria ocurrir que fuese
calculable a partir del resto de las varibles medidas. Se calificaran a dichas varibles medidas como
redundantes. El tener estas medidas redundantes hace possible la deteccion de errores muy
grandes de medidas y mejora la calidad de los resultados, esto conyeba a que se requieran mayor
cantidad de varibles redundantes con las varibles no medidas.

You might also like