HW7 Questions
HW7 Questions
sybqrob.le3
TABLE 58
on a subproblem (call it
ar;;;v;
=, + I (i is ;;
setup cost or'9250 and a per-unit production cost ofg2 are rn-cu.rred. At the end of each period a per_unir holding cost
i.
p,9*
5gbproblem
.
rtsiand
le optimal
I when we ,blem 5 of by choos-
opumat sotution to subproblem I lcall it SOLI) iris xl _ ;r. where.rr< i. For some numberc( 0 < c < I)..(SOL0) C)SOLI will have the following three properties: ' +
i1
1. lHint: Suppo;
(l a i c
equal i.
1t
.c)SOLt will
sub_
at
of $1 is incurred. a Solve for the cost-minimizing production schedule . usrng tle lbllowing decisioo variables: _r, = unil.s pro_
_c(SOL0) problem l.
(l -
b . Solve the cost-minimiziDg produclion schedule -for usng Oe following variables: y,.s difined in part and x" = number_of unils produced during period i 1a.1 sat_ to lsty penod , demand.
mon*r = I if -y 1f:9 dunng period ,.r and J.,, otherwise. *trs *" iioouced 9*", /, -_ 0
o Options
hen a fea-
Explain how this result can help when we graphically solve lnoch-and-boutrd problems.l
to solve?
less time
nl
z-yalue
During the next five periods, the demands h Table 5g be met on time. At the beginning of period l, the
tnyu.": of why rhe part (b) for1..,9i:. "xptanarion mutatton is solved faster than lhe pan (a) formuiaiion.
lor the LP
;asible inwe solved = 35, on
e.4
IC
arl
lr_"iir!
.,
maxz:2xt + x.z
s-t.
x1, .r2
5x1 )_ 2x2
x1
<g x233
0; x1 integer
subproblem 2 is the candidate sorution z 3. x1 0, x2 3. we now solve suuproir". ouhin the can_ didale sorution z 1,,, = t. x, = ).me,-varr; r canoraare e,._ ceeds the z-vatue for-the subprobiem c-aiaut", .o ,uip.o from and-the subprobrem 3 caadidate (" ""#'i" "ri.irated = ::::id:*.,j-,mixed Ip the optimal soruhon to the
As before, we begin by solving the Lp reraxation of the Ip rhe optimar solution of the LP relaxal.ion is z : j.,, i,*, = i. Because x, is ajlowed to ul nactlona, wedo nol branch on x2; if we did so, we would b'e excluding-poil;".d;lr"s between 2 and 3, and we don't want to do that. Thus, we must branch on.r1. This yields subproblems 2 and 3 in Figure 21. We, next choose to solve subproblem 2. The optimal solution to
;;il';l;;;irJ,n
",ii I,i, :'t,.r:;iis
i-a
I .4
fmgraln|llir0 pmthlns
523
In the cheapest-insertion heuristic (CIH), we begin at any city and neighbor. Then we create a subtour joining those two cities. Next, ',a,6 the subtour [say, arc (r,l)] by the combination of two arcs-1i, f) and ( not in the cwrent subtour-that will. increase the lengh ofthe subtour bv cheapest) amount. We continue with this procedure until a tour is ing this procedure begiruring with each city, we take the best tour found.
lmplicit Enumeration
In a 0-l IP, implicit enumeration may be used to find an optimal solution. ing at a node, create two new subproblems by (for some free variable x) straints .r, : 0 and xi : l. If the best completion of a node is feasible, then
branch on the node. If the best completion is feasible and better than the date solution, then the curent node yields a new LB (in a max problem) and timal. If the best completion is feasible and is not better than the curent tion, then the curent node may be eliminated from consideration. Ifat a given is at least one constaint that is not satisfied by any completion ofthe node, cannot yield a feasible solution nor an optimal solution to the IP.
ecl
&e
eac
Fhe s,
m onro
, lmin
travel
Cub
agent p Sutt
Tim
1 2
Find the optimal tableau for the IP's linear programming relaxation.
If
the nul
are
the most
ables in the optimal solution assume integer values, we have found an optimal the IP; otherwise, proceed to step 2.
vi
Pick a constraint in the LP relaxation optimal tableau whose righthand the ftactional part closest to ]. This conshaint will be used to generate a cut.
Step Step
For the conshaint identified in step 2, wdte its right-hand side and each where 0 ="f < 1. ablet coefrcient in the form [r]
2a
TABLE
+l
Step
2b
as
I
2
3
TABLE
Dist ct
I
2
3
RItIIEt]l, PROBLIll'lS
Group A
4
5
suppose that a
Explain how you would use inleger programming and to solve the follo!4lnt optimization prcblem. (ffirr. Approximate f a114 y2 b!
lBased lBased
o
o
clllPTfl
lllbger Pmumlllmillg
closest
1
alc in ele /r iS
llest (or
s.t-
TABLE 9'
Dislrict
I
2
3
School
tlish i
I
0.5
fiish
School 2
r apply-
The Transyllania Olympic Cymnasrics Team consists of six people. Transylvania must choose three people to enter both the balarce beam and floor elrcrcises. They must also enter a total offour people in each event. The score that irdividual g]4nnasl can attain in each event is shown "66tr in Table 89. Formulate an [P ro maximize rhe rotal score aMined by the Transylvania gymnasts.
3-
2 t.'7 0.8
0.8
1.3 1.5
4
5
0.4
0.6
branch-
41 6 court decision
gh school
ing
conneed not
has stated that the enrollment of each in Metropolis must be at least 20 percenr black. fte numbers of black and white high school srudents in
eaoh
TABLE 92
nt candiay be op-
(in miles) that a student ir each distdct must travel to each high school is shown in Table 91. School 66ud policy requires that all the students in a giver district n69nd the same school. Assuming that each school must
The distance
have an
of the
cityt
RS
BS
4
3
DE
ST TS
the node
lhat will minimize the total distance that Metropolis students must havel to high school.
z
2
The Cubs are trying to determine which ofthe following te agent pitchers should be signed: Rick Sutcliffe (RS), Bruce
If
all vari.
Suttn (BS), Dennis Eckersley (DE), Steve Trout Tim Stoddard (TS). The cost of signing each pitcher 6T), and the number of victories each pitcher will add to the oubs are shown in Table 92. Subject to the following
solution to
Fstrictions, the Cubs want to sign the pitchers who will add '.ile most victories to the team.
a t c d
slgll
If DE
rd side has
BLE 89
t each vari-
State
ients
8.8 9.4
9.2 7.5 8.1
9-1
computer plus a delivery charge of $4,000. Vendor 3 chaiges $250 per computer plus a delivery charge of $6,000. Vendor I will sell the university at most 500 computem; vendor 2, at most 900; and vendor 3, at most 400. Formulate aIl IP to minimize the cost ofpurchasing the needed computerc.
8.6
m?Lxz=3tr+x2
on, with
the
s.t, 8
5xt + x2
2x1
* x238
12
xr, x2 > 0; rt, x2 ir'teget Use the branch-and-bound method to solve the follow-
vadabls ale
80
'70
ing IP:
mitrz:3x1 *x2
30
5
s.t.
2.xr
90
50 60
l0
40
30
x2
,,r#.ili1&q4
s.t.
. rz and!
"'
xt, )b
Jr2 = l0 2\+5x2<30
,l +
>
0; xr, x2 i,,tqBet
RsYie[ Pmblelns
553