{"id":44589,"date":"2023-02-07T10:07:34","date_gmt":"2023-02-07T15:07:34","guid":{"rendered":"https:\/\/engineering.jhu.edu\/ams\/?post_type=news&#038;p=44589"},"modified":"2023-02-07T10:52:11","modified_gmt":"2023-02-07T15:52:11","slug":"taking-a-swing-at-better-baseball-scheduling","status":"publish","type":"news","link":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/","title":{"rendered":"Taking a swing at better baseball scheduling\u00a0\u00a0"},"content":{"rendered":"<p><span data-contrast=\"none\">It may still feel like the dead of winter in many places in the U.S., but baseball\u2019s more than 500 million American fans are already looking forward to spring and their first forays to their local ballparks. While players ramp up their off-season workouts in preparation for the 2023 season, a team of computer scientists and mathematicians is working behind the scenes on one of the sport\u2019s most challenging problems: scheduling games for professional teams.<\/span><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Just ask Nick Lu. A third year double major in major and applied mathematics and statistics and computer science, he is part of a team of Hopkins students tackling the creation of a schedule for members of the <a href=\"https:\/\/frontierleague.com\/landing\/index\">Frontier League<\/a>, a professional independent baseball league with 16 teams in the northeastern and midwestern parts of the United States, well as eastern Canada.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Lu became interested in baseball scheduling after conversations and classes with <a href=\"https:\/\/engineering.jhu.edu\/ams\/faculty\/donniell-fishkind\/\">Donniell Fishkind<\/a>, an associate research professor in the <a href=\"https:\/\/engineering.jhu.edu\/ams\/\">Department of Applied Mathematics and Statistics<\/a> who has been working with students on baseball scheduling for almost 10 years.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In Fishkind\u2019s <\/span><span data-contrast=\"none\">Intro to Optimization I and II courses, Lu discovered <\/span><span data-contrast=\"auto\">what he describes as the &#8220;beauty of organizing formulas to fit specific criteria,\u201d and was eager to be part of the scheduling effort. The team is supervised by <\/span><span data-contrast=\"none\">Fishkind, <a href=\"https:\/\/www.cs.jhu.edu\/faculty\/anton-dahbura\/\">Anton Dahbura<\/a>, a professor in the <a href=\"https:\/\/www.cs.jhu.edu\">Department of Computer Science<\/a>, and <\/span><span data-contrast=\"auto\">alumnus Eli Katz &#8217;20, a <\/span><span data-contrast=\"none\">data scientist at <\/span><a href=\"https:\/\/bigleagueadvantage.com\/\"><span>Big League Advantage<\/span><\/a><span data-contrast=\"none\"> and <\/span><span data-contrast=\"auto\">project manager of the Johns Hopkins Baseball Scheduling Research Team. Katz\u00a0 relates to students like Lu because he was a member of the JHU Baseball Scheduling Team beginning in his sophomore year at Johns Hopkins. He now helps recruit and train new student schedulers. <\/span><span data-contrast=\"none\">\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">\u201cBaseball scheduling is such an interesting puzzle to solve, both mathematically and practically when it comes to the desires of each league. I want to share that enthusiasm with the students and get them involved in an enriching and hands on operations research experience,\u201d said Katz.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Lu appreciates the opportunity to work with Katz, who understands the scheduling team\u2019s experience from both a professional and student perspective.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">&#8220;One thing I learned from Eli Katz is the ability to identify where the code may go wrong and know where to fix the problem if the result is not satisfactory,&#8221; said Lu.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Lu and his five-person team use MATLAB, a programming language that allows for the plotting of many different functions and data\u2014as well as the implementation of algorithms\u2014to enter variations as mathematical expressions to represent specific constraints imposed by the professional independent baseball league.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Each baseball team submits a list of requests to the league, which may include anything from playing on their home field on Father&#8217;s Day to hosting a preferred visiting team at home for the opening series. In addition to implementing various requests, <\/span><span data-contrast=\"none\">the scheduling team ensures that the baseball team\u2019s schedule has a close-to-equal balance of home and away games.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Maintaining equilibrium while fulfilling multiple requests at once has been a formidable challenge.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Balancing the relative importance of each request makes fulfilling numerous requests at once a challenge, Lu said.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Lu said that the Frontier league presented more than 20 constraints (priorities such as various dates, locations, intervals, and other special requests), and for each constraint, three loops, <\/span><span data-contrast=\"none\">a sequence of instructions that is continually repeated until a certain condition is reached,<\/span> <span data-contrast=\"auto\">were coded to represent a specific requirement. He said that it usually takes up to three days to optimize a schedule running the requirements using MATLAB on a supercomputer. However, the team often received additional league requirements, potentially prolonging the process.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Finally, after almost a month of work, Lu\u2019s team submitted eight options to the Frontier League, which approved the team\u2019s 7<\/span><span data-contrast=\"auto\">th<\/span><span data-contrast=\"auto\"> submission. Even so, the team plans to continue working\u00a0<\/span><span data-contrast=\"auto\">on the league\u2019s schedule, analyzing the advantages and costs of changing the number of requests permitted for each baseball team.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">\u201cMy first experience working with the Hopkins Baseball Scheduling Research Team was quite enjoyable, and I am looking forward to continuing to work on scheduling for a variety of other leagues in the future,\u201d said Lu.\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n","protected":false},"template":"","class_list":["post-44589","news","type-news","status-publish","hentry","news_categories-student-experience"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Taking a swing at better baseball scheduling\u00a0\u00a0 | Department of Applied Mathematics and Statistics<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Taking a swing at better baseball scheduling\u00a0\u00a0 | Department of Applied Mathematics and Statistics\" \/>\n<meta property=\"og:description\" content=\"It may still feel like the dead of winter in many places in the U.S., but baseball\u2019s more than 500 million American fans are already looking forward to spring and&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/\" \/>\n<meta property=\"og:site_name\" content=\"Department of Applied Mathematics and Statistics\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-07T15:52:11+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Taking a swing at better baseball scheduling\u00a0\u00a0 | Department of Applied Mathematics and Statistics","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/","og_locale":"en_US","og_type":"article","og_title":"Taking a swing at better baseball scheduling\u00a0\u00a0 | Department of Applied Mathematics and Statistics","og_description":"It may still feel like the dead of winter in many places in the U.S., but baseball\u2019s more than 500 million American fans are already looking forward to spring and&hellip;","og_url":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/","og_site_name":"Department of Applied Mathematics and Statistics","article_modified_time":"2023-02-07T15:52:11+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/","url":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/","name":"Taking a swing at better baseball scheduling\u00a0\u00a0 | Department of Applied Mathematics and Statistics","isPartOf":{"@id":"https:\/\/engineering.jhu.edu\/ams\/#website"},"datePublished":"2023-02-07T15:07:34+00:00","dateModified":"2023-02-07T15:52:11+00:00","breadcrumb":{"@id":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/engineering.jhu.edu\/ams\/news\/taking-a-swing-at-better-baseball-scheduling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/engineering.jhu.edu\/ams\/"},{"@type":"ListItem","position":2,"name":"News","item":"https:\/\/engineering.jhu.edu\/ams\/news\/"},{"@type":"ListItem","position":3,"name":"Taking a swing at better baseball scheduling\u00a0\u00a0"}]},{"@type":"WebSite","@id":"https:\/\/engineering.jhu.edu\/ams\/#website","url":"https:\/\/engineering.jhu.edu\/ams\/","name":"Hopkins Applied Math & Statistics","description":"Department of Applied Mathematics and Statistics","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/engineering.jhu.edu\/ams\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Department of Applied Mathematics and Statistics","distributor_original_site_url":"https:\/\/engineering.jhu.edu\/ams","push-errors":false,"_links":{"self":[{"href":"https:\/\/engineering.jhu.edu\/ams\/wp-json\/wp\/v2\/news\/44589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engineering.jhu.edu\/ams\/wp-json\/wp\/v2\/news"}],"about":[{"href":"https:\/\/engineering.jhu.edu\/ams\/wp-json\/wp\/v2\/types\/news"}],"wp:attachment":[{"href":"https:\/\/engineering.jhu.edu\/ams\/wp-json\/wp\/v2\/media?parent=44589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}