Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
Libraries:
Datasets
pandas
License:
IndustryOR / IndustryOR.json
tangzhy's picture
Upload IndustryOR.json
bd09345 verified
raw
history blame
130 kB
{"en_answer": "3050.0", "difficulty": "Easy", "en_question": "The Zhang family has 6 children, Harry, Hermione, Ron, Fred, George, and Ginny. The cost of taking Harry is $1200, Hermione is $1650, Ron is $750, Fred is $800, George is $800, and Ginny is $1500. Which children should the couple take to minimize the total cost of taking the children?\n\nThey can take a maximum of 4 children on the upcoming trip.\n\nGinny is the youngest, so the Zhang family will definitely take her.\n\nIf the couple takes Harry, they will not take Fred because Harry doesn't get along with him.\n\nIf the couple takes Harry, they will not take George because Harry doesn't get along with him.\n\nIf they take George, they must also take Fred.\n\nIf they take George, they must also take Hermione.\n\nAlthough this will cost them a lot of money, the Zhang family has decided to take at least three children.", "question_type": "IP"}
{"en_answer": "135000.0", "difficulty": "Easy", "en_question": "The Li family plans to invest their retirement fund in commercial real estate. Property 1 has an annual income of $12,500, Property 2 has an annual income of $35,000, Property 3 has an annual income of $23,000, and Property 4 has an annual income of $100,000. The decision to be made is whether to buy or not buy each property, not the quantity, as there is only one property per property. Help them decide which properties to purchase to maximize their annual income.\nProperty 1 costs $1.5 million, Property 2 costs $2.1 million, Property 3 costs $2.3 million, and Property 4 costs $4.2 million. The Li family's budget is $7 million.\n\nIf they purchase Property 4, then they cannot purchase Property 3.", "question_type": "IP"}
{"en_answer": "30400.0", "difficulty": "Easy", "en_question": "A farmer needs to decide how many cows, sheep, and chickens to raise in order to maximize profit. The farmer can sell cows, sheep, and chickens for $500, $200, and $8 respectively. The feed costs for each cow, sheep, and chicken are $100, $80, and $5 respectively. Profit is the difference between the selling price and the feed cost. Cows, sheep, and chickens produce 10, 5, and 3 units of manure per day respectively. Due to limited time for farm employees to clean the farm, they can clean a maximum of 800 units of manure per day. Additionally, due to the limited size of the farm, the farmer can raise a maximum of 50 chickens. Furthermore, the farmer must have at least 10 cows to meet customer demand. The farmer must also have at least 20 sheep. Finally, the total number of animals cannot exceed 100.", "question_type": "MIP"}
{"en_answer": "23000.0", "difficulty": "Easy", "en_question": "A company wants to hire new employees for their team. The salary requirements of candidates A, B, C, D, and E are $8100, $20000, $21000, $3000, and $8000 respectively. They need to decide whether to hire each candidate. The team wants to minimize the total amount paid to the candidates.\n\nThey want to hire a maximum of 3 new employees.\n\nThe team has a limited budget of $35,000. They need to ensure that the total payment to the selected candidates does not exceed the budget.\n\nThe qualifications of the five candidates are as follows:\nCandidate A: Bachelor's degree;\nCandidate B: Master's degree;\nCandidate C: PhD degree;\nCandidate D: No degree;\nCandidate E: No degree.\nThey will select at least one candidate with a master's or PhD degree.\n\nThe work experience of the five candidates is as follows:\nCandidate A: 3 years of work experience;\nCandidate B: 10 years of work experience;\nCandidate C: 4 years of work experience;\nCandidate D: 3 years of work experience;\nCandidate E: 7 years of work experience.\nThey want the total work experience of the selected candidates to be at least 12 years.\n\nDue to the similar professional skills of candidates A and E, the company will choose at most one of them.\n\nThey will hire at least 2 new employees.", "question_type": "IP"}
{"en_answer": "180000", "difficulty": "Medium", "en_question": "Tom and Jerry have just bought a farm in Sunshine Valley and are considering using it to grow corn, wheat, soybeans, and sorghum. The profit from planting one acre of corn is $1500, one acre of wheat is $1200, one acre of soybeans is $1800, and one acre of sorghum is $1600. To maximize profit, how many acres of land should Tom and Jerry use to plant each crop?\n\nThe total area of Tom and Jerry's farm is 100 acres.\n\nThe area of land used for planting corn should be at least twice the area of land used for planting wheat.\n\nThe area of land used for planting soybeans should be at least half the area of land used for planting sorghum.\n\nThe area of land used for planting wheat must be three times the area of land used for planting sorghum.", "question_type": "LP"}
{"en_answer": "1600.0", "difficulty": "Easy", "en_question": "The Lee family has 5 children, Alice, Bob, Charlie, Diana, and Ella. The cost of taking Alice is $1000, Bob is $900, Charlie is $600, Diana is $500, and Ella is $700. Which children should the couple take to minimize the total cost of taking the children?\nThey can take a maximum of 3 children together on the upcoming trip.\n\nBob is the youngest, so the Lee family will definitely take him.\n\nIf the couple takes Alice, they will not take Diana because Alice and Diana do not get along.\n\nIf the couple takes Bob, they will not take Charlie because Bob and Charlie do not get along.\n\nIf they take Charlie, they must also take Diana.\n\nIf they take Diana, they must also take Ella.\n\nAlthough it will cost them a lot of money, the Lee family has decided to take at least two children.", "question_type": "IP"}
{"en_answer": "90000.0", "difficulty": "Easy", "en_question": "The Zhang family has decided to invest in several different restaurants. Restaurant A has an annual income of $15,000, Restaurant B has an annual income of $40,000, Restaurant C has an annual income of $30,000, and Restaurant D has an annual income of $50,000. They need to decide whether to purchase each restaurant, and each restaurant can only be purchased once. Help them decide which restaurants to purchase to maximize their annual income.\nThe cost of Restaurant A is $1.6 million, the cost of Restaurant B is $2.5 million, the cost of Restaurant C is $1.8 million, and the cost of Restaurant D is $3 million. The Zhang family's investment budget is $6 million.\n\nIf they purchase Restaurant D, they cannot purchase Restaurant A.", "question_type": "IP"}
{"en_answer": "600", "difficulty": "Easy", "en_question": "A company plans to transport goods between a city and suburb and needs to choose the most environmentally friendly mode of transportation. The company can choose from the following three options: motorcycles, small trucks, and large trucks. Each motorcycle trip produces 40 units of pollution, each small truck trip produces 70 units of pollution, and each large truck trip produces 100 units of pollution. The company's goal is to minimize total pollution.\n\nThe company can only choose two modes of transportation from these three options.\n\nDue to certain road restrictions, the number of motorcycle trips cannot exceed 8.\n\nEach motorcycle trip can transport 10 units of products, each small truck trip can transport 20 units of products, and each large truck trip can transport 50 units of products. The company needs to transport at least 300 units of products.\n\nThe total number of trips must be less than or equal to 20.", "question_type": "IP"}
{"en_answer": "9800.0", "difficulty": "Easy", "en_question": "A furniture factory needs to determine how many tables, chairs, and bookshelves to produce in order to maximize profit. The factory can sell tables for $200 each, chairs for $50 each, and bookshelves for $150 each. The manufacturing costs for each table, chair, and bookshelf are $120, $20, and $90, respectively. Profit is the difference between the selling price and the manufacturing cost. Tables, chairs, and bookshelves each occupy 5, 2, and 3 square meters of warehouse space, respectively. Due to limited warehouse space, the total space cannot exceed 500 square meters. Additionally, due to market demand, the factory needs to produce at least 10 tables and 20 bookshelves. Finally, the total number of items produced by the furniture factory cannot exceed 200.", "question_type": "LP"}
{"en_answer": "38000", "difficulty": "Easy", "en_question": "A company needs to decide whether to hire some of the five candidates to join their research and development team. The salary requirements for candidates F, G, H, I, and J are $12,000, $15,000, $18,000, $5,000, and $10,000 respectively. The company wants to minimize the total amount paid to the candidates while staying within the budget.\n\nThe company has a budget of $40,000 and wants to hire a maximum of 4 new employees.\n\nThe skill levels of the candidates are as follows:\nCandidate F: Level 2\nCandidate G: Level 3\nCandidate H: Level 4\nCandidate I: Level 1\nCandidate J: Level 2\nThe company needs to ensure that the total skill level of the hired employees is at least 8.\n\nThe project management experience in years for each candidate is as follows:\nCandidate F: 1 year\nCandidate G: 2 years\nCandidate H: 2 years\nCandidate I: 5 years\nCandidate J: 4 years\nThey want the total project management experience in the team to be at least 8 years.\n\nDue to the similar technical backgrounds of candidates G and J, the company can only choose one of them at most.", "question_type": "IP"}
{"en_answer": "25000", "difficulty": "Medium", "en_question": "A toy company manufactures three types of tabletop golf toy, each requiring different manufacturing techniques. The advanced type requires 17 hours of processing and assembly labor, 8 hours of inspection, and a profit of 300 yuan per unit. The intermediate type requires 10 hours of labor, 4 hours of inspection, and a profit of 200 yuan. The basic type requires 2 hours of labor, 2 hours of inspection, and a profit of 100 yuan. There are 1000 hours of processing labor and 500 hours of inspection available. Furthermore, market forecasts indicate that the demand for the advanced type does not exceed 50 units, for the intermediate type does not exceed 80 units, and for the basic type does not exceed 150 units. Determine the company's production plan to maximize profit.", "question_type": "IP"}
{"en_answer": "734", "difficulty": "Easy", "en_question": "A factory produces three types of products: A, B, and C. Each unit of product A requires 1 hour of technical preparation, 10 hours of direct labor, and 3 kilograms of material. Each unit of product B requires 2 hours of technical preparation, 4 hours of labor, and 2 kilograms of material. Each unit of product C requires 1 hour of technical preparation, 5 hours of labor, and 1 kilogram of material. The available technical preparation time is 100 hours, labor time is 700 hours, and material is 400 kilograms. The company offers larger discounts for bulk purchases, as shown in Table 1-22. Determine the company's production plan to maximize profit.\n\nTable 1-22\n\\begin{tabular}{cc|cc|cc}\n\\hline \\multicolumn{2}{c|}{Product A} & \\multicolumn{2}{c|}{Product B} & \\multicolumn{2}{c}{Product C} \\\\\n\\hline Sales volume (units) & Profit (yuan) & Sales volume (units) & Profit (yuan) & Sales volume (units) & Profit (yuan) \\\\\n\\hline $0 \\sim 40$ & 10 & $0 \\sim 50$ & 6 & $0 \\sim 100$ & 5 \\\\\n\\hline $40 \\sim 100$ & 9 & $50 \\sim 100$ & 4 & Above 100 & 4 \\\\\n\\hline $100 \\sim 150$ & 8 & Above 100 & 3 & & \\\\\n\\hline Above 150 & 7 & \\multicolumn{2}{|c|}{} & & \\\\\n\\hline\n\\end{tabular}", "question_type": "IP"}
{"en_answer": "53", "difficulty": "Hard", "en_question": "A certain 24-hour convenience store requires a certain number of salespersons during each time period as follows: 2:00-6:00 - 10 people, 6:00-10:00 - 15 people, 10:00-14:00 - 25 people, 14:00-18:00 - 20 people, 18:00-22:00 - 18 people, 22:00-2:00 - 12 people. Salespersons work at 2:00, 6:00, 10:00, 14:00, 18:00, and 22:00, and work continuously for 8 hours. Determine the minimum number of salespersons needed to meet the requirements.", "question_type": "IP"}
{"en_answer": "20240", "difficulty": "Hard", "en_question": "A farm has 100 hectares of land and 15,000 yuan available for production development. The farm has a labor force of 3,500 person-days in autumn and winter, and 4,000 person-days in spring and summer. If the labor force is not fully utilized, they can work outside. The wage for hired labor is 2.1 yuan/person-day in spring and summer, and 1.8 yuan/person-day in autumn and winter. The farm grows three crops: soybeans, corn, and wheat, and raises cows and chickens. There is no need for additional investment when planting crops, but for animal farming, it costs 400 yuan per cow and 3 yuan per chicken. When raising cows, 1.5 hectares of land are needed to grow grass for each cow, and it requires 100 person-days of labor in autumn and winter, and 50 person-days in spring and summer. The net income per cow per year is 400 yuan. When raising chickens, no land is needed, but it requires 0.6 person-days of labor in autumn and winter, and 0.3 person-days in spring and summer. The net income per chicken per year is 2 yuan. The farm has a chicken coop that can accommodate up to 3,000 chickens, and a cowshed that can accommodate up to 32 cows. The labor requirements and net income per hectare per year for the three crops are shown in Table 1-9.\n\nTable 1-9\n\\begin{tabular}{l|c|c|c}\n\\hline \\multicolumn{1}{c}{ Crop } & Soybeans & Corn & Wheat \\\\\n\\hline Person-days required in autumn and winter & 20 & 35 & 10 \\\\\nPerson-days required in spring and summer & 50 & 75 & 40 \\\\\nNet income per hectare per year (yuan/hm^2) & 175 & 300 & 120 \\\\\n\\hline\n\\end{tabular}\n\nDetermine the farm's operating plan to maximize net income per year.", "question_type": "MIP"}
{"en_answer": "-99999", "difficulty": "Hard", "en_question": "A strategic bomber squadron has been ordered to destroy enemy military targets. It is known that there are four key areas, and destroying any one of them will achieve the objective. To complete this mission, the limits are set at $48000 \\mathrm{~L}$ of gasoline, 48 heavy bombs, and 32 light bombs. When the aircraft carries heavy bombs, it can fly $2 \\mathrm{~km}$ per liter of gasoline, and when it carries light bombs, it can fly $3 \\mathrm{~km}$ per liter of gasoline. It is also known that each aircraft can only carry one bomb at a time, and each bombing mission consumes gasoline for the round trip (when empty, it can fly $4 \\mathrm{~km}$ per liter of gasoline), as well as $100 \\mathrm{~L}$ for takeoff and landing each time. The relevant data is shown in Table 1-17.\n\nTable 1-17\n\\begin{tabular}{c|c|c|c}\n\\hline \\multirow{2}{*}{ Key Area } & \\multirow{2}{*}{ Distance from Base $/ \\mathrm{km}$} & \\multicolumn{2}{|c}{ Probability of Destruction } \\\\\n\\cline { 3 - 4 } & 450 & Per Heavy Bomb & Per Light Bomb \\\\\n\\hline 1 & 480 & 0.10 & 0.08 \\\\\n2 & 540 & 0.20 & 0.16 \\\\\n3 & 600 & 0.15 & 0.12 \\\\\n4 & 0.25 & 0.20 \\\\\n\\hline\n\\end{tabular}\n\nTo maximize the probability of destroying enemy military targets, how should the bombing plan be determined? Establish a linear programming model for this problem.", "question_type": "IP"}
{"en_answer": "4700", "difficulty": "Medium", "en_question": "A wood storage and transportation company has a large warehouse for storing and selling wood. Due to the fluctuation in wood prices each quarter, the company purchases wood at the beginning of each quarter, sells a portion within the same quarter, and stores the remaining amount for future sales. It is known that the maximum wood storage capacity of the company's warehouse is 200,000 $\\mathrm{m}^3$, and the storage cost is $(a+b u)$ yuan per $\\mathrm{m}^3$, where $a=70$, $b=100$, and $u$ is the storage time in quarters. The buying and selling prices for each quarter and the projected maximum sales volume are shown in Table 1-18.\nTable 1-18\n\\begin{tabular}{c|c|c|c}\n\\hline Quarter & Buying Price (10,000 yuan/$10,000 \\mathrm{m}^2$) & Selling Price (10,000 yuan/$10,000 \\mathrm{m}^2$) & Projected Maximum Sales Volume ($10,000 \\mathrm{m}^3$) \\\\\n\\hline Winter & 410 & 425 & 100 \\\\\nSpring & 430 & 440 & 140 \\\\\nSummer & 460 & 465 & 200 \\\\\nAutumn & 450 & 455 & 160 \\\\\n\\hline\n\\end{tabular}\n\nDue to the unsuitability of long-term wood storage, all inventory wood should be sold by the end of each autumn. Establish a linear programming model for this problem to maximize the company's annual profit.", "question_type": "LP"}
{"en_answer": "3", "difficulty": "Easy", "en_question": "A convenience store plans to open several chain stores in a new residential area in the northwest suburbs of the city. To facilitate shopping, the distance from any residential area to one of the chain stores should not exceed $800 \\mathrm{~m}$. Table 5-1 gives the newly built residential areas and the various areas within a radius of $800 \\mathrm{~m}$ of each residential area. How many chain stores should the supermarket build in the above-mentioned areas and in which areas should they be built?\nTable 5-1\n\\begin{tabular}{c|c}\n\\hline Area Code & Areas within $800 \\mathrm{~m}$ radius \\\\\n\\hline A & A C E G H I \\\\\nB & B H I \\\\\nC & A C G H I \\\\\nD & D J \\\\\nE & A E G \\\\\nF & F J K \\\\\nG & A C E G \\\\\nH & A B C H I \\\\\nI & A B C H I \\\\\nJ & D F J K L \\\\\nK & F J K L \\\\\nL & J K L \\\\\n\\hline\n\\end{tabular}", "question_type": "IP"}
{"en_answer": "37000", "difficulty": "Easy", "en_question": "A product can be processed on any one of the four devices A, B, C, or D. The setup completion cost for each device when it is activated, the unit cost of production for the product, and the maximum processing capacity for each device are known as shown in Table 5-7. How can the total cost be minimized to produce 2000 units of the product? Try to establish a mathematical model.\nTable 5-7\n\\begin{tabular}{c|c|c|c}\n\\hline Device & Setup Completion Cost (in yuan) & Production Cost (in yuan per unit) & Maximum Processing Capacity (units) \\\\\\hline A & 1000 & 20 & 900 \\\nB & 920 & 24 & 1000 \\\nC & 800 & 16 & 1200 \\\nD & 700 & 28 & 1600 \\\n\\hline\n\\end{tabular}", "question_type": "MIP"}
{"en_answer": "12", "difficulty": "Easy", "en_question": "There are three different products that need to be processed on three machine tools. Each product must be processed first on machine 1, then sequentially on machine 2 and 3. The order of processing the three products should remain the same on each machine. Assume \\( t_{ij} \\) represents the time it takes to process the \\( i \\)th product on the \\( j \\)th machine.\\n\\n**Given:**\\n\\n- \\( t_{11} = 5 \\) minutes, \\( t_{12} = 4 \\) minutes, \\( t_{13} = 3 \\) minutes\\n- \\( t_{21} = 6 \\) minutes, \\( t_{22} = 5 \\) minutes, \\( t_{23} = 4 \\) minutes\\n- \\( t_{31} = 7 \\) minutes, \\( t_{32} = 6 \\) minutes, \\( t_{33} = 5 \\) minutes\n", "question_type": "IP"}
{"en_answer": "4", "difficulty": "Hard", "en_question": "A master's student majoring in Operations Research at a certain university is required to take two math courses, two operations research courses, and two computer courses out of a total of seven courses: calculus, operations research, data structures, management statistics, computer simulation, computer programming, and forecasting. Some courses belong to only one category: calculus belongs to the math category, and computer programming belongs to the computer category. However, some courses are cross-categories: operations research belongs to both the operations research and math categories, data structures belong to both the computer and math categories, management statistics belongs to both the math and operations research categories, computer simulation belongs to both the computer and operations research categories, and forecasting belongs to both the operations research and math categories. For courses that belong to two categories, taking the course can be considered as taking one course in each category. In addition, some courses require prerequisite courses: computer simulation or data structures must be taken after taking computer programming, management statistics must be taken after taking calculus, and forecasting must be taken after taking management statistics. The question is: how many and which courses should a master's student take at minimum to meet the above requirements?", "question_type": "IP"}
{"en_answer": "43700", "difficulty": "Hard", "en_question": "Red Star Plastic Factory produces 6 types of plastic containers, with their capacities, demands, and variable costs shown in Table 5-11.\nTable 5-11\n\\begin{tabular}{c|c|c|c|c|c|c}\n\\hline Container Code & 1 & 2 & 3 & 4 & 5 & 6 \\\n\\hline Capacity $(\\mathrm{cm}^3)$ & 1500 & 2500 & 4000 & 6000 & 9000 & 12000 \\\nDemand/units & 500 & 550 & 700 & 900 & 400 & 300 \\\nVariable Cost/(\u00a5/unit) & 5 & 8 & 10 & 12 & 16 & 18 \\\n\\hline\n\\end{tabular}\n\nEach type of container is produced using different dedicated equipment, with a fixed cost of \u00a51200. When the quantity of a certain container cannot meet the demand, containers with larger capacities can be used as substitutes. How should production be organized to minimize the total cost while meeting the demand?", "question_type": "MIP"}
{"en_answer": "6800", "difficulty": "Medium", "en_question": "A production base needs to extract raw materials from warehouses A and B every day for production. The required amounts of raw materials are: at least 240 units of material A, at least 80 kg of material B, and at least 120 tons of material C. It is known that each truck from warehouse A can transport 4 units of material A, 2 kg of material B, and 6 tons of material C, with a freight cost of $200 per truck. Each truck from warehouse B can transport 7 units of material A, 2 kg of material B, and 2 tons of material C, with a freight cost of $160 per truck. The question is: to meet the production needs, how many trucks should the production base send to warehouses A and B each day to minimize the total freight cost?", "question_type": "LP"}
{"en_answer": "135.27", "difficulty": "Easy", "en_question": "A factory plans to produce three types of products, I, II, and III, which require processing on devices A, B, and C, respectively. The data is shown in Table 2-3.\nTable 2-3\n\\begin{tabular}{|c|c|c|c|c|}\n\\hline Device Code & I & II & III & Monthly Device Capacity \\\\\n\\hline A & 8 & 2 & 10 & 300 \\\\\n\\hline B & 10 & 5 & 8 & 400 \\\\\n\\hline C & 2 & 13 & 10 & 420 \\\\\n\\hline Unit Product Profit (in thousands) & 3 & 2 & 2.9 & \\\\\n\\hline\n\\end{tabular}\nHow can the factory fully utilize the capacity of the devices to maximize profit?", "question_type": "LP"}
{"en_answer": "150", "difficulty": "Easy", "en_question": "The number of drivers and crew members required for each time period of a certain day and night service bus route is shown in Table 1-17.\nTable 1-17\n\\begin{tabular}{c|c|c}\n\\hline Shift & Time & Number Required \\\\\n\\hline 1 & $6: 00 \\sim 10: 00$ & 60 \\\\\n\\hline 2 & $10: 00 \\sim 14: 00$ & 70 \\\\\n\\hline 3 & $14: 00 \\sim 18: 00$ & 60 \\\\\n\\hline 4 & $22: 00 \\sim 22: 00$ & 50 \\\\\n\\hline 5 & $22: 00 \\sim 2: 00$ & 20 \\\\\n\\hline 6 & $2: 00 \\sim 6: 00$ & 30 \\\\\n\\hline\n\\end{tabular}\n\nAssuming the drivers and crew members start working at the beginning of each time period and work continuously for eight hours, how many drivers and crew members should be equipped for this bus route at least? Provide the linear programming model for this problem.", "question_type": "LP"}
{"en_answer": "1030", "difficulty": "Easy", "en_question": "There are two coal mines, A and B, with monthly coal supplies of at least 80 tons and 100 tons, respectively. They are responsible for supplying coal to three residential areas, which require 55 tons, 75 tons, and 50 tons of coal per month, respectively. The distances between mine A and these three residential areas are 10 kilometers, 5 kilometers, and 6 kilometers. The distances between mine B and these three residential areas are 4 kilometers, 8 kilometers, and 15 kilometers. How should these two coal mines distribute the coal to the three residential areas to minimize the ton-kilometers of transportation?", "question_type": "LP"}
{"en_answer": "57", "difficulty": "Easy", "en_question": "There are two products, A and B, which both require two chemical reaction processes: one before and one after. Each unit of product A requires 2 hours for the front process and 3 hours for the back process. Each unit of product B requires 3 hours for the front process and 4 hours for the back process. There are 16 hours available for the front process and 24 hours available for the back process.\n\nFor each unit of product B produced, two units of byproduct C are generated, which do not require any additional cost. Up to 5 units of byproduct C can be sold, while the remaining units must be disposed of, with a disposal cost of $2 per unit.\n\nSelling one unit of product A yields a profit of $4, selling one unit of product B yields a profit of $10, and selling one unit of byproduct C yields a profit of $3.\n\nTo maximize the total profit obtained, establish the linear programming model for this problem.", "question_type": "LP"}
{"en_answer": "16.0", "difficulty": "Easy", "en_question": "Mary is planning her dinner for tonight. Each 100 grams of okra contains 3.2 grams of fiber, each 100 grams of carrots contains 2.7 grams of fiber, each 100 grams of celery contains 1.6 grams of fiber, and each 100 grams of cabbage contains 2 grams of fiber. How many grams of each food should Mary purchase to maximize her fiber intake?\n\nShe is considering choosing either salmon, beef, or pork as her protein source.\n\nShe is also considering selecting at least two vegetables from okra, carrots, celery, and cabbage.\n\nSalmon is priced at $4 per 100 grams, beef at $3.6, and pork at $1.8. Okra is priced at $2.6 per 100 grams, carrots at $1.2, celery at $1.6, and cabbage at $2.3. Mary has a budget of $15 for this meal.\n\nThe total intake of food is 600 grams.", "question_type": "LP"}
{"en_answer": "16.0", "difficulty": "Easy", "en_question": "A new company is opening in a small town and needs to decide how to deliver its products to customers in surrounding cities. The company can choose from three modes of transportation: cars, trucks, and buses. Each car trip generates 100 units of pollution, each truck trip generates 80 units of pollution, and each bus trip generates 110 units of pollution. The company needs to minimize the total amount of pollution.\n\nThe company can only choose a maximum of two out of the three modes of transportation.\n\nDue to restrictions on road transportation, the number of truck trips cannot exceed 10.\n\nEach car trip can transport 25 units of products, each truck trip can transport 30 units of products, and each bus trip can transport 40 units of products. The company needs to transport at least 500 units of products.\n\nThe number of bus trips should not exceed one-fifth of the total number of trips.\n\nThe total number of trips must be less than or equal to 15.", "question_type": "MIP"}
{"en_answer": "4685100", "difficulty": "Medium", "en_question": "An Italian transportation company needs to transport some empty containers from its 6 warehouses (located in Verona, Perugia, Rome, Pescara, Taranto, and La Spezia) to major national ports (Genoa, Venice, Ancona, Naples, Bari). The inventory of containers in each warehouse is as follows:\n\n| | Empty Containers |\n| :---: | :---: |\n| Verona | 10 |\n| Perugia | 12 |\n| Rome | 20 |\n| Pescara | 24 |\n| Taranto | 18 |\n| La Spezia | 40 |\n\nThe demand at the ports is as follows:\n\n| | Container Demand |\n| :---: | :---: |\n| Genoa | 20 |\n| Venice | 15 |\n| Ancona | 25 |\n| Naples | 33 |\n| Bari | 21 |\n\nThe transportation will be done by a fleet of trucks. The transportation cost for each container is directly proportional to the distance traveled by the truck, at a rate of 30 euros per kilometer. Each truck can transport a maximum of 2 containers. The distances are as follows:\n\n| | Genoa | Venice | Ancona | Naples | Bari |\n| :---: | :---: | :---: | :---: | :---: | :---: |\n| Verona | $290 \\mathrm{~km}$ | $115 \\mathrm{~km}$ | $355 \\mathrm{~km}$ | $715 \\mathrm{~km}$ | $810 \\mathrm{~km}$ |\n| Perugia | $380 \\mathrm{~km}$ | $340 \\mathrm{~km}$ | $165 \\mathrm{~km}$ | $380 \\mathrm{~km}$ | $610 \\mathrm{~km}$ |\n| Rome | $505 \\mathrm{~km}$ | $530 \\mathrm{~km}$ | $285 \\mathrm{~km}$ | $220 \\mathrm{~km}$ | $450 \\mathrm{~km}$ |\n| Pescara | $655 \\mathrm{~km}$ | $450 \\mathrm{~km}$ | $155 \\mathrm{~km}$ | $240 \\mathrm{~km}$ | $315 \\mathrm{~km}$ |\n| Taranto | $1010 \\mathrm{~km}$ | $840 \\mathrm{~km}$ | $550 \\mathrm{~km}$ | $305 \\mathrm{~km}$ | $95 \\mathrm{~km}$ |\n| La Spezia | $1072 \\mathrm{~km}$ | $1097 \\mathrm{~km}$ | $747 \\mathrm{~km}$ | $372 \\mathrm{~km}$ | $333 \\mathrm{~km}$ |\n\nWrite a mathematical program to find the transportation policy that minimizes cost and solve it using COPTPY.", "question_type": "LP"}
{"en_answer": "5004", "difficulty": "Medium", "en_question": "A project consists of the following 7 activities, with their durations (in days) as follows: $A(4), B(3), C(5), D(2), E(10), F(10), G(1)$. The following priorities are also given: $A \\\\rightarrow G, D ; E, G \\\\rightarrow F; D, F \\\\rightarrow C ; F \\\\rightarrow B$. The daily cost of work is 1000 euros; in addition, a special machinery must be rented from the start of activity $A$ to the end of activity $B$, with a daily cost of 5000 euros. Formulate this problem as a linear programming problem and solve it using COPTPY.", "question_type": "LP"}
{"en_answer": "42.1", "difficulty": "Hard", "en_question": "On Danzig Street, vehicles can park on both sides of the street. Mr. Edmunds, who lives at number 1, is organizing a party with about 30 attendees who will arrive in 15 cars. The length of the i-th car, denoted as $\\lambda_i$, is given in meters as follows:\ni 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15\n$\\lambda_i$ 4 4.5 5 4.1 2.4 5.2 3.7 3.5 3.2 4.5 2.3 3.3 3.8 4.6 3\n\nTo avoid disturbing the neighbors, Mr. Edmunds wants to arrange the parking on both sides of the street in such a way that the total length of the street occupied by his friends' cars is minimized. Please provide a mathematical programming formulation and solve this problem using AMPL.\nIf the vehicles on one side of the street cannot occupy more than 15 meters exactly, how would the program change?", "question_type": "IP"}
{"en_answer": "8800", "difficulty": "Easy", "en_question": "A certain store has formulated a purchasing and selling plan for a certain product from July to December. It is known that the store's warehouse capacity cannot exceed 500 units. By the end of June, there are already 200 units in stock. From then on, the store will purchase once at the beginning of each month. Assuming the purchase and selling prices of the product for each month are as shown in Table 1-21, how many units should be purchased and sold each month to maximize total revenue?\n\nTable 1-21\n\\begin{tabular}{c|cccccc}\n\\hline Month & 7 & 8 & 9 & 10 & 11 & 12 \\\\\n\\hline Purchase & 28 & 24 & 25 & 27 & 23 & 23 \\\\\n\\hline Sale & 29 & 24 & 26 & 28 & 22 & 25 \\\\\n\\hline Sale & 29 & 24 & 26 & 28 & 22 & 25 \\\\\n\\hline\n\\end{tabular}", "question_type": "LP"}
{"en_answer": "1360", "difficulty": "Medium", "en_question": "A trading company specializes in wholesale business of a certain kind of miscellaneous grain. The company has a warehouse with a capacity of 5000 units. On January 1st, the company has a stock of 1000 units of miscellaneous grain and a capital of 20000 yuan. The estimated prices of the grain for the first quarter are shown in Table 1-8.\nTable $1-8$\n\\begin{tabular}{c|c|c}\n\\hline Month & Purchase Price/(yuan/unit) & Selling Price $/$ (yuan $/$ unit) \\\\\n\\hline 1 & 2.85 & 3.10 \\\\\n2 & 3.05 & 3.25 \\\\\n3 & 2.90 & 2.95 \\\\\n\\hline\n\\end{tabular}\n\nThe purchased grain arrives in the same month but can only be sold in the following month, and it is required to be paid upon delivery. The company wants to have a stock of 2000 units at the end of the quarter. What buying and selling strategies should be adopted to maximize the total profit over the three months?", "question_type": "LP"}
{"en_answer": "770.0", "difficulty": "Medium", "en_question": "There are 8 villages in Tuanjie Township, with their respective coordinates and the number of elementary school students shown in Table 5-14.\n\nTable 5-14\n\\begin{tabular}{c|c|c|c}\n\\hline Village Code & \\multicolumn{2}{|c|}{Coordinate Position} & \\multirow{2}{*}{Number of Elementary School Students} \\\n\\cline {2-4} 1 & $x$ & $y$ & 60 \\\n2 & 10 & 0 & 80 \\\n3 & 12 & 3 & 100 \\\n4 & 14 & 15 & 120 \\\n5 & 16 & 13 & 80 \\\n6 & 18 & 9 & 60 \\\n7 & 8 & 6 & 40 \\\n8 & 6 & 12 & 80 \\\n\\hline\n\\end{tabular}\n\nConsidering the economies of scale for the schools, it is planned to build one elementary school in each of the two villages. Where should the two schools be built to minimize the walking distance for the elementary school students? (The walking distance for the students is calculated based on the Euclidean distance between the two villages.)", "question_type": "NLP"}
{"en_answer": "14", "difficulty": "Medium", "en_question": "Now we need to determine 4 out of 5 workers to each complete one of the four tasks. Since each worker has different skill sets, the amount of time required for each worker to complete each task is also different. The time required for each worker to complete each task is shown in Table 5-2.\nTable 5-2\n\\begin{tabular}{|c|c|c|c|c|}\n\\hline Task Time Required & $A$ & $B$ & $C$ & $D$ \\\\\n\\hline Worker & & & & \\\\\n\\hline I & 9 & 4 & 3 & 7 \\\\\n\\hline II & 4 & 6 & 5 & 6 \\\\\n\\hline III & 5 & 4 & 7 & 5 \\\\\n\\hline IV & 7 & 5 & 2 & 3 \\\\\n\\hline V & 10 & 6 & 7 & 4 \\\\\n\\hline\n\\end{tabular}\n\nTry to find a work assignment plan that minimizes the total working hours.", "question_type": "IP"}
{"en_answer": "246", "difficulty": "Medium", "en_question": "A company produces two products, microwaves and water heaters, which are manufactured in two workshops, Workshop A and Workshop B. It is known that, excluding purchased components, producing one microwave requires 2 hours of processing in Workshop A and 1 hour of assembly in Workshop B. Producing one water heater requires 1 hour of processing in Workshop A and 3 hours of assembly in Workshop B. After being produced, both products need to go through inspection and sales processes. It is known that the inspection and sales cost for each microwave is $30, and for each water heater is $50. Workshop A has 120 hours of available production time per month, with a cost of $80 per hour. Workshop B has 150 hours of available production time per month, with a cost of $20 per hour. It is estimated that an average of 80 microwaves and 50 water heaters can be sold per month in the next year. Based on these facts, the company has set the following monthly planning objectives:\n\nFirst priority: Inspection and sales costs should not exceed $4500 per month.\nSecond priority: Sell no less than 80 microwaves per month.\nThird priority: Ensure full utilization of production hours in Workshop A and Workshop B (weighting factor determined by the hourly cost ratio of each workshop).\nFourth priority: Workshop A overtime should not exceed 20 hours per month.\nFifth priority: Sell no less than 50 water heaters per month.\n\nPlease determine the monthly production plan that the company should establish in order to achieve the above objectives.", "question_type": "LP"}
{"en_answer": "165", "difficulty": "Medium", "en_question": "A company has three factories that produce the same product, and now they need to transport the products from the three factories to four customers. The supply capacity of the factories, the demand of the customers, and the unit transportation cost from the three factories to the four customers are shown in Table 3.4 (the number in the top right corner of the table is the unit transportation cost).\n\nTable 3.4\n| Factory | | | | | Customer | | | | Supply |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| | 1 | | 2 | | 3 | | 4 | | |\n| 1 | | 5 | | 2 | | 6 | | 7 | 30 |\n| 2 | | 3 | | 5 | | 4 | | 10 | 20 |\n| 3 | | 4 | | 3 | | 2 | | 13 | $\\Delta 0$ |\n| Demand | 20 | | 10 | | 45 | | 25 | | 100 |\n\nNow, a transportation plan needs to be made to meet the following requirements:\n\n$p_{1}$: The order quantity of Customer 4 must be fully satisfied first.\n\n$p_{2}$: The degree of satisfaction of the order quantity for the remaining customers should not be less than 80%.\n\n$p_{3}$: The quantity of products transported from Factory 3 to Customer 1 should be at least 15 units.\n\n$p_{4}$: Due to route restrictions, Factory 2 should preferably not be allocated to Customer 4.\n\n$p_{5}$: The degree of satisfaction of the demands of Customer 1 and Customer 3 should be balanced as much as possible.\n\n$p_{6}$: Minimize the total transportation cost.\n\nTry to establish a goal programming model for the above problem.", "question_type": "LP"}
{"en_answer": "16", "difficulty": "Hard", "en_question": "The planning of the operation and use of arrival and departure lines at large passenger railway stations in our country is mainly carried out by dispatchers, and the adjustment of the operation plan is not flexible. In the case of a fixed scale of arrival and departure lines at the station, optimizing and improving the technical operations of trains can help improve the throughput capacity of railway stations. In order to adapt to the characteristics of railway operation and improve the efficiency of station technical operations, the feasibility and real-time performance of adjusting and optimizing station operation plans need to be continuously improved. The allocation and use of approach tracks and arrival and departure lines in the throat area of the station are key links in the preparation and adjustment of operation plans, which need to be continuously studied to meet the needs of on-site operations. The arrival and departure line of a railway refers to the route where trains stop at the station, pick up and drop off passengers, and perform dispatch operations. The arrival and departure line is usually a line or multiple lines parallel or connected to the main line, used for train entry and exit, as well as train stopping and dispatching. The allocation and preparation of arrival and departure lines for railway trains refers to the reasonable arrangement of the operation plan and stopping tracks of railway trains on different arrival and departure lines based on the needs of train operation and the conditions of arrival and departure lines.\n\n### Question Description\n\nThere are multiple optimization objectives for the allocation of railway train arrival and departure lines, such as:\n- Minimizing the dwell time of trains, reducing the waiting time for trains to park, and improving the efficiency of train operation;\n- Maximizing the speed of trains, reducing the travel time of trains, and improving the efficiency of train operation;\n- Maximizing the throughput capacity of the station, allowing the station to accommodate and dispatch more trains at the same time, and meet the travel needs of more passengers;\n- Minimizing the delay rate of trains, reducing train delays, and improving the punctuality and reliability of trains;\n- Maximizing passenger satisfaction and providing a convenient travel experience for passengers;\n- Other optimization objectives.\n\nPlease model the medium-term arrangement of approach tracks in the train station based on the job shop model. Use the COPT (Cardinal Optimizer) solver to solve this problem. Output the train timetable for each train, as well as the arrival and departure timetable for each station.\n\n### Data Introduction\n\nWe assume that a total of 16 trains are operated, and model the approach tracks and track selection in Station A. A track refers to a lane in the station where trains can stop. Each station has a certain number of tracks depending on its size, used to park different trains. The station boundary refers to the boundary of the station area, which is the dividing point between entering and leaving the station. An approach track refers to the path a train takes when entering the station and reaching a track. Generally, there are multiple approach tracks connecting different tracks in the station. Trains choose different approach tracks before entering the station, and then stop on the corresponding tracks.\n\n### Train Data\nWe consider 16 trains on the line, each with different speeds and stopping information. Each column in the table represents: train number, train speed, train stop status. \"1\" indicates that the train stops at the station, \"0\" indicates that the train does not stop at the station.\n| trainNO | speed | A | B | C | D | E | F | G |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| G1 | 350 | 1 | 0 | 0 | 0 | 0 | 1 | 1 |\n| G3 | 350 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |\n| G5 | 350 | 1 | 1 | 0 | 1 | 0 | 1 | 1 |\n| G7 | 350 | 1 | 1 | 0 | 0 | 1 | 0 | 1 |\n| G9 | 350 | 1 | 1 | 0 | 0 | 0 | 1 | 1 |\n| G11 | 350 | 1 | 1 | 0 | 0 | 1 | 0 | 1 |\n| G13 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G15 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G17 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G19 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G21 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G23 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G25 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G27 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G29 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n| G31 | 300 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |\n\n### Station Data\n\nThere are 5 tracks in Station A, among which tracks I, II, and III take 4 minutes to reach the station boundary, and tracks IV and V take 5 minutes to reach the station boundary. The time to the station boundary refers to the time it takes for a train to start from a track and pass through the station boundary, including the entire process.\n\n|track|time to boundary (min)|\n|:---:|:---:|\n|I|4|\n|II|4|\n|III|4|\n|IV|5|\n|V|5|\n\nThe optional approach tracks and conflict relationships within Station A are as follows. Approach track conflict refers to the occurrence of collisions or operational impacts if two trains choose the same or intersecting approach tracks. To avoid conflicts, at any time, each approach track or any pair of intersecting approach tracks should only allow one train to use them.\n|path|from|conflict|\n|:---:|:---:|:---|\n|1|I|2, 3, 4, 5, 6, 7|\n|2|I|1, 3, 4, 5, 6, 7|\n|3|II|1, 2, 4, 5, 6, 7|\n|4|III|1, 2, 3, 5, 6, 7|\n|5|IV|1, 2, 3, 4, 6, 7|\n|6|IV|1, 2, 3, 4, 5, 7|\n|7|V|1, 2, 3, 4, 5, 6|\n\nHere we assume that the approach tracks conflict with each other pairwise, and at a more detailed level of approach track arrangement, approach tracks to the same boundary may not conflict.\n\n### Other Data\n- Since Station A is the starting station, the minimum dwell time is 20 minutes.\n- The safe interval between any two trains is 3 minutes.", "question_type": "MIP"}
{"en_answer": "146.0", "difficulty": "Hard", "en_question": "Mary is planning tonight's dinner and wants to choose either chicken, salmon, or tofu as a source of protein in addition to the vegetables she had previously considered. Chicken contains 23 grams of protein per 100 grams, salmon contains 20 grams of protein per 100 grams, and tofu contains 8 grams of protein per 100 grams. Chicken is priced at $3 per 100 grams, salmon is priced at $5 per 100 grams, and tofu is priced at $1.5 per 100 grams. Considering Mary's budget of $20, how should she choose the ingredients to maximize her protein intake? Additionally, the total weight of the food should not exceed 800 grams, and she needs to choose at least three types of vegetables and one source of protein.", "question_type": "IP"}
{"en_answer": "1000.0", "difficulty": "Easy", "en_question": "A manufacturing company needs to transport 1800 units of products from the warehouse to three different sales points. The company has four transportation options to choose from: trucks, vans, motorcycles, and electric vehicles. Due to the high energy consumption of vans and electric vehicles, the company wants to choose only one of these two transportation options. Trucks generate 100 units of pollution per trip, vans generate 50 units of pollution, motorcycles generate 10 units of pollution, and electric vehicles generate 0 units of pollution. The total pollution generated by all trips must not exceed 2000 units. Trucks must be used at least 10 times. Trucks, vans, motorcycles, and electric vehicles can carry 100 units, 80 units, 40 units, and 60 units of products per trip, respectively. The company needs to ensure that the total quantity of products transported is at least 1800 units.", "question_type": "MIP"}
{"en_answer": "1581550", "difficulty": "Medium", "en_question": "A company plans to produce three products, $A_{1}, A_{2}, A_{3}$, within a four-month timeframe (January to April). The demand for the products is shown in the table below:\n\n| Demand | January | February | March | April |\n| :---: | :---: | :---: | :---: | :---: |\n| $A_{1}$ | 5300 | 1200 | 7400 | 5300 |\n| $A_{2}$ | 4500 | 5400 | 6500 | 7200 |\n| $A_{3}$ | 4400 | 6700 | 12500 | 13200 |\n\nThe prices, production costs, production quotas, activation costs, and minimum batch sizes (refer to the definitions in Exercise 4.3) are as follows:\n\n| Product | $A_{1}$ | $A_{2}$ | $A_{3}$ |\n| :---: | :---: | :---: | :---: |\n| Unit Price | $\\\\$ 124$ | $\\\\$ 109$ | $\\\\$ 115$ |\n| Activation Cost | $\\\\$ 150000$ | $\\\\$ 150000$ | $\\\\$ 100000$ |\n| Production Cost | $\\\\$ 73.30$ | $\\\\$ 52.90$ | $\\\\$ 65.40$ |\n| Production Quota | 500 | 450 | 550 |\n| Minimum Batch Size | 20 | 20 | 16 |\n\nJanuary has 23 production days, February has 20, March has 23, and April has 22. The activation status of the production lines can be changed each month. The minimum batch size is calculated on a monthly basis.\n\nIn addition, storage space can be rented monthly at a cost of $\\\\$ 3.50$ for $A_{1}$, $\\\\$ 4.00$ for $A_{2}$, and $\\\\$ 3.00$ for $A_{3}$. Each product takes up the same amount of storage space. The total available capacity is 800 units.\n\nWrite a mathematical program to maximize revenue.", "question_type": "MIP"}
{"en_answer": "2.78195", "difficulty": "Hard", "en_question": "There are 10 tasks that must be run on 3 CPUs, with frequencies of 1.33, 2, and $2.66 \\mathrm{GHz}$ respectively (each processor can only run one task at a time). The basic instructions (in billions of instructions, BI) for each task are as follows:\n\n| Process | 1 | 2 | 3 | 4 | 5 | 6 | 7 |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| BI | 1.1 | 2.1 | 3 | 1 | 0.7 | 5 | 3 |\n\nArrange the tasks onto the processors to minimize the completion time of the last task. Use COPTPY to solve the problem.", "question_type": "IP"}
{"en_answer": "10000", "difficulty": "Hard", "en_question": "A company that produces only one product has 40 workers. Each worker produces 20 units per month. The demand for the semester changes according to the following table:\n\n| Month | 1 | 2 | 3 | 4 | 5 | 6 |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| Demand (units) | 700 | 600 | 500 | 800 | 900 | 800 |\n\nTo adjust production based on demand, the company can offer some (paid) additional working hours (each worker can produce a maximum of 6 extra units per month, with a unit cost of 5 euros), use warehouse space (10 euros per unit per month), and hire or lay off employees (the number of employees can vary by a maximum of $\\\\pm 5$ per month, with a hiring cost of 500 euros per person and a layoff cost of 700 euros per person).\n\nInitially, the warehouse space is empty, and we require it to be empty at the end of the semester as well. Develop a mathematical program to maximize revenue and solve it using COPTPY. How does the objective function change when all variables are relaxed to continuous?", "question_type": "MIP"}
{"en_answer": "153", "difficulty": "Hard", "en_question": "A traveling salesman must visit 7 customers at 7 different locations, and the (symmetric) distance matrix is as follows:\n\n| | 1 | 2 | 3 | 4 | 5 | 6 | 7 |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| 1 | - | 86 | 49 | 57 | 31 | 69 | 50 |\n| 2 | | - | 68 | 79 | 93 | 24 | 5 |\n| 3 | | | - | 16 | 7 | 72 | 67 |\n| 4 | | | | - | 90 | 69 | 1 |\n| 5 | | | | | - | 86 | 59 |\n| 6 | | | | | | - | 81 |\n\nDevelop a mathematical program to determine the visiting order starting from location 1 and ending at location 1, in order to minimize the traveling distance, and solve it using COPTPY.", "question_type": "IP"}
{"en_answer": "103801", "difficulty": "Hard", "en_question": "The mass of a rocket is $m$, and it must reach a height of $H$ within time $T$ when launched at sea level. Let $y(t)$ be the height of the rocket at time $t$, and let $u(t)$ be the force acting on the rocket in the vertical direction at time $t$. Assuming $u(t)$ cannot exceed a given value $b$, the mass of the rocket $m$ remains constant throughout the process, and the gravitational acceleration $g$ remains constant in the interval $[0, H]$. Discretize the time $t \\in [0, T]$ into $n$ intervals and propose a linear program to determine the force $u(t_k)$ at each moment $k \\leq n$ to minimize the total energy consumption. Solve this problem using the following data: $m=2140~\\mathrm{kg}$, $H=23~\\mathrm{km}$, $T=1~\\mathrm{min}$, $b=10000~\\mathrm{N}$, $n=20$.", "question_type": "LP"}
{"en_answer": "8505", "difficulty": "Medium", "en_question": "A company has three types of products, I, II, and III. The contract orders for each quarter of the next year are shown in Table 1-23. At the beginning of the first quarter, there is no inventory, and it is required to have 150 units of each product in inventory at the end of the fourth quarter. It is known that the company has 15,000 hours of production time per quarter, and it takes 2 hours, 4 hours, and 3 hours to produce one unit of products I, II, and III, respectively. Due to the replacement of production equipment, product I cannot be produced in the second quarter. It is specified that if the products cannot be delivered on time, a compensation of $20 per unit per quarter is required for products I and II, and $10 for product III. If the produced products are not delivered in the same quarter, a storage fee of $5 per unit per quarter is incurred. How should the company arrange production to minimize the total compensation and storage fee?\n\nTable 1-23\n\\begin{tabular}{c|c|c|c|c}\n\\hline \\multirow{2}{*}{Product} & \\multicolumn{4}{|c}{Contract Orders for Each Quarter} \\\\\n\\cline { 2 - 5 } & 1 & 2 & 3 & 4 \\\\\n\\hline I & 1500 & 1000 & 2000 & 1200 \\\\\nII & 1500 & 1500 & 1200 & 1500 \\\\\nIII & 1000 & 2000 & 1500 & 2500 \\\\\n\\hline\n\\end{tabular}", "question_type": "LP"}
{"en_answer": "5069500", "difficulty": "Medium", "en_question": "The market demand for products I and II is as follows: Product I requires 10,000 units per month from January to April, 30,000 units per month from May to September, and 100,000 units per month from October to December. Product II requires 15,000 units per month from March to September and 50,000 units per month for the other months. The production cost for these two products is as follows: Product I costs $5 per unit to produce from January to May and $4.50 per unit to produce from June to December. Product II costs $8 per unit to produce from January to May and $7 per unit to produce from June to December. The total production capacity for both products should not exceed 120,000 units per month. Product I occupies 0.2 cubic meters per unit, while Product II occupies 0.4 cubic meters per unit. The warehouse capacity of the factory is 15,000 cubic meters. If the warehouse is not sufficient, the factory can rent additional space from an external facility. If occupying 1 cubic meter of the factory's storage space incurs a cost of $1 per month, and renting storage space from an external facility incurs an additional cost of $1.5 per month, how should the factory arrange its production to minimize the total production cost including storage fees while meeting market demand?", "question_type": "MIP"}
{"en_answer": "105.52", "difficulty": "Medium", "en_question": "A factory produces two types of food, I and II. There are currently 50 skilled workers. It is known that one skilled worker can produce food I at a rate of 10 kg/h or food II at a rate of 6 kg/h. According to the contract, the demand for these two types of food will sharply increase each week, as shown in Table 1-11. To meet this demand, the factory plans to train 50 new workers by the end of the 8th week, with production in two shifts. It is known that one worker works 40 hours per week, and a skilled worker can train no more than three new workers in two weeks (during the training period, skilled workers and trainees do not participate in production). Skilled workers earn a weekly salary of 360 yuan, trainees earn a weekly salary of 120 yuan during the training period, and a weekly salary of 240 yuan after training is completed. Their production efficiency is the same as that of skilled workers. During the training transition period, many skilled workers are willing to work overtime. The factory decides to arrange for some workers to work 60 hours per week at a salary of 540 yuan per week. If the ordered food cannot be delivered on time, there is a compensation fee of 0.50 yuan per kg for food I and 0.60 yuan per kg for food II. Under the above conditions, how should the factory make comprehensive arrangements to minimize the total cost?\n\nTable 1-11\n\\begin{tabular}{|c|c|c|c|c|c|c|c|c|}\n\\hline Food Week & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\\\\n\\hline I & 10 & 10 & 12 & 12 & 16 & 16 & 20 & 20 \\\\\n\\hline II & 6 & 7. 2 & 8.4 & 10.8 & 10.8 & 12 & 12 & 12 \\\\\n\\hline\n\\end{tabular}", "question_type": "MIP"}
{"en_answer": "-99999", "difficulty": "Medium", "en_question": "A large paper manufacturing company has 10 paper mills and supplies 1000 customers. These paper mills use three interchangeable machines and four different raw materials to produce five types of paper. The company wants to develop a plan to determine the quantity of each type of paper produced on each machine in each mill, and to determine which type of paper is supplied to which customers and in what quantity, in order to minimize total transportation costs. The following information is known:\n\n$D_{j k}$ - Customer j requires k units of paper each month;\n$r_{k l m}$ - The amount of raw material m required to produce one unit of paper of type k on machine l;\n$R_{i m}$ - The amount of raw material m available each month at mill i;\n$c_{k l}$ - The machine time required to produce one unit of paper of type k on machine l;\n$c_{i l}$ - The machine time available each month at mill i for machine type l;\n$P_{i k l}$ - The cost of producing one unit of paper of type k on machine type l at mill i;\n$T_{i j k}$ - The cost of transporting one unit of paper of type k from mill i to customer j.\n\nDevelop a linear programming model for this problem.", "question_type": "LP"}
{"en_answer": "76", "difficulty": "Medium", "en_question": "A certain factory needs a special tool in $n$ planning stages. In the $j$-th stage, $r_j$ specialized tools are required. At the end of each stage, the tools used in that stage must be sent for repair before they can be used again. There are two types of repairs: slow repair, which is cheaper (costs $b$ dollars per repair) but takes longer (requires $p$ stages to retrieve the tool), and fast repair, which is more expensive (costs $c$ dollars per repair, where $c>b$) but faster (requires $q$ stages to retrieve the tool, where $q<p$). If the repaired tools cannot meet the requirements, new tools need to be purchased at a cost of $a$ dollars per tool ($a>c$). Furthermore, these specialized tools will not be used after $n$ stages. Determine an optimal plan for purchasing and repairing tools to minimize the cost spent on tools during the planning period.\n\nn = 10 # number of stages\nr = [0] + [3, 5, 2, 4, 6, 5, 4, 3, 2, 1] # tool requirements per stage, indexing starts at 1\na = 10 # cost of buying a new tool\nb = 1 # cost of slow repair\nc = 3 # cost of fast repair\np = 3 # slow repair duration\nq = 1 # fast repair duration", "question_type": "MIP"}
{"en_answer": "44480.0", "difficulty": "Medium", "en_question": "A company has three tasks that require the recruitment of skilled workers and laborers. The first task can be completed by a skilled worker alone or by a team consisting of one skilled worker and two laborers. The second task can be completed by either a skilled worker or a laborer alone. The third task can be completed by a team of five laborers or by a skilled worker leading three laborers. It is known that the weekly wages for skilled workers and laborers are 100 yuan and 80 yuan, respectively. They work 48 hours per week, but their actual effective working time is 42 hours and 36 hours, respectively. To complete these three tasks, the company needs a total effective working time of 10,000 hours for the first task, 20,000 hours for the second task, and 30,000 hours for the third task. The number of workers that can be recruited is limited to a maximum of 400 skilled workers and 800 laborers. Establish a mathematical model to determine the number of skilled workers and laborers to recruit in order to minimize the total wage expenditure.", "question_type": "MIP"}
{"en_answer": "13400", "difficulty": "Medium", "en_question": "Xuri Company has signed delivery contracts for 5 products $(i=1, \\cdots, 5)$ for the next year from January to June. It is known that the order quantity (in units), unit selling price (in yuan), unit cost (in yuan), and production hours required for each product are $D_i, S_i, C_i, a_i$, respectively. The normal production hours and maximum allowable overtime hours for each month from January to June are shown in Table 1-19.\nTable 1-19\n\\begin{tabular}{c|r|r|r|r|r|r}\n\\hline Month & \\multicolumn{1}{|c|}{1} & \\multicolumn{1}{|c|}{2} & \\multicolumn{1}{|c}{3} & \\multicolumn{1}{|c}{4} & \\multicolumn{1}{c}{5} & \\multicolumn{1}{c}{6} \\\\\n\\hline Normal Production Hours $/ \\mathrm{h}$ & 12000 & 11000 & 13000 & 13500 & 13500 & 14000 \\\\\n\\hline Maximum Allowable Overtime Hours $/ \\mathrm{h}$ & 3000 & 2500 & 3300 & 3500 & 3500 & 3800 \\\\\n\\hline\n\\end{tabular}\n\nHowever, the cost of each product produced during overtime hours increases by $C_i^{\\prime}$ yuan. Due to production preparation and delivery requirements, product 1 is scheduled to start production in March, product 3 needs to be delivered by the end of April, and product 4 can be produced starting from February and must be fully delivered by the end of May. If products 3 and 4 are delayed in delivery, a penalty of $p_3$ yuan and $p_4$ yuan per month of delay will be imposed, respectively. All products must be delivered by the end of June. Please design a production plan for the company that guarantees completion of the contracts and maximizes profit, and establish a mathematical model.", "question_type": "MIP"}
{"en_answer": "527.9999999999999", "difficulty": "Medium", "en_question": "Hongsheng Factory produces three types of products, I, II, and III, which all undergo processing in two steps, A and B. Step A has two machines, A1 and A2, while step B has three machines, B1, B2, and B3. It is known that product I can be processed on either type of A machine, product II can be processed on any type of A machine but can only be processed on machine B2 in step B, and product III can only be processed on machine B2 in step B. Products II and III can only be processed on machines A2 and B2 in step A and B, respectively. The processing time per unit product and other relevant data are shown in Table 1-20. How should the production plan be arranged to maximize profit for the factory?\n\nTable 1-20\n\\begin{tabular}{|c|c|c|c|c|c|}\n\\hline \\multirow{2}{*}{ Machine } & \\multicolumn{3}{|c|}{ Products } & \\multirow{2}{*}{ Effective Machine Hours } & \\multirow{2}{*}{\\begin{tabular}{c} \nMachine Processing Fee \\\\\n/(\u5143/h)\n\\end{tabular}} \\\\\n\\hline & I & II & III & & \\\\\n\\hline A1 & 5 & 10 & $2+4$ & 6000 & 0.05 \\\\\n\\hline A2 & 7 & 9 & 12 & 10000 & 0.03 \\\\\n\\hline B1 & 6 & 8 & & 4000 & 0.06 \\\\\n\\hline B2 & 4 & & 11 & 7000 & 0.11 \\\\\n\\hline B3 & 7 & & & 4000 & 0.05 \\\\\n\\hline Raw Material Cost/(\u5143/\u4ef6) & 0.25 & 0.35 & 0.50 & & \\\\\n\\hline Selling Price/(\u5143/\u4ef6) & 1.25 & 2.00 & 2.80 & & \\\\\n\\hline\n\\end{tabular}", "question_type": "MIP"}
{"en_answer": "-99999", "difficulty": "Medium", "en_question": "Jiali Company needs to recruit personnel from three different majors to work in the branch offices located in Donghai City and Nanjiang City. The demand for personnel from different majors in these two branch offices is shown in Table 4-3. After statistical analysis of the applicants, the company divides them into 6 categories, and Table 4-4 lists the majors that each category of personnel is competent in, the majors they prefer to prioritize, and the cities they prefer to work in. The company considers personnel arrangements based on the following three priorities:\n$p_1$: All three types of required personnel are satisfied;\n$p_2$: Among the recruited personnel, 8000 people satisfy their preferred majors;\n$p_3$: Among the recruited personnel, 8000 people satisfy their preferred cities.\nBased on this, establish a mathematical model for goal programming.\n\nTable 4-3\n\\begin{tabular}{c|c|c}\n\\hline Branch Location & Major & Demand \\\\\n\\hline \\multirow{3}{*}{Donghai City} & 1 & 1000 \\\\\n& 2 & 2000 \\\\\n\\hline \\multirow{4}{*}{Nanjiang City} & 3 & 1500 \\\\\n& 1 & 2000 \\\\\n& 2 & 1000 \\\\\n& 3 & 1000 \\\\\n\\hline\n\\end{tabular}\n\nTable 4-4\n\\begin{tabular}{c|c|c|c|c}\n\\hline Category & Personnel & Competent Majors & Preferred Majors & Preferred Cities \\\\\n\\hline 1 & 1500 & 1,2 & 1 & Donghai \\\\\n2 & 1500 & 2,3 & 2 & Donghai \\\\\n3 & 1500 & 1,3 & 1 & Nanjiang \\\\\n4 & 1500 & 1,3 & 3 & Nanjiang \\\\\n5 & 1500 & 2,3 & 3 & Donghai \\\\\n6 & 1500 & 3 & 3 & Nanjiang \\\\\n\\hline\n\\end{tabular}", "question_type": "Others"}
{"en_answer": "21", "difficulty": "Medium", "en_question": "There are $m$ production points for a certain commodity, where the output of the $i$th point $(i=1, \\cdots, m)$ is $a_i$. The commodity is sold to $n$ demand points, where the required quantity at the $j$th demand point is $b_j$ $(j=1, \\cdots, n)$. It is known that $\\sum_i a_i \\geqslant \\sum_j b_j$. It is also known that when transporting from each production point to a demand point, it must go through one of the $p$ intermediate transfer stations, and if the $k$th intermediate transfer station is used, regardless of the amount of transfer, a fixed cost of $f_k$ is incurred, and the maximum capacity limit for the $k$th intermediate transfer station is $q_k$ $(k=1, \\cdots, p)$. Let $c_{i k}$ and $c_{k j}$ represent the transportation costs per unit of commodity from $i$ to $k$ and from $k$ to $j$, respectively. Determine a transportation plan for the commodity that minimizes the total cost.", "question_type": "MIP"}
{"en_answer": "1000.0", "difficulty": "Easy", "en_question": "There are 10 different parts that can be processed on equipment A, equipment B, or equipment C, with the processing costs per unit shown in Table 5-6. Furthermore, as long as parts are processed on the mentioned equipment, regardless of processing one or multiple parts, the one-time setup costs are $d_A$, $d_B$, and $d_C$ respectively. If the following requirements are to be met:\n(1) Each of the 10 parts should be processed once.\n(2) If the first part is processed on equipment A, then the second part should be processed on equipment B or C. Conversely, if the first part is processed on equipment B or C, then the second part should be processed on equipment A.\n(3) Parts 3, 4, and 5 must be processed on equipment A, B, and C respectively.\n(4) The number of parts processed on equipment C should not exceed 3.\nPlease establish an integer programming mathematical model for this problem, with the objective of minimizing the total cost.\n\nTable 5-6\n\\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|}\n\\hline Equipment $\\quad$ Part & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 \\\\\n\\hline A & $a_1$ & $a_2$ & $a_3$ & $a_4$ & $a_5$ & $a_6$ & $a_7$ & $a_8$ & $a_9$ & $a_{10}$ \\\\\n\\hline B & $b_1$ & $b_2$ & $b_3$ & $b_4$ & $b_5$ & $b_6$ & $b_7$ & $b_8$ & $b_9$ & $b_{10}$ \\\\\n\\hline C & $c_1$ & $c_2$ & $c_3$ & $c_4$ & $c_5$ & $c_6$ & $c_7$ & $c_8$ & $c_9$ & $c_{10}$ \\\\\n\\hline\n\\end{tabular}", "question_type": "IP"}
{"en_answer": "770.0", "difficulty": "Easy", "en_question": "Changjiang Comprehensive Shopping Mall has an area of $5000 \\mathrm{~m}^2$ for rent and plans to attract tenants from the following 5 types of stores. It is known the area occupied by each store, the minimum and maximum number of stores to be opened in the mall, and the annual expected profit (in ten thousand yuan) for each store at different numbers of stores opened, as shown in Table 5-12. Each store is required to pay the mall 20% of their annual profit as rent. What is the optimal number of each type of store the mall should rent in order to maximize the total rental income?\n\nTable 5-12:\n\\begin{tabular}{c|c|c|c|c|c|c|c}\n\\hline \n\\multirow{2}{*}{Code} & \\multirow{2}{*}{Store Type} & Store Area $/ \\mathrm{m}^2$ & \\multicolumn{2}{|c|}{Number of Stores} & \\multicolumn{3}{|c}{Profit per Store at Different Numbers} \\\\\n\\cline{3-8} \n& & & Minimum & Maximum & 1 & 2 & 3 \\\\\n\\hline \n1 & Jewelry & 250 & 1 & 3 & 9 & 8 & 7 \\\\\n2 & Shoes and Hats & 350 & 1 & 2 & 10 & 9 & - \\\\\n3 & Department Store & 800 & 1 & 3 & 27 & 21 & 20 \\\\\n4 & Bookstore & 400 & 0 & -2 & 16 & 10 & - \\\\\n5 & Restaurant & 500 & 1 & 3 & 17 & 15 & 12 \\\\\n\\hline\n\\end{tabular}", "question_type": "IP"}
{"en_answer": "32.436", "difficulty": "Easy", "en_question": "Suppose an animal needs at least $700 \\mathrm{~g}$ of protein, $30 \\mathrm{~g}$ of minerals, and $100 \\mathrm{mg}$ of vitamins per day. There are 5 types of feed to choose from, and the contents of each nutrient per gram and the unit price of each feed are shown in Table 1-5. Try to establish a linear programming model that not only meets the animal's growth needs but also minimizes the cost of selecting feed.\n\nTable 1-6\n\\begin{tabular}{|c|c|c|c|c||c|c|c|c|c|}\n\\hline Feed & \\begin{tabular}{c} \nProtein \\\\\n$/ \\mathrm{g}$\n\\end{tabular} & \\begin{tabular}{c} \nMinerals \\\\\n$/ \\mathrm{g}$\n\\end{tabular} & \\begin{tabular}{c} \nVitamins \\\\\n$/ \\mathrm{mg}$\n\\end{tabular} & \\begin{tabular}{c} \nPrice \\\\\n$/$ (yuan $/ \\mathrm{kg})$\n\\end{tabular} & Feed & \\begin{tabular}{c} \nProtein \\\\\n$/ \\mathrm{g}$\n\\end{tabular} & \\begin{tabular}{c} \nMinerals \\\\\n$/ \\mathrm{g}$\n\\end{tabular} & \\begin{tabular}{c} \nVitamins \\\\\n$/ \\mathrm{mg}$\n\\end{tabular} & \\begin{tabular}{c} \nPrice \\\\\n$/($ yuan $/ \\mathrm{kg})$\n\\end{tabular} \\\\\n\\hline 1 & 3 & 1 & 0.5 & 0.2 & 4 & 6 & 2 & 2 & 0.3 \\\\\n\\hline 2 & 2 & 0.5 & 1 & 0.7 & 5 & 18 & 0.5 & 0.8 & 0.8 \\\\\n\\hline 3 & 1 & 0.2 & 0.2 & 0.4 & & & & & \\\\\n\\hline\n\\end{tabular}", "question_type": "LP"}
{"en_answer": "1146.6", "difficulty": "Hard", "en_question": "A factory produces three types of products: I, II, and III. Each product requires two processing steps, A and B. The factory has two types of equipment for step A, represented by A1 and A2, and three types of equipment for step B, represented by B1, B2, and B3. Product I can be processed on any type of A equipment and any type of B equipment. Product II can be processed on any type of A equipment, but for step B, it can only be processed on B1 equipment. Product III can only be processed on A2 and B2 equipment. The unit processing time, raw material cost, selling price, equipment available time, and equipment cost at full load for each type of equipment are shown in Table 1-18. Determine the optimal production plan to maximize the profit for the factory.\n\nTable 1-18\n\\begin{tabular}{c|c|c|c|c|c}\n\\hline \\multirow{2}{*}{ Equipment } & \\multicolumn{3}{|c|}{ Product } & \\multirow{2}{*}{ Equipment Available Time } & \\multirow{2}{*}{\\begin{tabular}{c} \nEquipment Cost at \\\\\nFull Load (CNY)\n\\end{tabular}} \\\\\n\\cline { 2 - 4 } & I & II & III & 6000 & 300 \\\\\n$A_1$ & 5 & 10 & & 10000 & 321 \\\\\n$A_2$ & 7 & 9 & 12 & 4000 & 250 \\\\\n$B_1$ & 6 & 8 & & 7000 & 783 \\\\\n$B_2$ & 4 & & 11 & 4000 & 200 \\\\\n$B_3$ & 7 & & & & \\\\\n\\hline Raw Material Cost (CNY / unit) & 0.25 & 0.35 & 0.50 & & \\\\\nUnit Price (CNY / unit) & 1.25 & 2.00 & 2.80 & & \\\\\n\\hline\n\\end{tabular}", "question_type": "MIP"}
{"en_answer": "4500", "difficulty": "Medium", "en_question": "A certain brand of wine is made by blending three grades of wine. The daily supply and unit cost of these three grades of wine are shown in Table 4-8.\nTable 4-8\n\\begin{tabular}{c|c|c}\n\\hline Grade & Daily Supply (kg) & Cost (\u5143/kg) \\\\\n\\hline I & 1500 & 6 \\\\\nI & 2000 & 4.5 \\\\\nII & 1000 & 3 \\\\\n\\hline\n\\end{tabular}\n\nAssume that there are three brands (red, yellow, blue) for this type of wine, and the blending ratios and selling prices for each brand are shown in Table 4-9. The decision maker specifies that the wines for each brand must be blended strictly according to the specified ratios, followed by maximizing profit, and ensuring that the red brand produces at least 2000 kg per day. Formulate the mathematical model.\nTable 4-9\n\\begin{tabular}{c|c|c}\n\\hline Brand & Blending Requirements & Selling Price (\u5143/kg) \\\\\n\\hline Red & \\begin{tabular}{l} \nI less than 10\\% \\\\\nI more than 50\\%\n\\end{tabular} & 5.5 \\\\\n\\hline Yellow & \\begin{tabular}{l} \nII less than 70\\% \\\\\nI more than 20\\%\n\\end{tabular} & 5.0 \\\\\n\\hline Blue & \\begin{tabular}{l} \nI less than 50\\% \\\\\nI more than 10\\%\n\\end{tabular} & 4.8 \\\\\n\\hline\n\\end{tabular}", "question_type": "LP"}
{"en_answer": "2924", "difficulty": "Easy", "en_question": "A product consists of three components, which are produced by four workshops. The total number of production hours available for each workshop is limited. Table 1.4 shows the productivity of the three components. The objective is to determine how many hours should be allocated to each component in each workshop in order to maximize the number of completed products. Represent this problem as a linear programming problem.\n\nTable 1.4\n\n| Workshop | Production Capacity <br> (hours) | Productivity (units/hour) | | |\n| :---: | :---: | :---: | :---: | :---: |\n| | | Component 1 | Component 2 | Component 3 |\n| A | 100 | 10 | 15 | 5 |\n| B | 150 | 15 | 10 | 5 |\n| C | 80 | 20 | 5 | 10 |\n| D | 200 | 10 | 15 | 20 |", "question_type": "LP"}
{"en_answer": "11250", "difficulty": "Medium", "en_question": "A factory produces two models of microcomputers, A and B. Each model requires two identical processes. The processing time, sales profit, and maximum processing capacity of the factory per week for each microcomputer model are shown in Table 3.1.\n\nTable 3.1\n\n| Process | Model | Maximum Processing Capacity |\n| :---: | :---: | :---: |\n| | A | B | |\n| Process I (hours per unit) | 4 | 6 | 150 |\n| Process II (hours per unit) | 3 | 2 | 70 |\n| Profit (RMB per unit) | 300 | 450 | |\n\nIf the factory's desired objectives and priority levels are as follows:\n\n$p_{1}$: Total profit per week should not be less than 10,000 RMB;\n\n$p_{2}$: Due to contractual requirements, at least 10 units of model A and 15 units of model B must be produced per week;\n\n$p_{3}$: The weekly production time for Process I should be exactly 150 hours, and the production time for Process II should be maximized, even if overtime is necessary.\n\nEstablish the goal programming model for this problem.", "question_type": "LP"}
{"en_answer": "1250", "difficulty": "Medium", "en_question": "A factory produces two models of microcomputers, A and B. Each model requires two identical processes. The processing time, sales profit, and maximum processing capacity per week for each microcomputer are shown in Table 3.1.\n\nTable 3.1\n\n| Process | Model A | Model B | Maximum Processing Capacity |\n| :---: | :---: | :---: | :---: |\n| I (hours per unit) | 4 | 6 | 150 |\n| II (hours per unit) | 3 | 2 | 70 |\n| Profit (RMB per unit) | 300 | 450 | |\n\nIf the factory's desired objectives and priority levels are as follows:\n\n$p_{1}$: The total weekly profit should not be less than 10,000 RMB.\n\n$p_{2}$: Due to contractual requirements, at least 10 units of model A and 15 units of model B should be produced per week.\n\n$p_{3}$: It is desired that the weekly production time for process I is exactly 150 hours, and the production time for process II is maximized, even with overtime if necessary.\n\nIf the products produced during overtime in process II result in a decrease of 20 RMB in profit per unit for model A and 25 RMB for model B, and the maximum overtime for process II is 30 hours per week, with this objective as level $p_{4}$, establish an objective programming model for this problem.", "question_type": "MIP"}
{"en_answer": "0.0", "difficulty": "Hard", "en_question": "The current problem the company is facing is how to use the minimum number of containers to transport the current goods, while considering the weight, volume, specific packaging requirements, and inventory limitations of the goods. Professional modeling and analysis are needed to provide a transportation strategy for a batch of goods to ensure the maximum utilization of limited container space.\n\nCurrently, the company has a batch of goods that need to be transported. Each container can hold a maximum of 60 tons of goods, and each container used must contain at least 18 tons of goods. The dimensions of the container are 15.5 meters in length, 2.8 meters in width, and 2.8 meters in height. The goods that need to be loaded include five types: A, B, C, D, and E, with 120, 90, 300, 90, and 120 units respectively. The weight of type A is 0.5 tons, type B is 1 ton, type C is 0.4 tons, type D is 0.6 tons, and type E is 0.65 tons. The dimensions of goods A, B, C, D, and E are 0.65*1*1, 0.2*2*2, 0.35*2*1, 0.2*3*1, and 0.15*5*1 meters respectively. Additionally, to meet specific usage requirements, whenever loading goods A, at least 1 unit of goods C must be loaded at the same time, while loading goods C alone does not require loading goods A at the same time. Furthermore, considering the demand restrictions of goods D, we need to load at least 12 units of goods D in each container.\n\nCreate an operations research model so that the company can use the minimum number of containers to transport this batch of goods.", "question_type": "IP"}
{"en_answer": "6105", "difficulty": "Medium", "en_question": "A company produces two types of small motorcycles, with Type A being completely manufactured by the company and Type B being assembled from imported parts. The manufacturing, assembly, and inspection times required for these two products are shown in Table 3.2.\nTable 3.2\n\n| Type | Manufacturing | Assembly | Inspection | Selling Price <br> (yuan per unit) |\n| :---: | :---: | :---: | :---: | :---: |\n| | | | | |\n| Type A (hours per unit) | 20 | 5 | 3 | 650 |\n| Type B (hours per unit) | 0 | 7 | 6 | 725 |\n| Maximum weekly production capacity (hours) | 120 | 80 | 40 | |\n| Hourly production cost (yuan) | 12 | 8 | 10 | |\n\nIf the company's expected goals and priority levels are as follows:\n\n$p_{1}$: Total weekly profit is at least 3000 yuan;\n\n$p_{2}$: At least 5 units of Type A motorcycles are produced weekly;\n\n$p_{3}$: Minimize the idle time of each process, with the coefficients of the three processes being proportional to their hourly costs, and no overtime is allowed.\n\nFormulate an objective programming model for this problem.", "question_type": "LP"}
{"en_answer": "58", "difficulty": "Medium", "en_question": "Consider the task of delivering goods from a central warehouse to $m$ different sales locations. In each delivery, each sales location receives its order. Feasible routes have been specified for each delivery person, and each delivery person can transport up to $r$ types of orders. Assume there are $n$ feasible routes, and each route specifies the sales locations to deliver goods to. Let $c_{j}$ be the cost of the $j$th route. It is possible to have duplicates, so that more than one delivery person can arrive at the same sales location. Represent this problem as an integer model.", "question_type": "IP"}
{"en_answer": "770.0", "difficulty": "Medium", "en_question": "Consider the allocation of $n$ factories to $n$ locations, where the transportation quantity between factory $i$ and factory $j$ is $d_{ij}$, and the unit transportation cost from location $p$ to location $q$ is $c_{pq}$. To minimize the total transportation cost, represent this problem as an integer model.", "question_type": "IP"}
{"en_answer": "9337440", "difficulty": "Hard", "en_question": "For manufacturing companies, it is important to develop appropriate production plans and human resource management strategies to reduce operating costs, inventory costs, stockout costs, and labor costs. In particular, for products with high demand fluctuations, companies need to accurately forecast demand and develop corresponding production plans. A company produces a folding table, with a raw material cost of 90 yuan per unit and 5 labor hours. The unit price of the product is 300 yuan. At the beginning of January, the company has 1000 workers and holds 15,000 units of inventory. The normal wage for workers is 30 yuan per hour, and the normal working hours per worker per day is 8 hours. Overtime hours are paid at an hourly rate of 40 yuan. The number of working days per month is calculated as 20 days. Assuming the company has sufficient available production machines and its production capacity is not limited by machine hours. The overtime hours per worker per month do not exceed 20 hours. Holding inventory incurs corresponding inventory costs. If there is a stockout due to insufficient capacity, there will be certain stockout costs. In addition, the company can make up for the shortage through outsourcing. The outsourcing cost per unit, monthly inventory cost, and monthly stockout cost are 200 yuan, 15 yuan, and 35 yuan, respectively. The company's employees are all temporary workers, and the company can flexibly decide the number of employees to hire and dismiss each month. The cost of hiring and dismissing a single employee is 5000 yuan and 8000 yuan, respectively. Assuming the company has used existing forecasting models to predict the demand from month 1 to month 6, as shown in Table 4.1.\n\nTable 4.1: Demand Forecast\n\n| Month | 1 | 2 | 3 | 4 | 5 | 6 |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| Demand Forecast | 20000 | 40000 | 42000 | 35000 | 19000 | 18500 |\n\nPlease develop a production plan, worker schedule, and plan for hiring and dismissing employees for the company to maximize its total net profit over 6 months, while ensuring that the company holds at least 10,000 units of product by the end of June.", "question_type": "MIP"}
{"en_answer": "1644.63", "difficulty": "Hard", "en_question": "The Vehicle Routing Problem (VRP) was first proposed by Dantzig in 1959 (Dantzig and Ramser 1959). It is a very classic combinatorial optimization problem. The basic VRP can usually be described as follows: in a certain area, there are a certain number of customers and a distribution center or warehouse. The customers are generally distributed in different locations, and each customer has a certain amount of goods delivery demand. The distribution center or warehouse needs to dispatch a fleet of vehicles and design a suitable delivery plan to fulfill all customer's goods delivery demands. The objective of VRP is to maximize efficiency while meeting all customer demands. The measurement of efficiency is usually presented in the form of an objective function. The objective function varies with the company's requirements, and common objective functions include minimizing the total distance traveled by vehicles, minimizing the total delivery time, and minimizing the number of vehicles used, etc. In addition to meeting customer delivery demands, VRP generally needs to consider various other constraints, resulting in various variants. For example, if the vehicle's load cannot exceed its maximum capacity (capacity constraint), the problem becomes the Capacitated Vehicle Routing Problem (CVRP). If the delivery demand of each customer must be delivered within a specific time window, the problem becomes the Vehicle Routing Problem with Time Windows (VRPTW).\n\nThe Vehicle Routing Problem with Time Windows (VRPTW) is a classic problem developed from VRP. There are many applications of VRPTW in reality, and each customer point generally has a service time window. For example, some logistics centers need to deliver packages during low-traffic hours, some large supermarkets need to restock during non-business hours, and real-time delivery methods such as food delivery require specific delivery time windows. Time windows can be classified as hard time windows and soft time windows. Hard Time Windows (HTW) means that vehicles must arrive at or before the time window, and cannot delay their arrival. If they arrive early, they must wait until the time window starts to provide service, such as restocking supermarkets and delivering goods from logistics centers, etc. Soft Time Windows (STW) means that vehicles are not required to arrive within the original hard time window, but they should try to arrive within the hard time window. If the vehicle arrives early, a penalty value will be deducted, and if it arrives late, a certain penalty value will be imposed, such as food delivery, school bus pick-up and drop-off, industrial distribution, etc.\n\nThe Vehicle Routing Problem with Hard Time Windows (VRPHTW) can be described as follows: there are a certain number of customer points and a distribution center in the region. Vehicles need to depart from the distribution center and return to the distribution center. The route should be continuous, and each customer should be served by one and only one vehicle. The vehicles also have a capacity. Each customer has a specific service time window and can only be served within the time window. Vehicles can arrive at the customer point ahead of time and wait for the time window to open, then provide service to the customer. They can also arrive at the customer point within the time window to provide service. Vehicles can only start serving customers within the time window, and the service time is known. The distribution center needs to arrange a reasonable delivery plan to both complete the delivery tasks and minimize travel costs. VRPHTW, like VRP, mainly emphasizes the travel costs on the routes because delays are not allowed. Now, please model the VRPHTW in operations research.\n\n### Example\nr101.txt = r\\\"\"\"\n 0 35 35 0 0 230 0\n 1 41 49 10 161 171 10\n 2 35 17 7 50 60 10\n 3 55 45 13 116 126 10\n 4 55 20 19 149 159 10\n 5 15 30 26 34 44 10\n 6 25 30 3 99 109 10\n 7 20 50 5 81 91 10\n 8 10 43 9 95 105 10\n 9 55 60 16 97 107 10\n 10 30 60 16 124 134 10\n 11 20 65 12 67 77 10\n 12 50 35 19 63 73 10\n 13 30 25 23 159 169 10\n 14 15 10 20 32 42 10\n 15 30 5 8 61 71 10\n 16 10 20 19 75 85 10\n 17 5 30 2 157 167 10\n 18 20 40 12 87 97 10\n 19 15 60 17 76 86 10\n 20 45 65 9 126 136 10\n 21 45 20 11 62 72 10\n 22 45 10 18 97 107 10\n 23 55 5 29 68 78 10\n 24 65 35 3 153 163 10\n 25 65 20 6 172 182 10\n 26 45 30 17 132 142 10\n 27 35 40 16 37 47 10\n 28 41 37 16 39 49 10\n 29 64 42 9 63 73 10\n 30 40 60 21 71 81 10\n 31 31 52 27 50 60 10\n 32 35 69 23 141 151 10\n 33 53 52 11 37 47 10\n 34 65 55 14 117 127 10\n 35 63 65 8 143 153 10\n 36 2 60 5 41 51 10\n 37 20 20 8 134 144 10\n 38 5 5 16 83 93 10\n 39 60 12 31 44 54 10\n 40 40 25 9 85 95 10\n 41 42 7 5 97 107 10\n 42 24 12 5 31 41 10\n 43 23 3 7 132 142 10\n 44 11 14 18 69 79 10\n 45 6 38 16 32 42 10\n 46 2 48 1 117 127 10\n 47 8 56 27 51 61 10\n 48 13 52 36 165 175 10\n 49 6 68 30 108 118 10\n 50 47 47 13 124 134 10\n 51 49 58 10 88 98 10\n 52 27 43 9 52 62 10\n 53 37 31 14 95 105 10\n 54 57 29 18 140 150 10\n 55 63 23 2 136 146 10\n 56 53 12 6 130 140 10\n 57 32 12 7 101 111 10\n 58 36 26 18 200 210 10\n 59 21 24 28 18 28 10\n 60 17 34 3 162 172 10\n 61 12 24 13 76 86 10\n 62 24 58 19 58 68 10\n 63 27 69 10 34 44 10\n 64 15 77 9 73 83 10\n 65 62 77 20 51 61 10\n 66 49 73 25 127 137 10\n 67 67 5 25 83 93 10\n 68 56 39 36 142 152 10\n 69 37 47 6 50 60 10\n 70 37 56 5 182 192 10\n 71 57 68 15 77 87 10\n 72 47 16 25 35 45 10\n 73 44 17 9 78 88 10\n 74 46 13 8 149 159 10\n 75 49 11 18 69 79 10\n 76 49 42 13 73 83 10\n 77 53 43 14 179 189 10\n 78 61 52 3 96 106 10\n 79 57 48 23 92 102 10\n 80 56 37 6 182 192 10\n 81 55 54 26 94 104 10\n 82 15 47 16 55 65 10\n 83 14 37 11 44 54 10\n 84 11 31 7 101 111 10\n 85 16 22 41 91 101 10\n 86 4 18 35 94 104 10\n 87 28 18 26 93 103 10\n 88 26 52 9 74 84 10\n 89 26 35 15 176 186 10\n 90 31 67 3 95 105 10\n 91 15 19 1 160 170 10\n 92 22 22 2 18 28 10\n 93 18 24 22 188 198 10\n 94 26 27 27 100 110 10\n 95 25 24 20 39 49 10\n 96 22 27 11 135 145 10\n 97 25 21 12 133 143 10\n 98 19 21 10 58 68 10\n 99 20 26 9 83 93 10\n 100 18 18 17 185 195 10\n\n\n\\\"\"\"", "question_type": "MIP"}
{"en_answer": "40", "difficulty": "Hard", "en_question": "As one of the main arteries of urban transportation, the city subway carries a huge passenger flow and its operation and management are very complex. Among them, crew scheduling is one of the key links in subway operation management and also the starting point and difficulty of crew management. The subway transportation volume is large, with complex and changing routes, and frequent operation intervals. Crew drivers face huge, continuous, and high-intensity transportation tasks. It is important to arrange the driver's shift and duty mode reasonably and achieve the optimal allocation of personnel to ensure the efficient and stable operation of the subway. Due to the increasing complexity of the subway operation network, traditional manual scheduling methods can no longer meet the high standard operation requirements. Automated and intelligent crew scheduling has become an inevitable trend.\n\nThe general process of crew scheduling for subway operating companies is as follows: export train operation section and time information tables based on the current operation chart, manually divide the crew duty roster based on these information tables, compile the crew scheduling master table based on the duty roster, and finally allocate the crew groups based on the scheduling master table to form the final scheduling table. The entire process relies on manual compilation and mainly has the following three major problems:\n\n1. Low scheduling efficiency: Crew scheduling business rules are complex, and the workload is large. The efficiency of manual compilation is very low, requiring at least one week. The manpower and time costs are high.\n\n2. Difficulty in adjustment: When encountering unexpected situations such as train failures and temporary leave of crew members, it is difficult to quickly adjust the scheduling plan based on manual methods, affecting the efficiency of operation management.\n\n3. Uneven task assignment: Manual scheduling has subjective limitations and strong dependence on human experience. If the scheduling is unreasonable, it may lead to uneven task assignment, unfair scheduling, and low crew satisfaction.\n\nThis subway line includes 40 platforms, among which A, M, and Z platforms are available for driver transfers and handovers. Please consider 200 driving tasks and their attributes such as time, location, and mileage, and consider classic constraints in crew scheduling scenarios, such as maximum continuous driving time constraint, mileage limit constraint, attendance location constraint, etc. Compare different mixed integer modeling methods to minimize the number of drivers as the goal and output the optimal task chain combination (i.e. the allocation and connection relationship of all tasks) for all tasks.\n\n### Example\nMileage Information Table.csv = \\\"\"\"\nDeparture Station,Arrival Station,Mileage\nA,M,17.1\nZ,M,26.4\n\\\"\"\"\n\nTask Information Table.csv = \\\"\"\"\nTrain Number,Train ID,Pickup Time,Pickup Location,Drop-off Time,Drop-off Location\n331,M16,10:03:11,M,10:57:43,Z\n1,L06,10:03:43,Z,10:58:32,M\n163,N23,10:04:10,A,10:39:11,M\n332,N27,10:04:32,M,10:40:10,A\n333,N20,10:09:11,M,11:03:43,Z\n2,L07,10:09:43,Z,11:04:32,M\n164,L11,10:10:10,A,10:45:11,M\n334,L01,10:10:32,M,10:46:10,A\n335,M17,10:15:11,M,11:09:43,Z\n3,M13,10:15:43,Z,11:10:32,M\n165,N24,10:16:10,A,10:51:11,M\n336,N28,10:16:32,M,10:52:10,A\n337,N21,10:21:11,M,11:15:43,Z\n4,L08,10:21:43,Z,11:16:32,M\n166,N25,10:22:10,A,10:57:11,M\n338,L02,10:22:32,M,10:58:10,A\n339,M18,10:27:11,M,11:21:43,Z\n5,M14,10:27:43,Z,11:22:32,M\n167,N26,10:28:10,A,11:03:11,M\n340,L03,10:28:32,M,11:04:10,A\n341,N22,10:33:11,M,11:27:43,Z\n6,L09,10:33:43,Z,11:28:32,M\n168,L12,10:34:10,A,11:09:11,M\n342,N29,10:34:32,M,11:10:10,A\n343,N23,10:39:11,M,11:33:43,Z\n7,M15,10:39:43,Z,11:34:32,M\n169,N27,10:40:10,A,11:15:11,M\n344,L04,10:40:32,M,11:16:10,A\n345,L11,10:45:11,M,11:39:43,Z\n8,N19,10:45:43,Z,11:40:32,M\n170,L01,10:46:10,A,11:21:11,M\n346,L05,10:46:32,M,11:22:10,A\n347,N24,10:51:11,M,11:45:43,Z\n9,L10,10:51:43,Z,11:46:32,M\n171,N28,10:52:10,A,11:27:11,M\n348,N30,10:52:32,M,11:28:10,A\n349,N25,10:57:11,M,11:51:43,Z\n10,M16,10:57:43,Z,11:52:32,M\n172,L02,10:58:10,A,11:33:11,M\n350,L06,10:58:32,M,11:34:10,A\n351,N26,11:03:11,M,11:57:43,Z\n11,N20,11:03:43,Z,11:58:32,M\n173,L03,11:04:10,A,11:39:11,M\n352,L07,11:04:32,M,11:40:10,A\n353,L12,11:09:11,M,12:03:43,Z\n12,M17,11:09:43,Z,12:04:32,M\n174,N29,11:10:10,A,11:45:11,M\n354,M13,11:10:32,M,11:46:10,A\n355,N27,11:15:11,M,12:09:43,Z\n13,N21,11:15:43,Z,12:10:32,M\n175,L04,11:16:10,A,11:51:11,M\n356,L08,11:16:32,M,11:52:10,A\n357,L01,11:21:11,M,12:15:43,Z\n14,M18,11:21:43,Z,12:16:32,M\n176,L05,11:22:10,A,11:57:11,M\n358,M14,11:22:32,M,11:58:10,A\n359,N28,11:27:11,M,12:21:43,Z\n15,N22,11:27:43,Z,12:22:32,M\n177,N30,11:28:10,A,12:03:11,M\n360,L09,11:28:32,M,12:04:10,A\n361,L02,11:33:11,M,12:27:43,Z\n16,N23,11:33:43,Z,12:28:32,M\n178,L06,11:34:10,A,12:09:11,M\n362,M15,11:34:32,M,12:10:10,A\n363,L03,11:39:11,M,12:33:43,Z\n17,L11,11:39:43,Z,12:34:32,M\n179,L07,11:40:10,A,12:15:11,M\n364,N19,11:40:32,M,12:16:10,A\n365,N29,11:45:11,M,12:39:43,Z\n18,N24,11:45:43,Z,12:40:32,M\n180,M13,11:46:10,A,12:21:11,M\n366,L10,11:46:32,M,12:22:10,A\n367,L04,11:51:11,M,12:45:43,Z\n19,N25,11:51:43,Z,12:46:32,M\n181,L08,11:52:10,A,12:27:11,M\n368,M16,11:52:32,M,12:28:10,A\n369,L05,11:57:11,M,12:51:43,Z\n20,N26,11:57:43,Z,12:52:32,M\n182,M14,11:58:10,A,12:33:11,M\n370,N20,11:58:32,M,12:34:10,A\n371,N30,12:03:11,M,12:57:43,Z\n21,L12,12:03:43,Z,12:58:32,M\n183,L09,12:04:10,A,12:39:11,M\n372,M17,12:04:32,M,12:40:10,A\n373,L06,12:09:11,M,13:03:43,Z\n22,N27,12:09:43,Z,13:04:32,M\n184,M15,12:10:10,A,12:45:11,M\n374,N21,12:10:32,M,12:46:10,A\n375,L07,12:15:11,M,13:09:43,Z\n23,L01,12:15:43,Z,13:10:32,M\n185,N19,12:16:10,A,12:51:11,M\n376,M18,12:16:32,M,12:52:10,A\n377,M13,12:21:11,M,13:15:43,Z\n24,N28,12:21:43,Z,13:16:32,M\n186,L10,12:22:10,A,12:57:11,M\n378,N22,12:22:32,M,12:58:10,A\n379,L08,12:27:11,M,13:21:43,Z\n25,L02,12:27:43,Z,13:22:32,M\n187,M16,12:28:10,A,13:03:11,M\n380,N23,12:28:32,M,13:04:10,A\n381,M14,12:33:11,M,13:27:43,Z\n26,L03,12:33:43,Z,13:28:32,M\n188,N20,12:34:10,A,13:09:11,M\n382,L11,12:34:32,M,13:10:10,A\n383,L09,12:39:11,M,13:33:43,Z\n27,N29,12:39:43,Z,13:34:32,M\n189,M17,12:40:10,A,13:15:11,M\n384,N24,12:40:32,M,13:16:10,A\n385,M15,12:45:11,M,13:39:43,Z\n28,L04,12:45:43,Z,13:40:32,M\n190,N21,12:46:10,A,13:21:11,M\n386,N25,12:46:32,M,13:22:10,A\n387,N19,12:51:11,M,13:45:43,Z\n29,L05,12:51:43,Z,13:46:32,M\n191,M18,12:52:10,A,13:27:11,M\n388,N26,12:52:32,M,13:28:10,A\n389,L10,12:57:11,M,13:51:43,Z\n30,N30,12:57:43,Z,13:52:32,M\n192,N22,12:58:10,A,13:33:11,M\n390,L12,12:58:32,M,13:34:10,A\n391,M16,13:03:11,M,13:57:43,Z\n31,L06,13:03:43,Z,13:58:32,M\n193,N23,13:04:10,A,13:39:11,M\n392,N27,13:04:32,M,13:40:10,A\n393,N20,13:09:11,M,14:03:43,Z\n32,L07,13:09:43,Z,14:04:32,M\n194,L11,13:10:10,A,13:45:11,M\n394,L01,13:10:32,M,13:46:10,A\n395,M17,13:15:11,M,14:09:43,Z\n33,M13,13:15:43,Z,14:10:32,M\n195,N24,13:16:10,A,13:51:11,M\n396,N28,13:16:32,M,13:52:10,A\n397,N21,13:21:11,M,14:15:43,Z\n34,L08,13:21:43,Z,14:16:32,M\n196,N25,13:22:10,A,13:57:11,M\n398,L02,13:22:32,M,13:58:10,A\n399,M18,13:27:11,M,14:21:43,Z\n35,M14,13:27:43,Z,14:22:32,M\n197,N26,13:28:10,A,14:03:11,M\n400,L03,13:28:32,M,14:04:10,A\n401,N22,13:33:11,M,14:27:43,Z\n36,L09,13:33:43,Z,14:28:32,M\n198,L12,13:34:10,A,14:09:11,M\n402,N29,13:34:32,M,14:10:10,A\n403,N23,13:39:11,M,14:33:43,Z\n37,M15,13:39:43,Z,14:34:32,M\n199,N27,13:40:10,A,14:15:11,M\n404,L04,13:40:32,M,14:16:10,A\n405,L11,13:45:11,M,14:39:43,Z\n38,N19,13:45:43,Z,14:40:32,M\n200,L01,13:46:10,A,14:21:11,M\n406,L05,13:46:32,M,14:22:10,A\n407,N24,13:51:11,M,14:45:43,Z\n39,L10,13:51:43,Z,14:46:32,M\n201,N28,13:52:10,A,14:27:11,M\n408,N30,13:52:32,M,14:28:10,A\n409,N25,13:57:11,M,14:51:43,Z\n40,M16,13:57:43,Z,14:52:32,M\n202,L02,13:58:10,A,14:33:11,M\n410,L06,13:58:32,M,14:34:10,A\n411,N26,14:03:11,M,14:57:43,Z\n41,N20,14:03:43,Z,14:58:32,M\n203,L03,14:04:10,A,14:39:11,M\n412,L07,14:04:32,M,14:40:10,A\n413,L12,14:09:11,M,15:03:43,Z\n42,M17,14:09:43,Z,15:04:32,M\n204,N29,14:10:10,A,14:45:11,M\n414,M13,14:10:32,M,14:46:10,A\n415,N27,14:15:11,M,15:09:43,Z\n43,N21,14:15:43,Z,15:10:32,M\n205,L04,14:16:10,A,14:51:11,M\n416,L08,14:16:32,M,14:52:10,A\n417,L01,14:21:11,M,15:15:43,Z\n44,M18,14:21:43,Z,15:16:32,M\n206,L05,14:22:10,A,14:57:11,M\n418,M14,14:22:32,M,14:58:10,A\n419,N28,14:27:11,M,15:21:43,Z\n45,N22,14:27:43,Z,15:22:32,M\n207,N30,14:28:10,A,15:03:11,M\n420,L09,14:28:32,M,15:04:10,A\n421,L02,14:33:11,M,15:27:43,Z\n46,N23,14:33:43,Z,15:28:32,M\n208,L06,14:34:10,A,15:09:11,M\n422,M15,14:34:32,M,15:10:10,A\n423,L03,14:39:11,M,15:33:43,Z\n47,L11,14:39:43,Z,15:34:32,M\n209,L07,14:40:10,A,15:15:11,M\n424,N19,14:40:32,M,15:16:10,A\n425,N29,14:45:11,M,15:39:43,Z\n48,N24,14:45:43,Z,15:40:32,M\n210,M13,14:46:10,A,15:21:11,M\n426,L10,14:46:32,M,15:22:10,A\n427,L04,14:51:11,M,15:45:43,Z\n49,N25,14:51:43,Z,15:46:32,M\n211,L08,14:52:10,A,15:27:11,M\n428,M16,14:52:32,M,15:28:10,A\n429,L05,14:57:11,M,15:51:43,Z\n50,N26,14:57:43,Z,15:52:32,M\n212,M14,14:58:10,A,15:33:11,M\n430,N20,14:58:32,M,15:34:10,A\n\n\\\"\"\"", "question_type": "MIP"}
{"en_answer": "623.0", "difficulty": "Hard", "en_question": "Haus Toys can manufacture and sell toy trucks, toy planes, toy boats, and toy trains. The profit from selling one truck is $5, from one plane is $10, from one boat is $8, and from one train is $7. How many types of toys should Haus Toys manufacture to maximize profit?\n\nThere are 890 units of wood available. Manufacturing one truck requires 12 units of wood, one plane requires 20 units of wood, one boat requires 15 units of wood, and one train requires 10 units of wood.\n\nThere are 500 units of steel available. Manufacturing one plane requires 3 units of steel, one boat requires 5 units of steel, one train requires 4 units of steel, and one truck requires 6 units of steel.\n\nIf Haus Toys manufactures trucks, then they will not manufacture trains.\n\nHowever, if they manufacture boats, they will also manufacture planes.\n\nThe number of toy boats manufactured cannot exceed the number of toy trains manufactured.", "question_type": "IP"}
{"en_answer": "240000.0", "difficulty": "Easy", "en_question": "Vicky and David just bought a farm in the Yarra Valley and are considering using it to grow apples, pears, oranges, and lemons. The profit from growing one acre of apples is $2000, of pears is $1800, of oranges is $2200, and of lemons is $3000. In order to maximize profit, how many acres of land should they use to grow each fruit?\nVicky and David just bought a farm in the Yarra Valley and are considering using it to grow apples, pears, oranges, and lemons. The total land area is 120 acres.\n\nThe land area for growing apples should be at least twice the land area for growing pears.\n\nThe land area for growing apples should be at least three times the land area for growing lemons.\n\nThe land area for growing oranges must be twice the land area for growing lemons.\n\nVicky and David are not willing to grow more than two types of fruit.", "question_type": "IP"}
{"en_answer": "21.0", "difficulty": "Easy", "en_question": "A farmer needs to transport 1000 units of fresh agricultural products from the farm to a nearby market. The farmer has three transportation options: horses, bicycles, and hand carts. Due to the physical exertion required for bicycles and hand carts, the farmer only wants to choose one of these two transportation methods. Horses produce 80 units of pollution per trip, bicycles produce 0 units of pollution, and hand carts produce 0 units of pollution. The total pollution generated by all trips must not exceed 1000 units. The farmer needs to use horses for at least 8 trips. Horses, bicycles, and hand carts can each carry 55 units, 30 units, and 40 units of products per trip, respectively. The farmer needs to ensure that the total quantity of transported products is at least 1000 units.", "question_type": "MIP"}
{"en_answer": "365.0", "difficulty": "Easy", "en_question": "A furniture store can choose to order chairs from three different manufacturers, A, B, and C. The cost of ordering each chair from manufacturer A is $50, from manufacturer B is $45, and from manufacturer C is $40. The furniture store needs to minimize the total cost of the orders.\n\nAdditionally, each order from manufacturer A will include 15 chairs, while orders from B and C will include 10 chairs each. The order quantities can only be integers. The furniture store needs to order at least 100 chairs.\n\nEach order from manufacturer A will include 15 chairs, while orders from manufacturers B and C will include 10 chairs each. The furniture store needs to order a maximum of 500 chairs.\n\nIf the furniture store decides to order chairs from manufacturer A, it must also order at least 10 chairs from manufacturer B.\n\nAdditionally, if the furniture store decides to order chairs from manufacturer B, it must also order chairs from manufacturer C.", "question_type": "IP"}
{"en_answer": "960.0", "difficulty": "Easy", "en_question": "Bright Future Toys wants to build and sell robots, model cars, building blocks, and dolls. The profit from selling one robot is $15, from one model car is $8, from one set of building blocks is $12, and from one doll is $5. How many types of toys should Bright Future Toys manufacture to maximize profit?\n\nThere are 1200 units of plastic available. Manufacturing one robot requires 30 units of plastic, one model car requires 10 units of plastic, one set of building blocks requires 20 units of plastic, and one doll requires 15 units of plastic.\n\nThere are 800 units of electronic components available. Manufacturing one robot requires 8 units of electronic components, one model car requires 5 units of electronic components, one set of building blocks requires 3 units of electronic components, and one doll requires 2 units of electronic components.\n\nIf Bright Future Toys manufactures robots, then they will not manufacture dolls.\n\nHowever, if they manufacture model cars, they will also manufacture building blocks.\n\nThe number of dolls manufactured cannot exceed the number of model cars manufactured.", "question_type": "MIP"}
{"en_answer": "15000", "difficulty": "Easy", "en_question": "A restaurant needs to order tables from three different suppliers, A, B, and C. The cost of ordering each table from supplier A is $120, from supplier B is $110, and from supplier C is $100. The restaurant wants to minimize the total cost of the orders.\n\nIn addition, each order from supplier A will include 20 tables, while orders from suppliers B and C will include 15 tables each. The quantity of orders can only be whole numbers. The restaurant needs to order at least 150 tables.\n\nEach order from supplier A will include 20 tables, while orders from suppliers B and C will include 15 tables each. The restaurant needs to order a maximum of 600 tables.\n\nIf the restaurant decides to order tables from supplier A, it must also order at least 30 tables from supplier B.\n\nFurthermore, if the restaurant decides to order tables from supplier B, it must also order tables from supplier C.", "question_type": "MIP"}
{"en_answer": "368999.99999999994", "difficulty": "Medium", "en_question": "A company plans to produce three products $A_{1}, A_{2}, A_{3}$. It can produce for 22 days in a month. The table below gives the maximum demand (in units of 100 kg), prices ($\\$/100 \\mathrm{~Kg}$), production costs (per 100 kg of product), and production quotas (the maximum number of units of 100 kg of product that can be produced in a day if all production lines are dedicated to that product).\n\n| Product | $A_{1}$ | $A_{2}$ | $A_{3}$ |\n| :---: | :---: | :---: | :---: |\n| Maximum Demand | 5300 | 4500 | 5400 |\n| Selling Price | $\\$ 124$ | $\\$ 109$ | $\\$ 115$ |\n| Production Cost | $\\$ 73.30$ | $\\$ 52.90$ | $\\$ 65.40$ |\n| Production Quota | 500 | 450 | 550 |\n\nThe fixed activation cost for each production line is as follows:\n\n| Product | $A_{1}$ | $A_{2}$ | $A_{3}$ |\n| :---: | :---: | :---: | :---: |\n| Activation Cost | $\\$ 170000$ | $\\$ 150000$ | $\\$ 100000$ |\n\nThe minimum production batch sizes are as follows:\n$$\n\\begin{array}{c|ccc}\n\\text { Product } & A_{1} & A_{2} & A_{3} \\\\\n\\hline \\text { Minimum Batch Size } & 20 & 20 & 16\n\\end{array}\n$$\nPlease formulate an operations research model to determine the production plan that maximizes total revenue while accommodating the fixed activation costs and minimum production batch size restrictions.", "question_type": "MIP"}
{"en_answer": "0.0", "difficulty": "Medium", "en_question": "A wealthy nobleman has passed away, leaving behind the following inheritance:\n\n- A painting by Caillebotte: $25,000\n- A bust of Diocletian: $5,000\n- A Yuan Dynasty Chinese vase: $20,000\n- A 911 Porsche: $40,000\n- Three diamonds: $12,000 each\n- A Louis XV sofa: $3,000\n- Two very valuable Jack Russell racing dogs: $3,000 each (the will states they cannot be separated)\n- A sculpture from 200 AD: $10,000\n- A sailboat: $15,000\n- A Harley Davidson motorcycle: $10,000\n- A piece of furniture that once belonged to Cavour: $13,000\n\nIt must be divided between two sons. How can a mathematical program be formulated and solved using COPTPY to minimize the difference in value between the two parts?", "question_type": "IP"}
{"en_answer": "435431000", "difficulty": "Medium", "en_question": "The independent country of Carelland primarily exports four commodities: steel, engines, electronic components, and plastics. The Finance Minister of Carelland (i.e., the Minister of Economy) wants to maximize exports and minimize imports. The unit prices of steel, engines, electronics, and plastics on the world market, expressed in the local currency (Klunz), are: 500, 1500, 300, and 1200, respectively. Producing 1 unit of steel requires 0.02 units of engines, 0.01 units of plastics, 250 Klunz of other imported goods, and 6 person-months of work. Producing 1 unit of engines requires 0.8 units of steel, 0.15 units of electronic components, 0.11 units of plastics, 300 Klunz of imported goods, and 1 person-year. Producing 1 unit of electronics requires 0.01 units of steel, 0.01 units of engines, 0.05 units of plastics, 50 Klunz of imported goods, and 6 person-months. Producing 1 unit of plastics requires 0.03 units of engines, 0.2 units of steel, 0.05 units of electronic components, 300 Klunz of imported goods, and 2 person-years. The production limit for engines is 650,000 units, and the production limit for plastics is 60,000 units. The total available labor force per year is 830,000. Write a mathematical program to maximize the gross domestic product and solve the problem using AMPL.", "question_type": "LP"}
{"en_answer": "7.1", "difficulty": "Medium", "en_question": "A textile dyeing factory has 3 dyeing vats. The fabric must be dyed in each vat in order: vat 1, vat 2, vat 3. The factory needs to dye five batches of fabric of different sizes. The time required to dye batch i in vat j, denoted as $s_{ij}$ in hours, is given in the matrix below:\n\n$$\n\\left(\\begin{array}{ccc}\n3 & 1 & 1 \\\\\n2 & 1.5 & 1 \\\\\n3 & 1.2 & 1.3 \\\\\n2 & 2 & 2 \\\\\n2.1 & 2 & 3\n\\end{array}\\right)\n$$\n\nArrange the dyeing operations in the vats to minimize the end time of the last batch.", "question_type": "IP"}
{"en_answer": "4316659.199999999", "difficulty": "Medium", "en_question": "A person has a capital of 500,000 yuan and has the following investment projects in the next three years:\n(1) It is possible to invest at the beginning of each year for three years, with a profit of 20% of the investment amount each year.\n(2) Only allowed to invest at the beginning of the first year, and can be recovered at the end of the second year, with a total interest of 150% of the investment amount. However, the investment limit for this type of investment is not more than 120,000 yuan.\n(3) Allowed to invest at the beginning of the second year, and can be recovered at the end of the second year, with a total interest of 160% of the investment amount. The investment limit for this type of investment is 150,000 yuan.\n(4) Allowed to invest at the beginning of the third year, and can be recovered within one year with a profit of 40%. The investment limit for this type of investment is 100,000 yuan.\nTry to determine an investment plan that maximizes the total interest at the end of the third year for this person.", "question_type": "LP"}
{"en_answer": "530", "difficulty": "Medium", "en_question": "A hospital requires the following number of nurses during different time periods within a 24-hour day: 2:00-6:00 - 10 nurses, 6:00-10:00 - 15 nurses, 10:00-14:00 - 25 nurses, 14:00-18:00 - 20 nurses, 18:00-22:00 - 18 nurses, 22:00-2:00 - 12 nurses. Nurses work in 6 batches at 2:00, 6:00, 10:00, 14:00, 18:00, and 22:00, and work continuously for 8 hours. Determine if the hospital should hire contract nurses who work the same hours as regular nurses. If the salary for regular nurses is $10/hour and for contract nurses is $15/hour, how many contract nurses should the hospital hire?", "question_type": "MIP"}
{"en_answer": "978400", "difficulty": "Easy", "en_question": "A person has a capital of 300,000 yuan and has the following investment projects for the next three years:\n(1) Each year at the beginning of the year, the investment can be made, and the profit each year is 20% of the investment amount, and the principal and interest can be used together for the next year's investment;\n(2) Only allowed to invest at the beginning of the first year, can be recovered at the end of the second year, and the total principal and interest is 150% of the investment amount, but the investment limit for this type of investment does not exceed 150,000 yuan;\n(3) Allowed to invest at the beginning of the second year within three years, can be recovered at the end of the third year, and the total principal and interest is 160% of the investment amount, with an investment limit of 200,000 yuan;\n(4) Allowed to invest at the beginning of the third year within three years, recoverable within one year, with a profit of 40% and an investment limit of 100,000 yuan.\nChapter 1 Linear Programming and Simplex Method\nTry to determine an investment plan that maximizes the total principal and interest at the end of the third year for this person.", "question_type": "LP"}
{"en_answer": "4848", "difficulty": "Medium", "en_question": "A candy factory processes raw materials A, B, and C into three different types of candies: A, B, and C. The content of A, B, and C in each type of candy, the cost of raw materials, the monthly limit of each raw material, and the processing fee and selling price of the three types of candies are shown in Table 1-7.\nTable 1-7\n\\begin{tabular}{c|ccc|c|c}\n\\hline Item & A & B & C & Raw Material Cost (\u5143/kg) & Monthly Limit (kg) \\\\\n\\hline A & $\\geqslant 60 \\%$ & $\\geqslant 15 \\%$ & & 2.00 & 2000 \\\\\nB & & & & 1.50 & 2500 \\\\\nC & $\\leqslant 20 \\%$ & $\\leqslant 60 \\%$ & $\\leqslant 50 \\%$ & 1.00 & 1200 \\\\\n\\hline Processing Fee (\u5143/kg) & 0.50 & 0.40 & 0.30 & & \\\\\nSelling Price (\u5143/kg) & 3.40 & 2.85 & 2.25 & & \\\\\n\\hline\n\\end{tabular}\n\nWhat is the monthly production of each type of candy in kg that maximizes the profit of the factory?", "question_type": "LP"}
{"en_answer": "10755", "difficulty": "Hard", "en_question": "The contract booking numbers for three products, I, II, and III, for each quarter of the next year are shown in Table 1-10.\n\nTable 1-10\n\\begin{tabular}{c|c|c|c|c}\n\\hline \\multirow{2}{*}{ Product } & \\multicolumn{4}{|c}{ Quarter } \\\\\n\\cline { 2 - 5 } & 1 & 2 & 3 & 4 \\\\\n\\hline I & 1500 & 1000 & 2000 & 1200 \\\\\nII & 1500 & 1500 & 1200 & 1500 \\\\\nIII & 1000 & 2000 & 1500 & 2500 \\\\\n\\hline\n\\end{tabular}\n\nAt the beginning of the first quarter, there is no inventory for any of the three products. It is required to have 150 units of inventory for each product at the end of the fourth quarter. It is known that the factory has 15,000 hours of production time per quarter, and it takes 2, 4, and 3 hours respectively to produce one unit of products I, II, and III. Due to equipment replacement, product I cannot be produced in the second quarter. It is stipulated that if a product cannot be delivered on time, a compensation of $20 per unit per quarter will be paid for products I and II, and $10 for product III. Additionally, for products produced but not delivered in the same quarter, there is a storage cost of $5 per unit per quarter. How should the factory arrange its production to minimize the total compensation and storage costs?", "question_type": "MIP"}
{"en_answer": "118400", "difficulty": "Easy", "en_question": "A factory needs to rent a warehouse to store materials for the next 4 months. The required warehouse area for each month is listed in Table 1-14.\nTable 1-14\n\\begin{tabular}{c|c|c|c|c}\n\\hline Month & 1 & 2 & 3 & 4 \\\\\n\\hline Required Warehouse Area $/ \\mathrm{m}^2$ & 1500 & 1000 & 2000 & 1200 \\\\\n\\hline\n\\end{tabular}\n\nThe longer the rental contract period, the greater the discount on warehouse rental fees. The specific data is listed in Table 1-15.\nTable 1-15\n\\begin{tabular}{c|c|c|c|c}\n\\hline Contract Rental Period $/$ months & 1 & 2 & 3 & 4 \\\\\n\\hline \\begin{tabular}{c} \nRental Fee for Warehouse \\\\\nArea within the Contract Period $/ \\mathrm{m}^2$\n\\end{tabular} & 28 & 45 & 60 & 73 \\\\\n\\hline\n\\end{tabular}\n\nThe warehouse rental contract can be processed at the beginning of each month, and each contract specifies the rental area and period. Therefore, the factory can rent a contract on any month, and each time, they can sign one contract or multiple contracts with different rental areas and rental periods. The overall goal is to minimize the rental fees paid. Try to establish a linear programming mathematical model based on the above requirements.", "question_type": "MIP"}
{"en_answer": "426.0", "difficulty": "Medium", "en_question": "Fighter jets are important combat tools, but in order for them to be effective, there must be enough pilots. Therefore, in addition to a portion of the produced fighter jets being used directly for combat, another portion needs to be allocated for pilot training. It is known that the number of fighter jets produced each year is $a_j(j=1, \\cdots, n)$, and each fighter jet can train $k$ pilots per year. How should the production of fighter jets be allocated each year to maximize their contribution to national defense over a period of $n$ years?", "question_type": "LP"}
{"en_answer": "85", "difficulty": "Easy", "en_question": "Traveling Salesman Problem (TSP) with Specific Values\\n\\nThe famous traveling salesman problem in operations research can be described as follows: a traveling salesman starts from a certain city and goes to visit other \\( n \\) cities to sell goods. It is required to visit each city exactly once and then return to the original starting city. The distance between city \\( i \\) and city \\( j \\) is given as \\( d_{ij} \\). What kind of route sequence should the salesman choose to minimize the total travel distance?\\n\\nWe will establish an integer programming model for this problem using specific values for the number of cities and distances between them. Let's assume there are 5 cities (including the starting city) and the distance matrix \\( D \\) is given as follows:\\n\\n\\[\\nD = \\begin{bmatrix}\\n0 & 10 & 15 & 20 & 25 \\\\\\n10 & 0 & 35 & 25 & 30 \\\\\\n15 & 35 & 0 & 30 & 20 \\\\\\n20 & 25 & 30 & 0 & 15 \\\\\\n25 & 30 & 20 & 15 & 0\\n\\end{bmatrix}\\n\\", "question_type": "IP"}
{"en_answer": "16", "difficulty": "Medium", "en_question": "A certain university computer laboratory hires 4 undergraduate students (code names 1, 2, 3, 4) and 2 graduate students (code names 5, 6) to provide on-duty assistance. It is known that the maximum number of duty hours that each person can be assigned from Monday to Friday, as well as the hourly duty remuneration for each person, are shown in Table 5-9.\n\nTable 5-9:\n\\begin{tabular}{c|c|c|c|c|c|c}\n\\hline \\multirow{2}{*}{ Student Code } & \\multirow{2}{*}{ Remuneration/(\u00a5/h) } & \\multicolumn{5}{|c}{ Maximum Duty Time per Day (h) } \\\n\\cline { 3 - 7 } & & Monday & Tuesday & Wednesday & Thursday & Friday \\\n\\hline 1 & 10.0 & 6 & 0 & 6 & 0 & 7 \\\n\\hline 2 & 10.0 & 0 & 6 & 0 & 6 & 0 \\\n\\hline 3 & 9.9 & 4 & 8 & 3 & 0 & 5 \\\n\\hline 4 & 9.8 & 5 & 5 & 6 & 0 & 4 \\\n\\hline 5 & 10.8 & 3 & 0 & 4 & 8 & 0 \\\n\\hline 6 & 11.3 & 0 & 6 & 0 & 6 & 3 \\\n\\hline\n\\end{tabular}\n\nThe laboratory is open from 8:00 AM to 10:00 PM, and there must be one and only one student on duty during the opening hours. It is also stipulated that each undergraduate student must have a minimum of 8 hours of duty per week, and each graduate student must have a minimum of 7 hours of duty per week. Based on the above, the following requirements are added: firstly, each student should not have more than 2 duty shifts per week, and secondly, the number of students assigned to duty each day should not exceed 3. Based on this, establish a new mathematical model.", "question_type": "MIP"}
{"en_answer": "-1900.0", "difficulty": "Easy", "en_question": "Red Bean Clothing Factory uses three specialized machines to produce shirts, short-sleeved shirts, and casual wear. The labor, material, selling price, and variable cost per unit for the three products are given in Table 5-10.\nTable 5-10\n\\begin{tabular}{c|c|c|c|c}\n\\hline Product Name & Labor per unit & Material per unit & Selling Price & Variable Cost \\\n\\hline Shirt & 3 & 4 & 120 & 60 \\\n\\hline Short-sleeved shirt & 2 & 3 & 80 & 40 \\\n\\hline Casual wear & 6 & 6 & 180 & 80 \\\n\\hline\n\\end{tabular}\n\nIt is known that the factory has a weekly labor capacity of 150 units and a material capacity of 160 units. The fixed costs per week for producing shirts, short-sleeved shirts, and casual wear with the specialized machines are 2000, 1500, and 1000, respectively. Design a weekly production plan for the factory to maximize profit.", "question_type": "LP"}
{"en_answer": "150", "difficulty": "Easy", "en_question": "For a certain daytime and nighttime service bus route, the number of drivers and crew members required during each time period is given in Table 1-2:\nTable 1-2\n\\begin{tabular}{|c|c|c||c|c|c|}\n\\hline Shift & Time & Number Required & Shift & Time & Number Required \\\\\n\\hline 1 & $6: 00 \\sim 10: 00$ & 60 & 4 & $18: 00 \\sim 22: 00$ & 50 \\\\\n\\hline 2 & $10: 00 \\sim 14: 00$ & 70 & 5 & $22: 00 \\sim 2: 00$ & 20 \\\\\n\\hline 3 & $14: 00 \\sim 18: 00$ & 60 & 6 & $2: 00 \\sim 6: 00$ & 30 \\\\\n\\hline\n\\end{tabular}\n\nAssuming that the drivers and crew members start working at the beginning of each time period and work continuously for 8 hours, how many drivers and crew members should be assigned to this bus route at least? Write down the linear programming model for this problem.", "question_type": "LP"}
{"en_answer": "1146.57", "difficulty": "Medium", "en_question": "A factory produces three products, I, II, and III. Each product goes through two processing procedures, A and B. The factory has two types of equipment, A1 and A2, to complete procedure A, and three types of equipment, B1, B2, and B3, to complete procedure B. Product I can be processed on either type of A equipment or any type of B equipment. Product II can be processed on any type of A equipment, but when completing procedure B, it can only be processed on B1 equipment. Product III can only be processed on A2 and B2 equipment. Given the processing time, raw material cost, product selling price, available equipment operating time, and equipment cost at full load for each type of equipment, as shown in Table 1-4, determine the optimal production plan to maximize profit.\n\nTable 1-4\n\\begin{tabular}{|c|c|c|c|c|c|}\n\\hline \\multirow{2}{*}{ Equipment } & \\multicolumn{3}{|c|}{ Product } & \\multirow{2}{*}{ Available Equipment Operating Time } & \\multirow{2}{*}{ Equipment Cost at Full Load (in yuan) } \\\\\n\\cline { 2 - 4 } & I & II & III & & \\\\\n\\hline$A_1$ & 5 & 10 & & 6000 & 300 \\\\\n\\hline$A_2$ & 7 & 9 & 12 & 10000 & 321 \\\\\n\\hline$B_1$ & 6 & 8 & & 4000 & 250 \\\\\n\\hline$B_2$ & 4 & & 11 & 7000 & 783 \\\\\n\\hline$B_3$ & 7 & & & 4000 & 200 \\\\\n\\hline Raw Material Cost (in yuan per unit) & 0.25 & 0.35 & 0.50 & & \\\\\n\\hline Unit Price (in yuan per unit) & 1.25 & 2.00 & 2.80 & & \\\\\n\\hline\n\\end{tabular}", "question_type": "MIP"}
{"en_answer": "20", "difficulty": "Easy", "en_question": "In a rebar workshop, a batch of rebars (with the same diameter) is being produced. There are 90 rebars with a length of 3 meters and 60 rebars with a length of 4 meters. It is known that each rebar used for cutting is 10 meters long. What is the most efficient way to cut the rebars? Establish a linear programming model for this problem.", "question_type": "LP"}
{"en_answer": "5000.0", "difficulty": "Easy", "en_question": "A steel mill has two steelmaking furnaces, each using a different method. The first method requires $a$ hours per furnace and costs $m$ dollars in fuel. The second method requires $b$ hours per furnace and costs $n$ dollars in fuel. Assuming each furnace produces $k$ tons of steel, and now they want to produce at least $d$ tons of steel within $c$ hours, how should they allocate these two methods to minimize fuel costs? Express this problem as a linear programming model.", "question_type": "LP"}
{"en_answer": "22.0", "difficulty": "Hard", "en_question": "A certain restaurant operates 24 hours a day and requires a minimum number of waitstaff as shown in Table 1.1.\n\nTable 1.1\n\n| Time | Minimum Number of Waitstaff |\n| :---: | :---: |\n| 2am-6am | 4 |\n| 6am-10am | 8 |\n| 10am-2pm | 10 |\n| 2pm-6pm | 4 |\n| 6pm-10pm | 8 |\n| 10pm-2am | 4 |\n\nEach waitstaff works continuously for 8 hours a day. The goal is to find the minimum number of waitstaff that satisfies the above conditions and represent this problem as a linear programming model.", "question_type": "IP"}
{"en_answer": "770.0", "difficulty": "Easy", "en_question": "Assume a paper mill receives three orders for rolls of paper with specified widths and lengths as shown in Table 1.2.\n\nTable 1.2\n\n| Order Number | Width (m) | Length (m) |\n| :---: | :---: | :---: |\n| 1 | 0.5 | 1000 |\n| 2 | 0.7 | 3000 |\n| 3 | 0.9 | 2000 |\n\nThe mill produces rolls of paper with two standard widths: 1 meter and 2 meters. Assuming the length of the rolls is unlimited, meaning they can be continuously connected to achieve the required length, how should the rolls be cut to minimize the area lost during cutting?", "question_type": "LP"}
{"en_answer": "9500.0", "difficulty": "Easy", "en_question": "A certain store wants to develop a procurement and sales plan for a certain product for the first quarter of next year. It is known that the store's warehouse can store a maximum of 500 units of this product, and there are 200 units of inventory at the end of this year. The store makes a purchase at the beginning of each month. The unit prices for purchasing and selling this product for each month are shown in Table 1.3.\n\nTable 1.3\n\n| Month | 1 | 2 | 3 |\n| :---: | :---: | :---: | :---: |\n| Purchase Price (in yuan) | 8 | 6 | 9 |\n| Selling Price (in yuan) | 9 | 8 | 10 |\n\nNow, to determine how many units should be purchased and sold each month in order to maximize total profit, express this problem as a linear programming model.", "question_type": "LP"}
{"en_answer": "1360000.0", "difficulty": "Easy", "en_question": "An investor plans to invest his 100,000 yuan, and there are two investment options to choose from. The first investment guarantees a profit of 0.7 yuan for every 1 yuan invested after one year. The second investment guarantees a profit of 2 yuan for every 1 yuan invested after two years, but the investment time must be a multiple of two years. In order to maximize the money earned by the end of the third year, how should the investor invest? Represent this problem as a linear programming problem.", "question_type": "LP"}
{"en_answer": "25", "difficulty": "Medium", "en_question": "A textile factory produces two types of fabrics, one for making clothing and the other for making curtains. The factory operates two shifts, with a weekly production time set at 80 hours. Both types of fabrics are produced at a rate of 1000 meters per hour. Assuming that 70,000 meters of curtain fabric can be sold per week with a profit of 2.5 yuan per meter, and 45,000 meters of clothing fabric can be sold per week with a profit of 1.5 yuan per meter. The factory has the following objectives when formulating its production plan:\n\n$p_{1}$: Use the full 80 hours of production time per week.\n$p_{2}$: Overtime hours per week should not exceed 10 hours.\n$p_{3}$: Sell no less than 70,000 meters of curtain fabric and 45,000 meters of clothing fabric per week, with profit as the weighting factor.\n$p_{4}$: Minimize overtime hours.\n\nBuild an objective programming model for this problem.", "question_type": "LP"}
{"en_answer": "5500", "difficulty": "Medium", "en_question": "A certain shoe store employs 5 full-time salespeople and 4 part-time salespeople. Their working hours and salary information are shown in Table 3.3.\n\nTable 3.3\n\n| | Monthly Working Hours | Sales Volume (pairs/hour) | Salary (CNY/hour) | Overtime Pay (CNY/hour) |\n| :---: | :---: | :---: | :---: | :---: |\n| Full-time | 160 | 5 | 1 | 1.5 |\n| Part-time | 80 | 2 | 0.6 | 0.7 |\n\nA profit of 0.5 CNY is made for each pair of shoes sold. The store has the following objectives:\n\n$p_{1}$: Monthly sales volume reaches 5500 pairs;\n$p_{2}$: Full-time salespeople do not exceed 100 hours of overtime;\n\n$p_{3}$: All salespeople are fully employed, but full-time employees should be given double consideration;\n\n$p_{4}$: Minimize overtime hours as much as possible.\n\nTry to establish an objective programming model for this problem.", "question_type": "MIP"}