{"title":"Integer Linear Programming: Spreadsheet Solver Excellence Without Excel","authors":"Evan Barlow","doi":"10.1287/ited.2022.0068","DOIUrl":null,"url":null,"abstract":"Because of the limitations on problem size with the built-in optimization solver in Microsoft Excel, other software applications are required to illustrate the power of integer linear programming in spreadsheets. The built-in linear optimization solver in LibreOffice Calc allows much larger problems. In this paper, we build a spreadsheet in LibreOffice Calc to solve sudoku problems and a simple generalization that further illustrates the power of integer linear programming in spreadsheets. The generalization we consider, n-doku, also introduces an interesting puzzle that includes, as a special case, a union of multiple sudoku puzzles. Besides further demonstrating the power of integer linear programming in spreadsheets, we use the n-doku solutions to develop optimization intuition and to, more generally, foster critical thinking. We use this spreadsheet in the classroom to transition from continuous to categorical decisions, emphasizing the idea of one-hot encoding. We also illustrate multiple optima and add preferences to sudoku puzzles as a way introduce multiobjective optimization. Supplemental Material: The online supplement is available at https://doi.org/10.1287/ited.2022.0068 .","PeriodicalId":37137,"journal":{"name":"INFORMS Transactions on Education","volume":"455 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"INFORMS Transactions on Education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1287/ited.2022.0068","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Social Sciences","Score":null,"Total":0}
引用次数: 0
Abstract
Because of the limitations on problem size with the built-in optimization solver in Microsoft Excel, other software applications are required to illustrate the power of integer linear programming in spreadsheets. The built-in linear optimization solver in LibreOffice Calc allows much larger problems. In this paper, we build a spreadsheet in LibreOffice Calc to solve sudoku problems and a simple generalization that further illustrates the power of integer linear programming in spreadsheets. The generalization we consider, n-doku, also introduces an interesting puzzle that includes, as a special case, a union of multiple sudoku puzzles. Besides further demonstrating the power of integer linear programming in spreadsheets, we use the n-doku solutions to develop optimization intuition and to, more generally, foster critical thinking. We use this spreadsheet in the classroom to transition from continuous to categorical decisions, emphasizing the idea of one-hot encoding. We also illustrate multiple optima and add preferences to sudoku puzzles as a way introduce multiobjective optimization. Supplemental Material: The online supplement is available at https://doi.org/10.1287/ited.2022.0068 .