BANA201B The National Basketball Association

news/2025/2/27 20:43:50/文章来源:https://www.cnblogs.com/justdoing/p/18739427

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 代 写BANA201B The National Basketball Association 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

 

Matt must consider the following managerial constraints when producing the schedule:

  1. Each team should play at most one game each day.
  2. At least one game with a popularity rating of 1.25 or higher should be assigned to each

day.

  1. 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.

  1. 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).

  1. 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?

  1. Solve this problem using Python/Pyomo and Gurobi.
  2. Write code to represent the model in Python/Pyomo and solve it with Gurobi. Withyour report, include a pdf generated by printing the Jupyter Notebook to pdf afterrunning all parts of the notebook (so the pdf includes both your code and the outputfrom the code, as described in the “Homework Formatting Instructions” document).

Which games are assigned to each of the 4 days? What is the maximum revenue?

  1. Matt is notified by the NBA commissioner about a new restriction on the number of backto-back games (i.e., a team plays games on two consecutive days, e.g., Thursday andFriday). According to this new restriction and in order to have equity in the number ofback-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 Turnerand Los Angeles Lakers. Explain in detail how the current formulation should be modifiedto address the back-to-back games constraint. Do you expect the total revenue to be higheror 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?

  1. 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 ortripleheader 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 ShaquilleO’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 thefour-day block from February 4th-7th. The NBA wants to make sure that if game 1 (Celticsat Lakers) is selected, then one of the following two games, game3 (Blazers at Bucks) or

5 (Jazz at Nets), should be included in the TNT doubleheader. Modify your formulationfrom 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.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/890821.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

2352732 项目创新

一、项目及来源 我选取的项目是一个用Java语言开发的拼图小游戏,来自https://www.cnblogs.com/get-elaina/p/17854791.html 该拼图游戏实现了拼图的打乱功能和移动功能,用户可以通过↑ ↓ ← → 键来对图片进行移动,并记录下用户所使用的步数,当用户将拼图复位后,游戏步数…

spring @conditional介绍及使用

💖简介 @Conditional 是 Spring 框架中用于条件化注册 Bean的核心注解,它允许开发者根据特定条件决定是否将某个Bean注册到 Spring 容器中。这一机制在实现多环境配置、模块化加载、动态依赖管理等场景中非常有用。 📖作用条件控制:根据预设条件(如环境变量、类路径、系…

7.1.2 AlexNet

本质和主要改进见下因为模型更大了,所以要用丢弃法做正则;\(\text{ReLu}\)则比\(\text{Sigmoid}\)更能支撑更深的网络(解决了梯度消失);最大汇聚层则让输出更大,梯度更大,训练更容易 还有一些主要区别如下步长也很大的原因也是当时的算力其实不是很够池化层更大了就允许…

学生信息管理项目更改

一、来源:原先的作品来自于大二上同寝室计科同学的期末大作业项目 二、运行环境基于intelij为运行软件,maven做框架依赖,tomacat浏览器展示,mysql数据库 运行截图由于代码较多,此处只展示部分代码 1、addStudent.jsp 点击查看代码 <%@ page language="java" …

Linux相关杂记

Windows通过ssh远程linux的Ubuntu 1.在Ubuntu上安装SSH服务 sudo apt update sudo apt insall openssh-server2.启动ssh sudo systemctl start ssh3.设置开机自启 sudo systemctl enable ssh2.获取Ubuntu的IP地址 ip a3.windows上使用SSH客户端 ssh 用户名@IP地址#####愿你一寸…

笔记本外接显示器,左右位置设置

笔记本电脑扩展的显示器 如何左右分屏或上下分屏显示? 留意屏幕布局。 若笔记本屏幕在左而外接显示器在右,则无需调整;反之,则需用鼠标选中2号屏,按住左键拖动至1号屏的左侧。

题解:P4586 [FJOI2015] 最小覆盖双圆问题

写了这么久终于过了,发篇题解记录一下。 第一次写黑题题解,写的不好请见谅。 目录本题思路 三点定圆 最小圆覆盖 关于最小圆覆盖时间复杂度 回到本题 二分法划分点集 总时间复杂度 最小覆盖双圆问题代码本题思路 首先,这道题叫做最小覆盖双圆问题,这道题涉及到一个叫做最小…

sed undefined label on MacOS, FreeBSD

A quick fix is to prepend your string expression with an empty string: For example: instead of sed -i s/foo/bar/g text.txt write: sed -i s/foo/bar/g text.txtThis should work across different OS (Linux, MacOS, Windows) --dopexxx来源:http://stackoverflow.…

软工作业1:自我介绍+软工5问

这个作业属于哪个课程 软工23级这个作业要求在哪里 自我介绍+软工五问这个作业的目标 熟悉博客园以及Github的相关操作,了解软件工程相关内容1.自我介绍兴趣爱好:羽乒人,爱听歌,电影,楷书,行楷 编程语言:C,JAVA 目标:后端开发2.软工五问软件工程在对就业上的帮助的具体…

对“推箱子”小游戏代码的改进

一.代码来源 https://www.cnblogs.com/heyu123/p/14844284.html 二.运行环境 DEV--C++ 三.原代码及其运行结果 原代码: int map[8][8]={{1,1,1,1,1,1,1,1},//0 空地 {1,0,0,0,1,0,0,1},//1 墙 {1,0,1,0,1,4,3,1},//3 目的地 {1,0,0,0,0,4,3,1},//4 箱子 {1,0,1,0,1,4,3,1},//5…

软件开发与创新课程设计作业——软件逆向设计

一、来源:软件工程2班李鹏飞去年的大作业`点击查看代码 #include <iostream> #include <string> #include <fstream> using namespace std;//定义客户类型 enum eGuestType // 在高版本VS中,需要用enum class,在低版本的vs中,直接用enum也可以 {e_member…

LVI_SAM 虚拟机安装复现(一)

0. 前言 高能警告:LVI_SAM 的安装步骤是繁琐的,一个坑接着一个坑,请预留48+小时的安装时间,和80%以上的san值。非战斗人员请尽快撤离。 预备知识:虚拟机安装步骤,ROS基本概念,Makefile工作原理 没有预备知识的话,也没关系,本文也不会给你解释的( 本文是第一大步骤,即…