HW 7 Solutions
HW 7 Solutions
Pg2=2pu
Pg1
1 2
y12 =-j10
y14 =-j10 y13 =-j10
Pd2=1pu y23 =-j10
y24 =-j8
y34 =-j10
4 3
Pg4=1pu Pd3=4pu
Problem A1: Provide the objective function and all primal decision
and auxiliary variables and dual variables at the optimal solution.
Also identify the settlement, i.e., identify how much each load pays
and how much each generator pays.
Solution:
Objective: -17.0$
Primal decision and auxiliary variables:
pg1 1.000000
pg2 2.000000
1
pg4 1.000000
pd2 2.000000
pd3 2.000000
pb1 -0.013889
theta4 0.001389
pb2 0.263889
theta2 -0.026389
pb3 0.486111
theta3 -0.075000
pb4 0.763889
pb5 0.750000
pb6 -0.222222
Dual variables:
c8 1211.000000
c9 1211.000000
c10 1211.000000
c11 1211.000000
c12 -96.000000
c16 -43.000000
c19 -89.000000
c20 -11.000000
All other dual prices in the range 1-33 are 0.
Settlement:
2
pg2 1.870000
pg4 1.130000
pd2 2.000000
pd3 2.000000
pb1 -0.050000
theta4 0.005000
pb2 0.300000
theta2 -0.030000
pb3 0.450000
theta3 -0.075000
pb4 0.800000
pb5 0.750000
pb6 -0.280000
All other variables in the range 1-15 are 0.
Dual variables:
c1 0.000000
c4 -154.800000
c8 1251.850000
c9 1211.000000
c10 1290.550000
c11 1254.000000
c12 -55.150000
c19 -89.000000
c20 -90.550000
c27 -154.800000
All other dual prices in the range 1-33 are 0.
Settlement:
Problem B1:
3
Max z = 5x1 + 2x2
s.t. 3x1 + x2 ≤ 12
x1 + x2 ≤ 5
x1, x2, ≥ 0; x1, x2 integer
Solution to B1:
4
P4: Max z = 5x1 + 2x2
s.t. 3x1 + x2 ≤ 12
x1 + x2 ≤ 5
x2 ≥ 2
x1 ≥ 0
x1, x2, ≥ 0
z*=19, x1*=3, x2*=2
The objective function value is not as good as that of our best
feasible solution and therefore we may stop pursuing this branch.
5
P7: Max z = 5x1 + 2x2
s.t. 3x1 + x2 ≤ 12
x1 + x2 ≤ 5
x2 ≤ 1
x1 ≥ 4
x1, x2, ≥ 0;
z*=20, x1*=4, x2*=0
Which is the same solution as that obtained in P2. All possible
branches have been considered, therefore the solution to P2 becomes
the solution to the problem: z*=20, x1*=4, x2*=0.
Problem B2:
Max z = 3x1 + x2
s.t. 5x1 + 2x2 ≤ 10
4x1 + x2 ≤ 7
x1, x2,≥ 0; x2 integer
6
s.t. 5x1 + 2x2 ≤ 10
4x1 + x2 ≤ 7
x1, x2,≥ 0;
z*=5.667, x1*=1.333, x2*=1.667
Force x1=1.
Force x2=2.
7
x1≤1
x2≥3
x1, x2,≥ 0;
z*=5.4, x1*=0.8, x2*=3
P4 is not feasible but it has a better bound than our best bound so far
(of 5.0). So we need to branch further on P4. Force x1 to 1.
8
x1, x2,≥ 0;
This problem is infeasible, and so we are done. There are two
answers:
From P3: z*=5.0, x1*=1, x2*=2
From P6: z*=5.0, x1*=0, x2*=5