首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写BANA201B、Python语言程序代做
项目预算:
开发周期:
发布时间:
要求地区:
BANA201B Prof. John Turner
Homework 2
Please read “Homework Formatting Instructions”
Be sure to read the description below carefully
The National Basketball Association (NBA) is composed of 30 teams which are divided into two
conferences of three divisions with five teams each. NBA games are divided into regular season
and playoffs. The NBA regular season follows an asymmetrical round-robin tournament
(otherwise known as uneven paired competition) format where the number of games between any
two teams depends on their conference and divisional affiliations. In an NBA season each team
plays 82 games, 41 at home and 41 on the road; in total, there are 1230 games in an NBA season.
Each regular season takes approximately 180 days, spanning from mid-October to mid-April.
Games are scheduled throughout the day, every single day except the All-star game break which
is a one-week period in which the NBA All-star game as well as other events (e.g., slam dunk
contest, three-point shooting contest, rising stars match, etc.) take place. Holidays (e.g., Christmas
and MLK day) and weekends are more popular times to watch NBA games. Multiple national and
local TV channels air the NBA games, including ESPN, TNT, ABC, and NBA-TV.
Scheduling the entire 1230-game season and assigning games to dates, arenas, and TV channels is
an extremely challenging task. Matt Winick, Senior Vice President of Scheduling and Game
Operations is the main person responsible for producing the NBA regular season schedule. Matt
has decided to break the scheduling task into two parts: i) for each four-day period, selecting a set
of games that should be played, and then ii) assigning the selected games to specific days within
this 4-day period. Matt’s wishes to produce a schedule that maximizes the revenue generated from
airing TV commercials.
In this assignment, you will help Matt produce the NBA game schedule for a four-day time period
which spans Thursday, February 4 through Sunday, February 7. The following table liststhe games
Matt has selected to be played during this time period, as well as popularity ratings for each game
on a scale of 0 to 2, with 0 being the least popular and 2 being the most popular. The popularity
rating is determined by the ranking of the host and guest teams, location, and overall popularity of
those franchises.
Matt estimates that the NBA’s revenue for each game is directly related to its popularity rating. In
general, games played on Thursday generate $1 million in revenue for each popularity point,
Friday games generate $1.5 million in revenue for each popularity point, and weekend games
generate $2 million in revenue for each popularity point. However, since Sunday, February 7th
coincides with the National Football League (NFL) Super Bowl, the games played on that Sunday
will generate only $0.5 million in revenue for each popularity point. As an example, the first game
BANA201B Prof. John Turner
(Celtics at Lakers) in the table below would generate $2M in revenue if played on Thursday, $3M
if played on Friday, $4M if played on Saturday, and $1M if played on Sunday.
Game Abbreviation Popularity Rating
1 Boston Celtics @ LA Lakers BOS – LAL 2
2 Atlanta Hawks @ LA Clippers ATL – LAC 0.75
3 Portland Trail Blazers @ Milwaukee Bucks POR – MIL 1.25
4 Denver Nuggets @ Washington Wizards DEN – WAS 0.6
5 Utah Jazz @ Brooklyn Nets UTA – BKN 1.5
6 Indiana Pacers @ Dallas Mavericks IND – DAL 1.1
7 Charlotte Hornets @ New Orleans Pelicans CHA – NOP 1.2
8 New York Knicks @ Houston Rockets NYK – HOU 0.6
9 Toronto Raptors @ Phoenix Suns TOR – PHX 1
10 Chicago Bulls @ Cleveland Cavaliers CHI – CLE 0.45
11 Miami Heat @ Orlando Magic MIA – ORL 1.1
12 Detroit Pistons @ San Antonio Spurs DET – SAS 0.5
13 Sacramento Kings @ Golden State Warriors SAC – GSW 1.25
14 Memphis Grizzlies @ Oklahoma City Thunder MEM – OKC 0.75
15 Philadelphia 76ers @ Minnesota Timberwolves PHI – MIN 1.3
16 Toronto Raptors @ LA Lakers TOR – LAL 1.9
17 Phoenix Suns @ Golden State Warriors PHX – GSW 1.4
18 LA Clippers @ Sacramento Kings LAC – SAC 0.9
19 Utah Jazz @ Washington Wizards UTA – WAS 1.1
20 New York Knicks @ San Antonio Spurs NYK – SAS 0.8
BANA201B Prof. John Turner
The number of game slots for each day during this four-day period is given in the table below:
Date Game slots available
Thursday, February 4 5
Friday, February 5 6
Saturday, February 6 6
Sunday, February 7 3
Matt must consider the following managerial constraints when producing the schedule:
i. Each team should play at most one game each day.
ii. At least one game with a popularity rating of 1.25 or higher should be assigned to each
day.
iii. Due to using the same arena (i.e., Staples Center) the two Los Angeles teams, Lakers and
Clippers, cannot host a game on the same day.
iv. Because of Super Bowl, Sunday cannot have a game with popularity rating above 1.4 (it is
okay to have a game with popularity rating of exactly 1.4 on Sunday).
v. Continuing their road trip from the days prior to this 4-day block, the New York Knicks
and Utah Jazz will need to play the rest of their road games as back-to-back games on
Thursday and Friday, with no games on Saturday and Sunday to have time to get back to
their home cities for their Monday home games.
Given the above information, please answer the following questions:
1. Help Matt formulate the problem of scheduling games during the four-day period while
maximizing revenue. Explicitly write down your decision variables, the objective function,
and constraints. What kind of optimization problem have you defined?
2. Solve this problem using Python/Pyomo and Gurobi.
a. Write code to represent the model in Python/Pyomo and solve it with Gurobi. With
your report, include a pdf generated by printing the Jupyter Notebook to pdf after
running all parts of the notebook (so the pdf includes both your code and the output
from the code, as described in the “Homework Formatting Instructions” document).
b. Which games are assigned to each of the 4 days? What is the maximum revenue?
3. Matt is notified by the NBA commissioner about a new restriction on the number of back to-back games (i.e., a team plays games on two consecutive days, e.g., Thursday and
Friday). According to this new restriction and in order to have equity in the number of
back-to-back games among all the teams throughout the season, Matt cannot assign back to-back games for the following two teams during the four-day time period: Phoenix Suns
BANA201B Prof. John Turner
and Los Angeles Lakers. Explain in detail how the current formulation should be modified
to address the back-to-back games constraint. Do you expect the total revenue to be higher
or lower than in your original formulation, once this constraint is added to the model?
Apply these changes and re-solve the problem. How much does the total revenue change?
4. The NBA usually selects very popular games to be broadcast on national television.
Multiple TV channels including TNT, ESPN, ABC, and NBA-TV have doubleheader or
tripleheader series, featuring two or three highly-rated games within the week. In particular,
the TNT doubleheader series, with half-time report by NBA Hall of Famers Shaquille
O’Neal and Charles Barkley, normally hosts the most popular games. The NBA wishes to
assign two highly-popular games to a TNT doubleheader on one of the days within the
four-day block from February 4th-7th. The NBA wants to make sure that if game 1 (Celtics
at Lakers) is selected, then one of the following two games, game 3 (Blazers at Bucks) or
5 (Jazz at Nets), should be included in the TNT doubleheader. Modify your formulation
from part 1 of this assignment to incorporate the doubleheader scheduling requirement.
Please describe any variables and constraints that you add or modify in your formulation.
You do not need to re-solve the problem.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写cs918 sentiment classifi...
2025-04-02
代做llp714 corporate social ...
2025-04-02
代做cs 338 – winter 2025 as...
2025-04-02
代做21797 strategic supply c...
2025-04-02
代做ee 5711: power electroni...
2025-04-02
代写llaw6055 law of internat...
2025-04-02
代写dts208tc data analytics ...
2025-04-02
代做bees2041 data analysis f...
2025-04-02
代做econ154 business statist...
2025-04-02
代写cit 596 - hw5代做留学生j...
2025-04-02
代做data driven business代写...
2025-04-02
代写envi5705 – assessment 2...
2025-04-02
代写econ154 - statistical fo...
2025-04-02
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!