diff --git "a/IndustryOR.json" "b/IndustryOR.json" --- "a/IndustryOR.json" +++ "b/IndustryOR.json" @@ -1,100 +1,100 @@ -{"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 $qc$). 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
(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
(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"} +{"en_question": "A factory produces two types of food, I and II, and currently has 50 skilled workers. It is known that one skilled worker can produce $10 \\ \\mathrm{kg} / \\ \\mathrm{h}$ of food I or $6 \\ \\mathrm{kg} / \\ \\mathrm{h}$ of food II. According to contract bookings, the weekly demand for these two foods will rise sharply, as shown in Table 1-11. Therefore, the factory has decided to train 50 new workers by the end of the 8th week. It is known that a worker works $40 \\ \\mathrm{h}$ per week, and a skilled worker can train up to three new workers in two weeks (during the training period, both the skilled worker and the trainees do not participate in production). The weekly wage of a skilled worker is 360 yuan, the weekly wage of a trainee during the training period is 120 yuan, and after training, the wage is 240 yuan per week, with the same production efficiency as skilled workers. During the transition period of training, many skilled workers are willing to work overtime, and the factory has decided to arrange some workers to work $60 \\ \\mathrm{h}$ per week, with a weekly wage of 540 yuan. If the booked food cannot be delivered on time, the compensation fee for each week of delay per $ \\ \\mathrm{kg}$ is 0.5 yuan for food I and 0.6 yuan for food II. Under these conditions, how should the factory make comprehensive arrangements to minimize the total cost?\n\nTable 1-11\n\n| Week | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |\n|------|---|---|---|---|---|---|---|---|\n| I | 10000 | 10000 | 12000 | 12000 | 16000 | 16000 | 20000 | 20000 |\n| II | 6000 | 7200 | 8400 | 10800 | 10800 | 12000 | 12000 | 12000 |", "en_answer": "219816.0", "difficulty": "Medium", "id": 1} +{"en_question": "A fighter jet is a crucial combat tool, but to make a fighter jet effective, enough pilots are required. Therefore, a portion of the produced fighter jets, besides those used directly in combat, must be allocated for training pilots. Given that the annual production of fighter jets is \\(a_j(j=1, 2)\\), with \\(a_1=10\\) and \\(a_2=15\\), furthermore, each fighter jet can train 5 pilots per year. How should the annual production of fighter jets be allocated to maximize their contribution to air defense over \\(n\\) years?", "en_answer": "125", "difficulty": "Medium", "id": 2} +{"en_question": "For the manufacturing industry, formulating an appropriate product production plan and human resource management scheme is very important for reducing operating costs, inventory costs, stockout costs, and labor costs. Specifically, for products with large demand fluctuations, companies need to accurately predict demand and formulate corresponding production plans. A certain company produces a type of foldable table, the raw material cost for each product is 90 Yuan, and the labor hours are 5 hours. The unit price of the product is 300 Yuan. The company has 1,000 workers at the beginning of January and holds an inventory of 15,000 units. The regular hourly wage for workers is 30 Yuan, with a normal daily working time of 8 hours. Any extra working time is considered overtime, with an overtime hourly wage of 40 Yuan. The number of working days per month is calculated as 20 days. Suppose the company's available production machines are sufficient, and the capacity is not limited by machine hours. Each worker's overtime hours do not exceed 20 hours per month. Holding inventory will generate corresponding inventory costs. If a stockout occurs due to insufficient capacity, there will be certain stockout costs. Additionally, the company can also make up for the stockout part through outsourcing. The outsourcing cost per product, monthly inventory cost, and monthly stockout cost are 200 Yuan, 15 Yuan, and 35 Yuan, respectively. The company's employees are temporary workers, and the company can flexibly decide the number of people to hire and fire each month. The cost of hiring and firing a single employee is 5,000 Yuan and 8,000 Yuan, respectively. Suppose the company has used the existing forecasting model to predict the demand from January to June, 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 formulate a production plan, worker work schedule, and hire/fire plan for the company to maximize the total net profit over 6 months while ensuring that the company holds at least 10,000 units of products by the end of June.", "en_answer": "10349205.0", "difficulty": "Hard", "id": 3} +{"en_question": "A farmer needs to decide how many cows, sheep, and chickens to raise in order to achieve maximum profit. The farmer can sell cows, sheep, and chickens for $500, $200, and $8 each, respectively. The feed costs for each cow, sheep, and chicken are $100, $80, and $5, respectively. The profit is the difference between the selling price and the feed cost. Each cow, sheep, and chicken produces 10, 5, and 3 units of manure per day, respectively. Due to the limited time the farm staff has for cleaning the farm each day, they can handle up to 800 units of manure. Additionally, because of the limited farm size, the farmer can raise at most 50 chickens. Furthermore, the farmer must have at least 10 cows to meet customer demand. The farmer must also raise at least 20 sheep. Finally, the total number of animals cannot exceed 100.", "en_answer": "30400.0", "difficulty": "Easy", "id": 4} +{"en_question": "Mary is planning her dinner tonight. Every 100 grams of okra contains 3.2 grams of fiber, every 100 grams of carrots contains 2.7 grams of fiber, every 100 grams of celery contains 1.6 grams of fiber, and every 100 grams of cabbage contains 2 grams of fiber. How many grams of each type of food should Mary buy to maximize her fiber intake?\n\nShe is considering choosing one among salmon, beef, and pork as a protein source.\n\nShe also considers choosing at least two kinds of vegetables among okra, carrots, celery, and cabbage.\n\nThe price of salmon is $4 per 100 grams, beef is $3.6 per 100 grams, pork is $1.8 per 100 grams. The price of okra is $2.6 per 100 grams, carrots are $1.2 per 100 grams, celery is $1.6 per 100 grams, and cabbage is $2.3 per 100 grams. Mary has a budget of $15 for this meal.\n\nThe total food intake should be 600 grams.", "en_answer": "1600.0", "difficulty": "Easy", "id": 5} +{"en_question": "The contract reservations for the next year for products I, II, and III of a certain factory in each quarter are shown in Table 1-10.\n\nTable 1-10\n| Product | 1 | 2 | 3 | 4 |\n|---------|------|------|------|------|\n| I | 1500 | 1000 | 2000 | 1200 |\n| II | 1500 | 1500 | 1200 | 1500 |\n| III | 1000 | 2000 | 1500 | 2500 |\n\nAt the beginning of the first quarter, there is no inventory for these three products, and it is required to have 150 units in stock for each product by the end of the fourth quarter. It is known that the factory has 15,000 production hours per quarter, and each unit of products I, II, and III requires 2, 4, and 3 hours respectively. Due to a change in equipment, product I cannot be produced in the second quarter. It is stipulated that if the products cannot be delivered on time, a compensation of 20 yuan per unit per quarter delay is required for products I and II, while for product III, the compensation is 10 yuan. Additionally, for products produced but not delivered in the current quarter, the inventory cost is 5 yuan per unit per quarter. How should the factory schedule production to minimize the total cost of compensation and inventory?", "en_answer": "24250.0", "difficulty": "Hard", "id": 6} +{"en_question": "An Italian transportation company needs to move some empty containers from its 6 warehouses (located in Verona, Perugia, Rome, Pescara, Taranto, and Lamezia) to major national ports (Genoa, Venice, Ancona, Naples, Bari). The container inventory at the warehouses is as follows:\n\n| | Empty Containers |\n|:---:|:---:|\n| Verona | 10 |\n| Perugia | 12 |\n| Rome | 20 |\n| Pescara | 24 |\n| Taranto | 18 |\n| Lamezia | 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 transport is carried out by a fleet of trucks. The cost to transport each container is proportional to the distance traveled by the trucks, with a rate of 30 euros per kilometer. Each truck can carry up to 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| Lamezia | $1072 \\mathrm{~km}$ | $1097 \\mathrm{~km}$ | $747 \\mathrm{~km}$ | $372 \\mathrm{~km}$ | $333 \\mathrm{~km}$ |\n\nWrite a mathematical program to find the minimum cost transportation policy and solve it using COPTPY.", "en_answer": "904590.0", "difficulty": "Medium", "id": 7} +{"en_question": "Now, we need to determine 4 out of 5 workers to complete one of the four tasks respectively. Due to each worker's different technical specialties, the time required for them to complete each task varies. The hours required by each worker to complete each task are shown in Table 5-2.\n\nTable 5-2\n| Worker | $A$ | $B$ | $C$ | $D$ |\n|--------|-----|-----|-----|-----|\n| I | 9 | 4 | 3 | 7 |\n| II | 4 | 6 | 5 | 6 |\n| III | 5 | 4 | 7 | 5 |\n| IV | 7 | 5 | 2 | 3 |\n| V | 10 | 6 | 7 | 4 |\n\nTry to find a job assignment plan that minimizes the total working hours.", "en_answer": "14", "difficulty": "Medium", "id": 8} +{"en_question": "Haus Toys can manufacture and sell toy trucks, toy airplanes, toy boats, and toy trains. The profit for each truck sold is $5, each airplane $10, each boat $8, and each train $7. How many types of toys should Haus Toys manufacture to maximize profits?\n\nThere are 890 units of wood available. Each truck requires 12 units, each airplane 20 units, each boat 15 units, and each train 10 units.\n\nThere are 500 units of steel available. Each airplane requires 3 units, each boat 5 units, each train 4 units, and each truck 6 units.\n\nIf Haus Toys manufactures trucks, they will not manufacture trains.\n\nHowever, if they manufacture boats, they will also manufacture airplanes.\n\nThe number of toy boats manufactured cannot exceed the number of toy trains manufactured.", "en_answer": "623.0", "difficulty": "Hard", "id": 9} +{"en_question": "A convenience supermarket is planning to open several chain stores in a newly built residential area in the northwest suburb of the city. For shopping convenience, the distance from any residential area to one of the chain stores should not exceed $800 \\mathrm{~m}$. Table 5-1 shows the new residential areas and the residential areas within a radius of $800 \\mathrm{~m}$ from each of them. Question: What is the minimum number of chain stores the supermarket needs to build among the mentioned residential areas, and in which residential areas should they be built?\n\n| Area Code | Residential Areas within $800 \\mathrm{~m}$ Radius |\n|-----------|---------------------------------------------------|\n| A | A, C, E, G, H, I |\n| B | B, H, I |\n| C | A, C, G, H, I |\n| D | D, J |\n| E | A, E, G |\n| F | F, J, K |\n| G | A, C, E, G |\n| H | A, B, C, H, I |\n| I | A, B, C, H, I |\n| J | D, F, J, K, L |\n| K | F, J, K, L |\n| L | J, K, L |", "en_answer": "3", "difficulty": "Easy", "id": 10} +{"en_question": "A company produces two types of small motorcycles, where type A is entirely manufactured by the company, and type B is assembled from imported parts. The production, assembly, and inspection time required for each unit of these two products are shown in Table 3.2.\n\nTable 3.2\n\n| Type | Process | | | Selling Price
(Yuan/unit) |\n| :---: | :---: | :---: | :---: | :---: |\n| | Manufacturing | Assembly | Inspection | |\n| Type A (hours/unit) | 20 | 5 | 3 | 650 |\n| Type B (hours/unit) | 0 | 7 | 6 | 725 |\n| Max production capacity per week (hours) | 120 | 80 | 40 | |\n| Production cost per hour (Yuan) | 12 | 8 | 10 | |\n\nIf the company's operational goals and targets are as follows:\n\n$p_{1}$ : The total profit per week should be at least 3000 yuan;\n\n$p_{2}$ : At least 5 units of type A motorcycles should be produced per week;\n\n$p_{3}$ : Minimize the idle time of each process as much as possible. The weight coefficients of the three processes are proportional to their hourly costs, and overtime is not allowed.\n\nTry to establish a model for this problem.", "en_answer": "4136.0", "difficulty": "Medium", "id": 11} +{"en_question": "Red Star Plastics Factory produces 6 types of plastic containers. The capacity, demand, and variable costs of each container are shown in Table 5-11.\nTable 5-11\n\n| Container Code | 1 | 2 | 3 | 4 | 5 | 6 |\n|----------------|------|------|------|------|------|------|\n| Capacity $/ \\\\mathrm{cm}^3$ | 1500 | 2500 | 4000 | 6000 | 9000 | 12000 |\n| Demand/piece | 500 | 550 | 700 | 900 | 400 | 300 |\n| Variable Cost/(Yuan/piece) | 5 | 8 | 10 | 12 | 16 | 18 |\n\nEach type of container is produced using different specialized equipment, with a fixed cost of 1200 Yuan for each. When the quantity of a certain container is insufficient to meet demand, larger capacity containers can be used as substitutes. Question: How should production be organized to minimize the total cost while meeting the demand?", "en_answer": "13000", "difficulty": "Hard", "id": 12} +{"en_question": "Tom and Jerry just bought a farm in Sunshine Valley, and they are considering using it to plant corn, wheat, soybeans, and sorghum. The profit per acre for planting corn is $1500, the profit per acre for planting wheat is $1200, the profit per acre for planting soybeans is $1800, and the profit per acre for planting sorghum is $1600. To maximize their profit, how many acres of land should they allocate to each crop? Tom and Jerry’s farm has a total area of 100 acres.\n\nThe land area used for planting corn must be at least twice the land area used for planting wheat.\n\nThe land area used for planting soybeans must be at least half the land area used for planting sorghum.\n\nThe land area used for planting wheat must be three times the land area used for planting sorghum.", "en_answer": "180000.0", "difficulty": "Medium", "id": 13} +{"en_question": "Mary is planning tonight's dinner. In addition to the vegetables she previously considered, she also wants to choose chicken, salmon, or tofu as a source of protein. Each 100 grams of chicken contains 23 grams of protein, each 100 grams of salmon contains 20 grams of protein, and each 100 grams of tofu contains 8 grams of protein. The price of chicken is $3 per 100 grams, salmon is $5 per 100 grams, and tofu is $1.5 per 100 grams. Considering Mary's budget is $20, how should she choose the ingredients to maximize protein intake? Additionally, the total weight of the food should not exceed 800 grams, and she needs to select at least three vegetables and one source of protein.", "en_answer": "1.5333333333333334", "difficulty": "Hard", "id": 14} +{"en_question": "A certain factory needs to use a special tool over $n$ planning stages. At stage $j$, $r_j$ specialized tools are needed. At the end of this stage, all tools used within this stage must be sent for repair before they can be reused. There are two repair methods: one is slow repair, which is cheaper (costs $b$ per tool) but takes longer ($p$ stages to return); the other is fast repair, which costs $c$ per tool $(c > b)$ and is faster, requiring only $q$ stages to return $(q < p)$. If the repaired tools cannot meet the needs, new ones must be purchased, with a cost of $a$ per new tool $(a > c)$. This special tool will no longer be used after $n$ stages. Determine an optimal plan for purchasing and repairing the tools to minimize the cost spent on tools during the planning period.\\n\\nn = 10 # number of stages\\nr = [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", "en_answer": "36", "difficulty": "Medium", "id": 15} +{"en_question": "A store plans to formulate the purchasing and sales plan for a certain product for the first quarter of next year. It is known that the warehouse capacity of the store can store up to 500 units of the product, and there are 200 units in stock at the end of this year. The store purchases goods once at the beginning of each month. The purchasing and selling prices of the product in each month are shown in Table 1.3.\n\nTable 1.3\n\n| Month | 1 | 2 | 3 |\n| :---: | :---: | :---: | :---: |\n| Purchasing Price (Yuan) | 8 | 6 | 9 |\n| Selling Price (Yuan) | 9 | 8 | 10 |\n\nNow, determine how many units should be purchased and sold each month to maximize the total profit, and express this problem as a linear programming model.", "en_answer": "4100.0", "difficulty": "Easy", "id": 16} +{"en_question": "Certain strategic bomber groups are tasked with destroying enemy military targets. It is known that the target has four key parts, and destroying any one of them will suffice. The fuel consumption limit for completing this task is 48,000 liters, with a maximum of 48 heavy bombs and 32 light bombs. When carrying heavy bombs, each liter of fuel allows a distance of 2 km, whereas with light bombs, each liter allows 3 km. Additionally, each aircraft can only carry one bomb per trip, and each bombing run requires fuel not only for the round trip (each liter of fuel allows 4 km when the aircraft is empty) but also 100 liters for both takeoff and landing per trip. Relevant data is shown in Table 1-17.\n\nTable 1-17\n| Key Part | Distance from Airport (km) | Probability of Destruction per Heavy Bomb | Probability of Destruction per Light Bomb |\n|----------|----------------------------|-----------------------------------------|------------------------------------------|\n| | | | |\n| 1 | 450 | 0.10 | 0.08 |\n| 2 | 480 | 0.20 | 0.16 |\n| 3 | 540 | 0.15 | 0.12 |\n| 4 | 600 | 0.25 | 0.20 |\n\nTo maximize the probability of destroying the enemy military target, how should the bombing plan be determined? Establish a linear programming model for this problem.", "en_answer": "1.1911788832813004e-09", "difficulty": "Hard", "id": 17} +{"en_question": "A textile factory produces two types of fabrics: one for clothing and the other for curtains. The factory operates two shifts, with a weekly production time set at 110 hours. Both types of fabrics are produced at a rate of 1000 meters per hour. Assuming that up to 70,000 meters of curtain fabric can be sold per week, with a profit of 2.5 yuan per meter, and up to 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 in formulating its production plan:\n\n$p_{1}$ : The weekly production time must fully utilize 110 hours;\n\n$p_{2}$ : Overtime should not exceed 10 hours per week;\n\n$p_{3}$ : At least 70,000 meters of curtain fabric and 45,000 meters of clothing fabric must be sold per week;\n\n$p_{4}$ : Minimize overtime as much as possible.\n\nFormulate a model for this problem.", "en_answer": "227500.0", "difficulty": "Medium", "id": 18} +{"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 store needs to minimize the total cost of the order.\n\nAdditionally, each order from manufacturer A will include 15 chairs, while each order from manufacturers B and C will include 10 chairs. The number of orders must be an integer. The store needs to order at least 100 chairs.\n\nEach order from manufacturer A will include 15 chairs, while each order from manufacturers B and C will include 10 chairs. The store needs to order at most 500 chairs.\n\nIf the store decides to order chairs from manufacturer A, it must also order at least 10 chairs from manufacturer B.\n\nFurthermore, if the store decides to order chairs from manufacturer B, it must also order chairs from manufacturer C.", "en_answer": "4000.0", "difficulty": "Easy", "id": 19} +{"en_question": "Bright Future Toys wants to build and sell robots, model cars, building blocks, and dolls. The profit for each robot sold is $15, for each model car sold is $8, for each set of building blocks sold is $12, and for each doll sold is $5. How many types of toys should Bright Future Toys manufacture to maximize profit?\nThere are 1200 units of plastic available. Each robot requires 30 units of plastic, each model car requires 10 units of plastic, each set of building blocks requires 20 units of plastic, and each doll requires 15 units of plastic.\n\nThere are 800 units of electronic components available. Each robot requires 8 units of electronic components, each model car requires 5 units of electronic components, each set of building blocks requires 3 units of electronic components, and each doll requires 2 units of electronic components.\n\nIf Bright Future Toys manufactures robots, 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.", "en_answer": "956.0", "difficulty": "Easy", "id": 20} +{"en_question": "A restaurant needs to order dining tables from three different suppliers, A, B, and C. The cost of ordering each dining table from Supplier A is $120, from Supplier B is $110, and from Supplier C is $100. The restaurant needs to minimize the total cost of the order.\n\nAdditionally, each order from Supplier A will include 20 tables, while each order from Suppliers B and C will include 15 tables. The number of orders must be an integer. The restaurant needs to order at least 150 tables.\n\nEach order from Supplier A will include 20 tables, and each order from Suppliers B and C will include 15 tables. The restaurant needs to order no more than 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\nAdditionally, if the restaurant decides to order tables from Supplier B, it must also order tables from Supplier C.", "en_answer": "1000.0", "difficulty": "Easy", "id": 21} +{"en_question": "A company plans to produce 3 types of products $A_{1}, A_{2}, A_{3}$. It can produce for 22 days in a month. The following table gives the maximum demand (unit $=100 \\mathrm{~kg}$), price ($\\$ / 100 \\mathrm{Kg}$), production cost (per 100Kg product), and production quota (the maximum number of 100kg units that can be produced in one day if all production lines are devoted to this 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 of the production line is as follows:\n\n| Product | $A_{1}$ | $A_{2}$ | $A_{3}$ |\n| :---: | :---: | :---: | :---: |\n| Activation Cost | $170000$ | $150000$ | $100000$ |\n\nMinimum production batch:\n\n$$\n\\begin{array}{c|ccc}\nProduct & A_{1} & A_{2} & A_{3} \\\\\n\\hline\nMinimum Batch & 20 & 20 & 16\n\\end{array}\n$$\n\nPlease formulate an operations research model to determine a production plan that maximizes total revenue while accommodating fixed activation costs and minimum production batch constraints.", "en_answer": "7890.0", "difficulty": "Medium", "id": 22} +{"en_question": "Hongdou Clothing Factory uses three special equipment to produce shirts, short-sleeved shirts, and casual clothes respectively. It is known that the labor, material usage, selling price, and variable cost of each of the above products are as shown in Table 5-10.\n\nTable 5-10\n\n| Product Name | Labor per unit | Material per unit | Selling Price | Variable Cost |\n|--------------|----------------|------------------|---------------|---------------|\n| Shirt | 3 | 4 | 120 | 60 |\n| Short-sleeve | 2 | 3 | 80 | 40 |\n| Casual Cloth | 6 | 6 | 180 | 80 |\n\nIt is known that the available labor per week is 1500 units, the available material is 1600 units, and the weekly fixed costs for the three special equipment for producing shirts, short-sleeved shirts, and casual clothes are 2000, 1500, and 1000 respectively. Design a weekly production plan for the factory to maximize its profit.", "en_answer": "21500.0", "difficulty": "Easy", "id": 23} +{"en_question": "A manufacturing company needs to transport 1800 units of product from the warehouse to three different sales points. The company has four transportation options to choose from: truck, van, motorcycle, and electric vehicle. Since the van and electric vehicle both consume a lot of energy, the company wants to choose only one of these two options. Each trip with a truck generates 100 units of pollution, a van generates 50 units of pollution, a motorcycle generates 10 units of pollution, and an electric vehicle generates 0 units of pollution. The total pollution generated from all trips cannot exceed 2000 units. At least 10 trips must use a truck. Trucks, vans, motorcycles, and electric vehicles can transport 100 units, 80 units, 40 units, and 60 units of product per trip, respectively. The company needs to ensure that the total amount of transported product is at least 1800 units.", "en_answer": "1000.0", "difficulty": "Easy", "id": 24} +{"en_question": "An investor plans to invest 100,000 yuan, with two investment options to choose from. The first investment guarantees a return of 0.7 yuan for every 1 yuan invested after one year. The second investment guarantees a return of 2 yuan for every 1 yuan invested after two years, but the investment time must be in multiples of two years. In order to maximize the investor's earnings by the end of the third year, how should the investments be made? Formulate this as a linear programming problem.", "en_answer": "510000.0", "difficulty": "Easy", "id": 25} +{"en_question": "The number of salespeople required at a 24-hour convenience store in different time periods is 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. Salespeople start their shifts at 2:00, 6:00, 10:00, 14:00, 18:00, and 22:00, working continuously for 8 hours. Determine the minimum number of salespeople needed to meet the requirements.", "en_answer": "53", "difficulty": "Hard", "id": 26} +{"en_question": "A factory produces three types of products: I, II, and III. Each product needs to go through two processing procedures, A and B. The factory has two pieces of equipment that can complete process A, denoted as A1 and A2; it has three pieces of equipment that complete process B, denoted as B1, B2, and B3. Product I can be processed on any equipment for A and B; Product II can be processed on any A equipment but only on B1 for process B; Product III can only be processed on A2 and B2. Given the unit processing time on various machines, raw material costs, product sale prices, effective machine hours, and the costs of operating the machines at full capacity as shown in Table 1-4, the task is to arrange the optimal production plan to maximize the factory's profit.\n\nTable 1-4\n| Equipment | Product I | Product II | Product III | Effective Machine Hours | Operating Costs at Full Capacity (Yuan) |\n|------------|-----------|------------|-------------|--------------------------|------------------------------------------|\n| A1 | 5 | 10 | | 6000 | 300 |\n| A2 | 7 | 9 | 12 | 10000 | 321 |\n| B1 | 6 | 8 | | 4000 | 250 |\n| B2 | 4 | | 11 | 7000 | 783 |\n| B3 | 7 | | | 4000 | 200 |\n| Raw Material Cost (Yuan/Unit) | 0.25 | 0.35 | 0.50 | | |\n| Unit Price (Yuan/Unit) | 1.25 | 2.00 | 2.80 | | |", "en_answer": "1146.4142", "difficulty": "Hard", "id": 27} +{"en_question": "Someone has a fund of 300,000 yuan and has the following investment projects in the next three years:\n(1) Investment can be made at the beginning of each year within three years, with an annual profit of 20% of the investment amount, and the principal and interest can be used for investment in the following year;\n(2) Investment is only allowed at the beginning of the first year, and it can be recovered at the end of the second year, with the total principal and interest amounting to 150% of the investment amount, but the investment limit is no more than 150,000 yuan;\n(3) Investment is allowed at the beginning of the second year within three years, and it can be recovered at the end of the third year, with the total principal and interest amounting to 160% of the investment amount, and the investment limit is 200,000 yuan;\n(4) Investment is allowed at the beginning of the third year within three years, and it can be recovered in one year with a profit of 40%, and the investment limit is 100,000 yuan.\nChapter One: Linear Programming and Simplex Method\nTry to determine an investment plan for this person that maximizes the principal and interest at the end of the third year.", "en_answer": "580000", "difficulty": "Medium", "id": 28} +{"en_question": "Jieli Company needs to recruit three types of professionals to work in the two regional branches located in Donghai City and Nanjiang City. The demand for different professionals in these regional branches is shown in Table 4-3. After assessing the situation of the applicants, the company has categorized them into 6 types. Table 4-4 lists the specialties each type of person can handle, the specialty they prefer, and the city they prefer to work in. The company's personnel arrangement considers the following three priorities:\n$p_1$: All three types of professionals needed are fully met;\n$p_2$: 8000 recruited personnel meet their preferred specialty;\n$p_3$: 8000 recruited personnel meet their preferred city.\nTry to establish a mathematical model for goal planning accordingly.\n\nTable 4-3\n| Branch Location | Specialty | Demand |\n|-----------------|-----------|--------|\n| Donghai City | 1 | 1000 |\n| Donghai City | 2 | 2000 |\n| Nanjiang City | 3 | 1500 |\n| Nanjiang City | 1 | 2000 |\n| Nanjiang City | 2 | 1000 |\n| Nanjiang City | 3 | 1000 |\n\nTable 4-4\n\n| Type | Number of People | Suitable Specialty | Preferred Specialty | Preferred City |\n|------|------------------|--------------------|---------------------|----------------|\n| 1 | 1500 | 1,2 | 1 | Donghai |\n| 2 | 1500 | 2,3 | 2 | Donghai |\n| 3 | 1500 | 1,3 | 1 | Nanjiang |\n| 4 | 1500 | 1,3 | 3 | Nanjiang |\n| 5 | 1500 | 2,3 | 3 | Donghai |\n| 6 | 1500 | 3 | 3 | Nanjiang |", "en_answer": "11500.0", "difficulty": "Medium", "id": 29} +{"en_question": "Suppose a certain animal needs at least $700 \\mathrm{~g}$ of protein, $30 \\mathrm{~g}$ of minerals, and $100 \\mathrm{mg}$ of vitamins daily. There are 5 types of feed available, and the nutritional content and price per gram of each type of feed are shown in Table 1-5:\nTry to formulate a linear programming model that meets the animal's growth needs while minimizing the cost of selecting the feed.\nTable 1-6\n| Feed | Protein (g) | Minerals (g) | Vitamins (mg) | Price (¥/kg) | Feed | Protein (g) | Minerals (g) | Vitamins (mg) | Price (¥/kg) |\n|------|-------------|--------------|---------------|--------------|------|-------------|--------------|---------------|--------------|\n| 1 | 3 | 1 | 0.5 | 0.2 | 4 | 6 | 2 | 2 | 0.3 |\n| 2 | 2 | 0.5 | 1 | 0.7 | 5 | 18 | 0.5 | 0.8 | 0.8 |\n| 3 | 1 | 0.2 | 0.2 | 0.4 | | | | | |", "en_answer": "32.43589743589744", "difficulty": "Easy", "id": 30} +{"en_question": "A factory produces three types of products, I, II, and III. Each product requires two processing stages, A and B. It is assumed that the factory has two types of equipment to complete the A processing stage, denoted as A1 and A2; and two types of equipment to complete the B processing stage, denoted as B1 and B2. Product I can be processed on any type of A equipment, but for the B processing stage, it can only be processed on B1 equipment; Product III can only be processed on A2 and B2 equipment. The processing time per piece, raw material cost, sales price of products, effective machine hours for various equipment, and costs of equipment at full capacity are given in Table 1-18. The requirement is to arrange the optimal production plan so that the factory's profit is maximized.\n\nTable 1-18\n| Equipment | Product I | Product II | Product III | Effective Machine Hours | Cost of Equipment at Full Capacity (Yuan) |\n|-------------|-----------|------------|-------------|------------------------|-------------------------------------------|\n| A1 | 5 | 10 | | 10000 | 321 |\n| A2 | 7 | 9 | 12 | 4000 | 250 |\n| B1 | 6 | 8 | | 7000 | 783 |\n| B2 | 4 | | 11 | 4000 | 200 |\n| B3 | 7 | | | | |\n| Raw Material Cost (Yuan/Piece) | 0.25 | 0.35 | 0.50 | | |\n| Unit Price (Yuan/Piece) | 1.25 | 2.00 | 2.80 | | |", "en_answer": "1217.3999999999999", "difficulty": "Hard", "id": 31} +{"en_question": "A product consists of three components produced by four workshops, each with a limited number of production hours. Table 1.4 below provides the production rates of the three components. The objective is to determine the number of hours each workshop should allocate to each component to maximize the number of completed products. Formulate this problem as a linear programming problem.\n\nTable 1.4\n\n| Workshop | Production Capacity (hours) | Production Rate (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 |", "en_answer": "2924.0", "difficulty": "Easy", "id": 32} +{"en_question": "A wealthy noble passed away, leaving the following inheritance:\n\n- A painting by Caillebotte: $25000\n- A bust of Diocletian: $5000\n- A Yuan dynasty Chinese vase: $20000\n- A 911 Porsche: $40000\n- Three diamonds: each $12000\n- A Louis XV sofa: $3000\n- Two very precious Jack Russell racing dogs: each $3000 (will stipulates they must not be separated)\n- A sculpture from 200 AD: $10000\n- A sailing boat: $15000\n- A Harley Davidson motorcycle: $10000\n- A piece of furniture once belonging to Cavour: $13000,\n\nwhich must be shared between two sons. How to formulate a mathematical program and solve it using COPTPY to minimize the difference in value between the two parts?", "en_answer": "1000.0", "difficulty": "Medium", "id": 33} +{"en_question": "The current problem faced by the company is how to use the fewest number of containers to pack the currently needed goods for transportation, while considering the weight of the goods, specific packaging requirements, and inventory limitations. Professional modeling and analysis are needed for a batch of goods’ transportation strategy to ensure maximum utilization of the limited container space.\n\nThe company currently has a batch to be transported, with each container able to hold a maximum of 60 tons of goods and each container used must load at least 18 tons of goods. The goods to be loaded include five types: A, B, C, D, and E, with quantities of 120, 90, 300, 90, and 120 respectively. The weights are 0.5 tons for A, 1 ton for B, 0.4 tons for C, 0.6 tons for D, and 0.65 tons for E. Additionally, to meet specific usage requirements, every time A goods are loaded, at least 1 unit of C must also be loaded, but loading C alone does not require simultaneously loading A; and considering the demand limitation for D goods, each container must load at least 12 units of D.\n\nEstablish an operations research model so that the company can use the fewest number of containers to pack this batch of goods.", "en_answer": "7.0", "difficulty": "Hard", "id": 34} +{"en_question": "A fabric dyeing plant has 3 dyeing vats. Each batch of fabric must be dyed in sequence in each vat: first, the second, and third vats. The plant must color five batches of fabric of different sizes. The time required in hours to dye batch $i$ in vat $j$ is given in the following matrix:\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\nSchedule the dyeing operations in the vats to minimize the completion time of the last batch.", "en_answer": "14.1", "difficulty": "Medium", "id": 35} +{"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: In a certain area, there are a certain number of customers and a distribution center or warehouse. Customers are generally distributed in different locations, and each customer has a certain amount of delivery needs. The distribution center or warehouse needs to dispatch a fleet of vehicles and design an appropriate delivery plan to meet the delivery needs of all customers. The goal of VRP is to optimize efficiency while meeting all customer needs. The efficiency is usually measured in the form of an objective function, which varies with the enterprise's requirements. Common objective functions include minimizing the total distance traveled by vehicles, minimizing the total delivery time, and minimizing the number of vehicles used. In addition to meeting customers' delivery needs, VRP usually needs to consider various constraints, giving rise to various variants. For example, if the vehicle's load must not exceed its maximum capacity, the problem becomes the Capacitated Vehicle Routing Problem (CVRP); if each customer's delivery needs must be met within a specific time window, the problem changes to the Vehicle Routing Problem with Time Windows (VRPTW).\n\nThe Vehicle Routing Problem with Time Windows (VRPTW) is a classic problem developed from VRP. In reality, there are many application scenarios for VRPTW. Each customer point generally has a service time window. For example, some logistics centers need to store packages during less busy times, some large supermarkets need to replenish stocks during non-business hours, and real-time delivery methods such as food delivery require delivery within specific time windows. Time windows are divided into soft time windows and hard time windows. Hard Time Windows (HTW) mean that vehicles must arrive at or before the delivery point within the time window and cannot arrive late. If they arrive early, they must wait until the time window starts to perform the service, such as in supermarket restocking and logistics center warehousing. Soft Time Windows (STW) mean that vehicles do not have to arrive within the original hard time window but should try to arrive within it. If vehicles arrive early, there is a cost for early arrival; if they arrive late, there is a penalty, as seen in scenarios such as food delivery, school bus pick-up and drop-off, and industrial delivery.\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 an area. Vehicles need to depart from and return to the distribution center, and routes should be continuous, with each customer being served by only one vehicle. Vehicles also have a capacity constraint. Each customer has a specific service time window and will only accept service within this window. Vehicles can arrive at customer points early and wait for the time window to open, or they can arrive within the time window to provide service. Vehicles can only start providing service within the time window, and the service time is known. The distribution center needs to arrange a reasonable delivery plan to complete the delivery tasks while minimizing travel costs. Since VRPHTW does not allow delays, it primarily emphasizes travel costs on the routes, similar to VRP. Please now proceed with operations research modeling for VRPHTW.", "en_answer": "1644.63", "difficulty": "Hard", "id": 36} +{"en_question": "A factory produces two types of microcomputers, A and B. Each type of microcomputer requires the same two production processes. The processing time, profit from sales, and the maximum weekly processing capacity for each type are shown in Table 3.1.\n\nTable 3.1\n\n| Process | Model | | Maximum Weekly Processing Capacity |\n| :---: | :---: | :---: | :---: |\n| | $\\\\mathrm{A}$ | $\\\\mathrm{B}$ | |\n| I (hours / unit) | 4 | 6 | 150 |\n| II (hours / unit) | 3 | 2 | 70 |\n| Profit ($ per unit) | 300 | 450 | |\n\nThe expected values for the factory's operational goals are as follows:\n\n$p_{1}$: The total weekly profit must not be less than $10,000.\n\n$p_{2}$: Due to contractual requirements, at least 10 units of Model A and at least 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 fully utilized, with potential overtime if necessary.\n\nTry to establish the mathematical programming model for this problem.", "en_answer": "11250.0", "difficulty": "Medium", "id": 37} +{"en_question": "There are three different products to be processed on three machine tools. Each product must first be processed on machine 1, then sequentially on machines 2 and 3. The order of processing the three products on each machine should remain the same. Assuming $t_{ij}$ represents the time to process the $i$-th product on the $j$-th machine, how should the schedule be arranged to minimize the total processing cycle for the three products? The timetable is as follows:\n| Product | Machine 1 | Machine 2 | Machine 3 |\n|---------|-----------|-----------|-----------|\n| Product 1 | 2 | 3 | 1 |\n| Product 2 | 4 | 2 | 3 |\n| Product 3 | 3 | 5 | 2 |", "en_answer": "14", "difficulty": "Easy", "id": 38} +{"en_question": "A company plans to transport goods between the city and the suburb and needs to choose the most environmentally friendly transportation method. The company can choose from the following three methods: motorcycle, small truck, and large truck. 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 out of these three transportation methods.\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.", "en_answer": "600.0", "difficulty": "Easy", "id": 39} +{"en_question": "The independent country of Carelland mainly exports four commodities: steel, engines, electronic components, and plastic. Carelland's Minister of Finance (i.e., Minister of Economy) wants to maximize exports and minimize imports. The unit prices of steel, engines, electronics, and plastic on the world market are, in local currency (Klunz), 500, 1500, 300, 1200 respectively. Producing 1 unit of steel requires 0.02 units of engines, 0.01 units of plastic, 250 Klunz of other imported goods, and 6 person-months of labor. Producing 1 unit of engines requires 0.8 units of steel, 0.15 units of electronic components, 0.11 units of plastic, 300 Klunz of imported goods, and 1 person-year. One unit of electronics requires: 0.01 units of steel, 0.01 units of engines, 0.05 units of plastic, 50 Klunz of imported goods, and 6 person-months of labor. One unit of plastic 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. Engine production is limited to 650000 units, and plastic production is limited to 60000 units. The total available labor force per year is 830000 person-months. Write a mathematical program to maximize domestic GDP and solve the problem using AMPL.", "en_answer": "33288066.626", "difficulty": "Medium", "id": 40} +{"en_question": "A person has a fund of 500,000 yuan and the following investment projects available in the next three years:\n\n(1) Investment can be made at the beginning of each year within three years, and the annual profit is 20% of the investment amount.\n\n(2) Investment is only allowed at the beginning of the first year, and can be recovered at the end of the second year, with the total principal and interest being 150% of the investment amount. However, this type of investment is limited to no more than 120,000 yuan.\n\n(3) Investment at the beginning of the second year, recoverable at the end of the second year, with the total principal and interest being 160% of the investment amount. This type of investment is limited to 150,000 yuan.\n\n(4) Investment is allowed at the beginning of the third year, recoverable in one year, with a profit of 40%, and the investment limit is 100,000 yuan.\n\nDetermine an investment plan for the person that maximizes the total principal and interest by the end of the third year.", "en_answer": "96.464", "difficulty": "Medium", "id": 41} +{"en_question": "Two steel furnaces at a steel plant each use two methods of steelmaking simultaneously. The first method takes $a=2$ hours per furnace and costs $m=50$ in fuel expenses; the second method takes $b=3$ hours per furnace and costs $n=70$ in fuel expenses. Assuming each furnace produces $k=10$ tons of steel regardless of the method used, and that at least $d=30$ tons of steel must be produced within $c=12$ hours, how should these two methods be allocated to minimize fuel expenses? Formulate this problem as a linear programming model.", "en_answer": "150.0", "difficulty": "Easy", "id": 42} +{"en_question": "A production base needs to extract raw materials from warehouses A and B every day for production. The required raw materials are: at least 240 pieces of raw material A, at least 80 kg of raw material B, and at least 120 tons of raw material C. It is known that: Each truck from warehouse A can transport back to the production base 4 pieces of raw material A, 2 kg of raw material B, 6 tons of raw material C, with a freight cost of 200 yuan per truck; each truck from warehouse B can transport back to the production base 7 pieces of raw material A, 2 kg of raw material B, 2 tons of raw material C per day, with a freight cost of 160 yuan per truck. Question: In order to meet production needs, how many trucks should be dispatched daily from warehouse A and warehouse B to minimize the total freight cost?", "en_answer": "6800", "difficulty": "Medium", "id": 43} +{"en_question": "Given that there are $m=2$ production points for a certain type of material, where the output at the $i$-th point $(i=1,2)$ is $a_i$, $a_1 = 100$, and $a_2 = 150$. This material is to be shipped to $n=2$ demand points, where the demand at the $j$-th point $(j=1, 2)$ is $b_j$, $b_1 = 80$, and $b_2 = 120$. It is known that $\\sum_i a_i \\geqslant \\sum_j b_j$. It is also known that when shipping from production points to demand points, it must pass through one of the $p=2$ intermediate marshaling stations. If the $k$-th $(k=1, 2)$ intermediate marshaling station is used, a fixed cost $f_k$ is incurred regardless of the transshipment volume, where $f_1 = 10$ and $f_2 = 15$. The $k$-th intermediate marshaling station has a maximum transshipment capacity limitation $q_k$, where $q_1 = 100$ and $q_2 = 100$. Let $c_{i k}$ and $c'_{k j}$ denote the unit transportation cost from $i$ to $k$ and from $k$ to $j$, respectively, where $c_{11}=2$, $c_{12}=3$, $c_{21}=4$, $c_{22}=1$, $c'_{11}=3$, $c'_{12}=2$, $c'_{21}=1$, and $c'_{22}=4$. Try to determine a transportation plan for this material that minimizes the total cost.", "en_answer": "685", "difficulty": "Medium", "id": 44} +{"en_question": "A factory produces three types of products, A, B, and C. Each unit of product A requires 1 hour for technical preparation, 10 hours of direct labor, and 3 kg of materials. Each unit of product B requires 2 hours for technical preparation, 4 hours of labor, and 2 kg of materials. Each unit of product C requires 1 hour for technical preparation, 5 hours of labor, and 1 kg of materials. The available technical preparation time is 100 hours, labor time is 700 hours, and materials are 400 kg. The company offers larger discounts for bulk purchases, as detailed in Table 1-22. Determine the company's production plan to maximize profit.\nTable 1-22\n| Product A | | Product B | | Product C | |\n|:---------------|:---------:|:---------------|:---------:|:---------------|:---------:|\n| Sales Volume (pieces) | Profit (yuan) | Sales Volume (pieces) | Profit (yuan) | Sales Volume (pieces) | Profit (yuan) |\n| 0 ~ 40 | 10 | 0 ~ 50 | 6 | 0 ~ 100 | 5 |\n| 40 ~ 100 | 9 | 50 ~ 100 | 4 | Above 100 | 4 |\n| 100 ~ 150 | 8 | Above 100 | 3 | | |\n| Above 150 | 7 | | | | |", "en_answer": "734", "difficulty": "Easy", "id": 45} +{"en_question": "A university computer lab hires 4 undergraduates (designated 1, 2, 3, and 4) and 2 graduate students (designated 5 and 6) for duty answering questions. The maximum duty hours from Monday to Friday and the hourly wage for each person are shown in Table 5-9.\n\nTable 5-9\n| Student ID | Wage (CNY/h) | Monday | Tuesday | Wednesday | Thursday | Friday |\n|------------|--------------|--------|---------|-----------|----------|--------|\n| 1 | 10.0 | 6 | 0 | 6 | 0 | 7 |\n| 2 | 10.0 | 0 | 6 | 0 | 6 | 0 |\n| 3 | 9.9 | 4 | 8 | 3 | 0 | 5 |\n| 4 | 9.8 | 5 | 5 | 6 | 0 | 4 |\n| 5 | 10.8 | 3 | 0 | 4 | 8 | 0 |\n| 6 | 11.3 | 0 | 6 | 0 | 6 | 3 |\n\nThe lab operates from 8:00 AM to 10:00 PM, and there must be one and only one student on duty during open hours. It is also required that each undergraduate must work at least 8 hours per week, and each graduate student must work at least 7 hours per week. Additionally, supplement the following requirements: each student can work no more than 2 shifts per week, and no more than 3 students can be scheduled for duty each day. Based on these conditions, establish a new mathematical model.", "en_answer": "472.3", "difficulty": "Medium", "id": 46} +{"en_question": "A certain farm has 100 hectares of land and 15,000 yuan in funds for production development. The labor force situation on the farm is 3,500 person-days in autumn and winter, and 4,000 person-days in spring and summer. If the labor force itself is not fully utilized, they can work externally, earning 2.1 yuan/person-day in spring and summer and 1.8 yuan/person-day in autumn and winter.\n\nThe farm cultivates three types of crops: soybeans, corn, and wheat, and also raises dairy cows and chickens. Crop cultivation requires no specialized investment, but raising animals involves an investment of 400 yuan per dairy cow and 3 yuan per chicken. Raising dairy cows requires allocating 1.5 hectares of land per cow to grow feed, and involves 100 person-days in autumn and winter, and 50 person-days in spring and summer per cow. The annual net income is 400 yuan per dairy cow. Raising chickens does not use land, requires 0.6 person-days in autumn and winter, and 0.3 person-days in spring and summer per chicken. Annual net income is 2 yuan per chicken. The current chicken coop can accommodate up to 3,000 chickens, and the cow barn can accommodate up to 32 dairy cows. The labor and income requirements for the three types of crops per year are shown in Table 1-9.\n\nTable 1-9\n| Item | Soybean | Corn | Wheat |\n|----------------|---------|------|-------|\n| Person-days (Autumn/Winter) | 20 | 35 | 10 |\n| Person-days (Spring/Summer) | 50 | 75 | 40 |\n| Annual Net Income (Yuan/hectare) | 175 | 300 | 120 |\n\nDetermine the farm's operating plan to maximize annual net income.", "en_answer": "20241.615384615387", "difficulty": "Hard", "id": 47} +{"en_question": "A factory produces two models of microcomputers, A and B. Each model requires the same two processes. The processing time, sales profit, and the factory’s maximum weekly processing capacity for each model are shown in Table 3.1.\n\nTable 3.1\n\n| Process | Model | | Maximum Weekly Processing Capacity |\n| :---: | :---: | :---: | :---: |\n| | $A$ | $B$ | |\n| I (hours/unit) | 4 | 6 | 150 |\n| II (hours/unit) | 3 | 2 | 70 |\n| Profit (yuan/unit) | 300 | 450 | |\n\nGiven the factory's business goals:\n\n$p_{1}$: The total weekly profit should not be less than 10,000 yuan;\n\n$p_{2}$: Due to contract requirements, at least 10 units of model A and at least 15 units of model B must be produced each week;\n\n$p_{3}$: The processing time for Process I should be exactly 150 hours per week, and the processing time for Process II should ideally be fully utilized, with potential for appropriate overtime;\n\n$p_{4}$: If products are produced during overtime in Process II, the profit per unit is reduced by 20 yuan for model A and 25 yuan for model B, and the maximum overtime for Process II is 30 hours per week. Formulate the mathematical model for this problem.", "en_answer": "11250.0", "difficulty": "Medium", "id": 48} +{"en_question": "A factory needs to rent a warehouse to store materials in the next 4 months. The required warehouse area for each month is listed in Table 1-14.\n\nTable 1-14\n| Month | 1 | 2 | 3 | 4 |\n|-------|------|------|------|------|\n| Required warehouse area (㎡) | 1500 | 1000 | 2000 | 1200 |\n\nThe longer the rental contract period, the greater the discount on warehouse rental fees. The specific data is listed in Table 1-15.\n\nTable 1-15\n| Contract rental period (months) | 1 | 2 | 3 | 4 |\n|---------------------------------|----|----|----|----|\n| Rental fees for warehouse area during the contract period (yuan)", "en_answer": "56000.0", "difficulty": "Easy", "id": 49} +{"en_question": "A store has formulated a purchase and sales plan for a certain product from July to December. It is known that the warehouse capacity must not exceed 500 units, with 200 units in stock at the end of June. Thereafter, purchases are made at the beginning of each month. Assume the purchase and selling prices of this product for each month are shown in Table 1-21. How much should be purchased and sold each month to maximize the total revenue?\n\nTable 1-21\n| Month | 7 | 8 | 9 | 10 | 11 | 12 |\n|-------|----|----|----|----|----|----|\n| Buy | 28 | 24 | 25 | 27 | 23 | 23 |\n| Sell | 29 | 24 | 26 | 28 | 22 | 25 |", "en_answer": "9100", "difficulty": "Easy", "id": 50} +{"en_question": "The number of nurses required in each time period over 24 hours at a certain hospital is 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. Nurses start shifts in 6 batches at 2:00, 6:00, 10:00, 14:00, 18:00, and 22:00 and work continuously for 8 hours. Please determine: If the hospital can hire contract nurses with the same working hours as regular nurses, and if the pay for regular nurses is 10 yuan/hour and for contract nurses is 15 yuan/hour, should the hospital hire contract nurses and if so, how many?", "en_answer": "4240", "difficulty": "Medium", "id": 51} +{"en_question": "For a certain 24-hour bus service, the number of drivers and crew members required during different time periods each day is shown in Table 1-2:\nTable 1-2\n\\begin{tabular}{|c|c|c||c|c|c|}\n\\hline Shift & Time & Required number & Shift & Time & Required number \\\\\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 drivers and crew members start their shifts at the beginning of each time period and work continuously for 8 hours, determine the minimum number of drivers and crew members needed for this bus route. Formulate the linear programming model for this problem.", "en_answer": "150", "difficulty": "Easy", "id": 52} +{"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? They can take up to four 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 does not get along with him.\n\nIf the couple takes Harry, they will not take George because Harry does not 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\nEven though it will cost them a lot of money, the Zhang family has decided to take at least three children.", "en_answer": "3050.0", "difficulty": "Easy", "id": 53} +{"en_question": "Given that a certain factory plans to produce three types of products, I, II, and III, each product needs to be processed on equipment $A, B, C$ as shown in Table 2-3:\n\nTable 2-3\n| Equipment Code | I | II | III | Effective Monthly Equipment Hours |\n|----------------|----|----|-----|----------------------------------|\n| A | 8 | 2 | 10 | 300 |\n| B | 10 | 5 | 8 | 400 |\n| C | 2 | 13 | 10 | 420 |\n| Unit Product Profit (per thousand yuan) | 3 | 2 | 2.9 | |\n\nHow can the equipment capacity be fully utilized to maximize production profit?", "en_answer": "135.26666666666668", "difficulty": "Easy", "id": 54} +{"en_question": "A master's student in Operations Research at a certain university is required to select two courses in mathematics, two in operations research, and two in computer science from 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 falls under Mathematics, Computer Programming under Computer Science. However, some courses fall under multiple categories: Operations Research can be considered both Operations Research and Mathematics, Data Structures both Computer Science and Mathematics, Management Statistics both Mathematics and Operations Research, Computer Simulation both Computer Science and Operations Research, and Forecasting both Operations Research and Mathematics. Courses that fall under multiple categories can fulfill the requirement of both categories simultaneously. Additionally, some courses have prerequisites: Computer Simulation or Data Structures requires Computer Programming first, Management Statistics requires Calculus first, and Forecasting requires Management Statistics first. The question is: What is the minimum number of courses a master's student must take, and which specific courses, to meet the above requirements?", "en_answer": "4", "difficulty": "Hard", "id": 55} +{"en_question": "A trading company specializes in the wholesale business of certain grains. The company currently has a warehouse with a capacity of 5000 dan. On January 1, the company has 1000 dan of grain in stock and 20,000 yuan in funds. The estimated grain prices for the first quarter are shown in Table 1-8.\n\nTable 1-8\n| Month | Purchase Price (yuan/dan) | Selling Price (yuan/dan) |\n|-------|---------------------------|--------------------------|\n| 1 | 2.85 | 3.10 |\n| 2 | 3.05 | 3.25 |\n| 3 | 2.90 | 2.95 |\n\nThe purchased grains will be delivered in the same month but can only be sold in the next month, and payment is required upon delivery. The company hopes to have an inventory of 2000 dan at the end of the quarter. What purchasing and selling strategy should be adopted to maximize the total profit over the three months?", "en_answer": "1360.4500000000044", "difficulty": "Medium", "id": 56} +{"en_question": "Assuming a paper mill receives three orders for rolls of paper, with length and width requirements as shown in Table 1.2.\n\nTable 1.2\n\n| Order Number | Width (meters) | Length (meters) |\n| :---: | :---: | :---: |\n| 1 | 0.5 | 1000 |\n| 2 | 0.7 | 3000 |\n| 3 | 0.9 | 2000 |\n\nThe mill produces rolls of paper with standard widths of 1 meter and 2 meters. Assuming the length of the rolls is unlimited and can be spliced to reach the required length, how should the rolls be cut to minimize the area of waste?", "en_answer": "600.0", "difficulty": "Easy", "id": 57} +{"en_question": "Vicky and David have just bought a farm in the Yarra Valley, and they are considering using it to grow apples, pears, oranges, and lemons. The profit for growing one acre of apples is $2000, for one acre of pears is $1800, for one acre of oranges is $2200, and for one acre of lemons is $3000. To achieve maximum profit, how many acres of land should they use to grow each type of fruit? Vicky and David have just bought a farm in the Yarra Valley with a total area of 120 acres.\n\nThe land used to grow apples should be at least twice the land used to grow pears.\n\nThe land used to grow apples should be at least three times the land used to grow lemons.\n\nThe land used to grow oranges must be twice the land used to grow lemons.\n\nVicky and David are unwilling to grow more than two types of fruit.", "en_answer": "264000.0", "difficulty": "Easy", "id": 58} +{"en_question": "A candy factory uses raw materials A, B, and C to process three different brands of candies, A, B, and C. It is known that the content of A, B, and C in each brand of candy, the cost of raw materials, the monthly limit of each raw material, and the unit processing fee and selling price of the three brands of candies are shown in Table 1-7.\n\nTable 1-7\n\n| Item | A | B | C | Raw Material Cost (Yuan/kg) | Monthly Limit (kg) |\n|:----------------|:---------------|:---------------|:---------------|:-----------------------------|:-------------------|\n| A | ≥ 60% | ≥ 15% | | 2.00 | 2000 |\n| B | | | | 1.50 | 2500 |\n| C | ≤ 20% | ≤ 60% | ≤ 50% | 1.00 | 1200 |\n| Processing Fee (Yuan/kg) | 0.50 | 0.40 | 0.30 | | |\n| Selling Price (Yuan/kg) | 3.40 | 2.85 | 2.25 | | |\n\nHow many kilograms of each of the three brands of candies should the factory produce each month to maximize the profit?", "en_answer": "6160.0", "difficulty": "Medium", "id": 59} +{"en_question": "A traveling salesman must visit 7 customers at 7 different locations, with the (symmetric) distance matrix 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\nFormulate a mathematical program to determine the visiting order starting and ending at location 1 to minimize the travel distance, and solve it using COPTPY.", "en_answer": "153.0", "difficulty": "Hard", "id": 60} +{"en_question": "A product can be processed on any one of the four devices: A, B, C, or D. The preparation completion costs when each device is enabled, the unit production cost for the product, and the maximum processing capacity of each device are shown in Table 5-7. If 2000 units of the product need to be produced, how can the total cost be minimized? Try to establish a mathematical model.\n\nTable 5-7\n| Device | Prep Completion Cost (Yuan) | Unit Production Cost (Yuan/Unit) | Maximum Processing Capacity (Units) |\n|--------|------------------------------|----------------------------------|------------------------------------|\n| A | 1000 | 20 | 900 |\n| B | 920 | 24 | 1000 |\n| C | 800 | 16 | 1200 |\n| D | 700 | 28 | 1600 |", "en_answer": "37000", "difficulty": "Easy", "id": 61} +{"en_question": "The Zhang family is deciding to invest in several different restaurants. The annual revenue of Restaurant A is $15,000, Restaurant B is $40,000, Restaurant C is $30,000, and Restaurant D is $50,000. They need to decide whether to purchase each restaurant, with each restaurant being able to be purchased only once. Help them decide which restaurants to buy to maximize their annual income.\nThe cost of Restaurant A is 1.6 million, Restaurant B is 2.5 million, Restaurant C is 1.8 million, and Restaurant D is 3 million. The Zhang family's investment budget is 6 million.\n\nIf they purchase Restaurant D, then they cannot purchase Restaurant A.", "en_answer": "90000.0", "difficulty": "Easy", "id": 62} +{"en_question": "A farmer needs to transport 1000 units of fresh produce from the farm to a nearby market. The farmer has three transportation options: a horse, a bicycle, and a handcart. Since both the bicycle and handcart are very physically demanding, the farmer wants to choose only one of these two transportation methods. The horse generates 80 units of pollution per trip, the bicycle generates 0 units of pollution, and the handcart generates 0 units of pollution. The total amount of pollution generated by all trips must not exceed 1000 units. At least 8 trips must be made using the horse. The horse, bicycle, and handcart can carry 55 units, 30 units, and 40 units of produce per trip respectively. The farmer needs to ensure that the total amount of transported produce is at least 1000 units.", "en_answer": "640.0", "difficulty": "Easy", "id": 63} +{"en_question": "A company needs to decide whether to hire some of the five candidates to join their R&D 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 candidates without exceeding the budget.\n\nThe company's budget is $40,000 and they wish 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\n\nThe company needs to ensure that the total skill level of the hired employees is at least 8.\n\nThe project management experience years of each candidate are as follows:\nCandidate F: 1 year\nCandidate G: 2 years\nCandidate H: 2 years\nCandidate I: 5 years\nCandidate J: 4 years\n\nThey hope the total project management experience of the team is at least 8 years.\n\nDue to the similar technical background of candidates G and J, the company can choose at most one of them.", "en_answer": "38000.0", "difficulty": "Easy", "id": 64} +{"en_question": "A company produces two types of products: microwave ovens and water heaters, which are manufactured in both workshops A and B. It is known that apart from the purchased parts, the production of one microwave oven requires 2 hours of processing in workshop A and 1 hour of assembly in workshop B. The production of one water heater requires 1 hour of processing in workshop A and 3 hours of assembly in workshop B. After production, both products need inspection, sales, and other procedures. The inspection and sales cost for each microwave oven is 30 yuan, and for each water heater is 50 yuan. Workshop A has 250 hours of available production time per month, with each hour costing 80 yuan; workshop B has 150 hours of available production time per month, with each hour costing 20 yuan. It is estimated that an average of 80 microwave ovens and 50 water heaters can be sold per month next year. Based on these actual conditions, the company has established the following monthly plan constraints:\n\n1. Inspection and sales costs should not exceed 5500 yuan per month;\n2. At least 80 microwave ovens should be sold per month;\n3. The production hours of both workshops A and B should be fully utilized;\n4. Overtime in workshop A should not exceed 20 hours;\n5. At least 50 water heaters should be sold per month.\n\nTry to determine the monthly production plan for the company.", "en_answer": "30500.0", "difficulty": "Medium", "id": 65} +{"en_question": "A toy company manufactures three types of tabletop golf toys, each requiring different manufacturing techniques. The high-end type requires 17 hours of manufacturing labor, 8 hours of inspection, and yields a profit of 300 yuan per unit. The mid-range type requires 10 hours of labor, 4 hours of inspection, and yields a profit of 200 yuan per unit. The low-end type requires 2 hours of labor, 2 hours of inspection, and yields a profit of 100 yuan per unit. Available labor hours are 1000, and available inspection hours are 500. Additionally, market forecasts indicate a demand of no more than 50 units for the high-end type, no more than 80 units for the mid-range type, and no more than 150 units for the low-end type. Determine the production plan for the company to maximize profit.", "en_answer": "25000.0", "difficulty": "Medium", "id": 66} +{"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 during other months. The cost of producing these two products at a certain factory is as follows: Product I costs 5 yuan per unit to produce from January to May, and 4.50 yuan per unit from June to December; Product II costs 8 yuan per unit to produce from January to May, and 7 yuan per unit from June to December. The factory's combined production capacity for both products should not exceed 120,000 units per month. Product I has a volume of 0.2 cubic meters per unit, Product II has a volume of 0.4 cubic meters per unit, and the factory's warehouse capacity is 15,000 cubic meters. If the factory's warehouse space is insufficient, external warehouse space can be rented. Using the factory’s own warehouse costs 1 yuan per cubic meter per month, while renting an external warehouse increases this cost to 1.5 yuan per cubic meter per month. Given that the initial inventory of both products at the beginning of July is zero, how should production be scheduled from July to December to minimize the total production and inventory costs while meeting market demand?", "en_answer": "3160500.0", "difficulty": "Medium", "id": 67} +{"en_question": "There are two coal yards A and B, each receiving no less than 80 tons and 100 tons of coal per month, respectively. They are responsible for supplying coal to three residential areas, which need 55 tons, 75 tons, and 50 tons of coal per month, respectively. Coal yard A is located 10 kilometers, 5 kilometers, and 6 kilometers from these three residential areas. Coal yard B is located 4 kilometers, 8 kilometers, and 15 kilometers from these three residential areas. How should these two coal yards distribute coal to the three residential areas to minimize the ton-kilometers of transportation?", "en_answer": "1030.0", "difficulty": "Easy", "id": 68} +{"en_question": "A steel reinforcement workshop produces a batch of steel bars (with the same diameter), consisting of 90 pieces of 3 meters in length and 60 pieces of 4 meters in length. It is known that each piece of raw steel bar used is 10 meters in length. How can the raw material be cut most efficiently? Establish a linear programming model for this problem.", "en_answer": "20.0", "difficulty": "Easy", "id": 69} +{"en_question": "The famous Traveling Salesman Problem (TSP) in operations research can be described as follows: A traveling salesman departs from a certain city, visits two other cities to sell merchandise, and must visit each city exactly once before returning to the original starting city. The distances between the cities are provided in the table below.\n| City | 1 | 2 | 3 | 4 |\n| ---- | ------ | ------ | ------ | ------ |\n| 1 | 0 | 10 | 20 | 12 |\n| 2 | 10 | 0 | 5 | 10 |\n| 3 | 20 | 5 | 0 | 8 |\n| 4 | 15 | 12 | 8 | 0 |\n\nWhat route should the salesman choose to travel in order to minimize the total distance? Try to formulate an integer programming model for this problem.", "en_answer": "35", "difficulty": "Easy", "id": 70} +{"en_question": "Consider assigning $n=2$ factories to $n$ locations. The transportation volume between factory $i$ and factory $j$ is $d_{ij}$, and the unit transportation cost from location $p$ to location $q$ is $c_{pq}$. The specific values are shown in the following table: Table 1.1\n\n| | Transportation volume to Location 1 | Transportation volume to Location 2 | Transportation cost to Location 1 | Transportation cost to Location 2 |\n| :----: | :---------------------------------: | :---------------------------------: | :-------------------------------: | :-------------------------------: |\n| Factory 1 | 10 | 20 | 5 | 8 |\n| Factory 2 | 30 | 40 | 6 | 7 |\n\nIn order to minimize the total transportation cost, formulate this problem as an integer model.", "en_answer": "330", "difficulty": "Medium", "id": 71} +{"en_question": "The Li family plans to invest their retirement fund in commercial real estate. The annual income from Property 1 is $12,500, Property 2 is $35,000, Property 3 is $23,000, and Property 4 is $100,000. The decision to be made is whether to buy each property or not, rather than how many to buy, as there is only one of each property available. Help them decide which properties to purchase to maximize their annual income.\n\nThe cost of Property 1 is $1.5 million, Property 2 is $2.1 million, Property 3 is $2.3 million, and Property 4 is $4.2 million. The Li family's budget is $7 million.\n\nIf they purchase Property 4, they cannot purchase Property 3.", "en_answer": "135000.0", "difficulty": "Easy", "id": 72} +{"en_question": "The Li family has 5 children: Alice, Bob, Charlie, Diana, and Ella. The cost to take 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?\n\nThey can take up to 3 children on the upcoming trip.\n\nBob is the youngest, so the Li family will definitely take him.\n\nIf the couple takes Alice, they will not take Diana because Alice does not get along with her.\n\nIf the couple takes Bob, they will not take Charlie because Bob does not get along with him.\n\nIf they take Charlie, they must also take Diana.\n\nIf they take Diana, they must also take Ella.\n\nDespite the cost, the Li family has decided to take at least two children.", "en_answer": "1200.0", "difficulty": "Easy", "id": 73} +{"en_question": "A project includes 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 precedence relationships are also given as: $A \\rightarrow G, D ; E, G \\rightarrow F; D, F \\rightarrow C ; F \\rightarrow B$. The cost of work per day is 1000 Euros; additionally, a special machine must be rented from the start of activity $A$ to the end of activity $B$, costing 5000 Euros per day. Formulate this as a linear programming problem and solve it using COPTPY.", "en_answer": "230000.0", "difficulty": "Medium", "id": 74} +{"en_question": "There are $\\mathrm{A}$ and $\\mathrm{B}$ two products, both requiring two successive chemical reaction processes. Each unit of product $\\mathrm{A}$ needs 2 hours for the first process and 3 hours for the second process. Each unit of product $\\mathrm{B}$ needs 3 hours for the first process and 4 hours for the second process. Available time for the first process is 16 hours, and available time for the second process is 24 hours.\n\nFor each unit of product $\\mathrm{B}$ produced, 2 units of by-product $\\mathrm{C}$ are generated simultaneously, requiring no additional cost. By-product $\\mathrm{C}$ can be sold up to 5 units, and the rest must be disposed of at a cost of 2 yuan per unit.\n\nEach unit of product $\\mathrm{A}$ sold yields a profit of 4 yuan, each unit of product $\\mathrm{B}$ yields a profit of 10 yuan, and each unit of by-product $\\mathrm{C}$ sold yields a profit of 3 yuan.\n\nIn order to maximize total profit, establish the linear programming model for this problem.", "en_answer": "57.0", "difficulty": "Easy", "id": 75} +{"en_question": "A timber storage and transport company has a large warehouse for storing and transporting timber for sale. Due to seasonal price fluctuations, the company purchases timber at the beginning of each quarter, with part of it being sold within the quarter and part being stored for future sales. It is known that the maximum storage capacity of the company’s warehouse is 200,000 m³, and the storage cost is $(a+b u)$ yuan/m³, where $a=70$, $b=100$, and $u$ is the storage time (in quarters). The purchase and sale prices for each quarter and the estimated maximum sales volumes are shown in Table 1-18.\n\nTable 1-18\n| Quarter | Purchase Price (10,000 yuan/10,000 m²) | Sale Price (10,000 yuan/10,000 m²) | Estimated Maximum Sales Volume (10,000 m³) |\n|---------|----------------------------------------|------------------------------------|---------------------------------------------|\n| Winter | 410 | 425 | 100 |\n| Spring | 430 | 440 | 140 |\n| Summer | 460 | 465 | 200 |\n| Autumn | 450 | 455 | 160 |\n\nSince timber is not suitable for long-term storage, all inventory should be sold by the end of autumn. Try to establish a linear programming model for this problem to maximize the company's annual profit.", "en_answer": "4700", "difficulty": "Medium", "id": 76} +{"en_question": "There are 10 different parts, and they can all be processed on machine \\( A \\), machine \\( B \\), or machine \\( C \\). The unit processing costs are shown in Table 5-6. Additionally, as long as any part is processed on the aforementioned machines, a one-time setup cost will be incurred regardless of whether one or multiple types of parts are processed, with the respective costs being \\( d_A = 100 \\), \\( d_B = 135 \\), and \\( d_C = 200 \\) yuan. If the requirements are:\n\n1. One piece of each of the aforementioned 10 types of parts needs to be processed;\n2. If the 1st part is processed on machine \\( A \\), then the 2nd part must be processed on machine \\( B \\) or \\( C \\); conversely, if the 1st part is processed on machine \\( B \\) or \\( C \\), then the 2nd part must be processed on machine \\( A \\);\n3. Parts 3, 4, and 5 must be processed on machines A, B, and C respectively;\n4. The number of parts processed on machine \\( C \\) should not exceed 3 types.\n\nTry to establish an integer programming mathematical model for this problem with the objective of minimizing the total cost.\n\nTable 5-6\n| Machine/Part | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |\n|--------------|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|\n| A | $10$ | $20$ | $30$ | $40$ | $50$ | $60$ | $70$ | $80$ | $90$ | $100$ |\n| B | $15$ | $25$ | $35$ | $45$ | $55$ | $65$ | $75$ | $85$ | $95$ | $105$ |\n| C | $20$ | $30$ | $40$ | $50$ | $60$ | $70$ | $80$ | $90$ | $100$ | $110$ |", "en_answer": "1000.0", "difficulty": "Easy", "id": 77} +{"en_question": "A shoe store employs 5 full-time sales clerks and 4 part-time sales clerks. Their working hours and wage conditions are shown in Table 3.3.\n\nTable 3.3\n\n| | Monthly Working Hours | Sales Volume (Pairs/Hour) | Wage (Yuan/Hour) | Overtime Pay (Yuan/Hour) |\n| :---: | :---: | :---: | :---: | :---: |\n| Full-time | 160 | 5 | 1 | 1.5 |\n| Part-time | 80 | 2 | 0.6 | 0.7 |\n\nEach pair of shoes sold earns a profit of 0.3 yuan. The store has set the following goals:\n\n$p_{1}$: Achieve monthly sales of 5500 pairs;\n\n$p_{2}$: Ensure full employment of all sales clerks;\n\n$p_{3}$: Minimize overtime hours.\n\nTry to establish a model for this problem.", "en_answer": "400", "difficulty": "Medium", "id": 78} +{"en_question": "A furniture factory needs to decide how many tables, chairs, and bookshelves to produce in order to maximize its profit. The factory can sell each table for $200, each chair for $50, and each bookshelf for $150. The manufacturing costs for each table, chair, and bookshelf are $120, $20, and $90 respectively. The profit is the difference between the selling price and the manufacturing cost. Each table, chair, and bookshelf occupy 5, 2, and 3 square meters of warehouse space respectively. Due to limited warehouse space, the total space cannot exceed 500 square meters. In addition, 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 factory cannot exceed 200.", "en_answer": "9800.0", "difficulty": "Easy", "id": 79} +{"en_question": "A company requires skilled workers and laborers for three tasks. The first task can be completed by one skilled worker alone, or by a group of one skilled worker and two laborers. The second task can be done by one skilled worker or one laborer alone. The third task can be completed by a group of five laborers, or by one skilled worker leading three laborers. 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 hours are 42 hours and 36 hours respectively. To complete these 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 per week. 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 how many skilled workers and laborers should be hired in order to minimize the total wage expenditure.", "en_answer": "45960", "difficulty": "Medium", "id": 80} +{"en_question": "On Danzig Street, vehicles can park on both sides of the street. Mr. Edmonds, who lives at No. 1, is organizing a party with about 30 participants, and they will arrive in 15 cars. The length of the i-th car is λ_i, in meters, as follows:\n\n| i | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |\n|----|----|-----|----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|\n| λ_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\nIn order to avoid disturbing the neighbors, Mr. Edmonds wants to arrange parking on both sides of the street so that the total length of the street occupied by his friends' vehicles is minimized. Please provide a mathematical programming formulation and solve this problem using AMPL.\nHow does the program change if the cars on one side of the street cannot occupy more than 30 meters?", "en_answer": "28.6", "difficulty": "Hard", "id": 81} +{"en_question": "Changjiang Comprehensive Shopping Mall has 5000 m² of space for lease and plans to attract the following 5 types of stores as tenants. The table below shows the area occupied by each type of store for one shop, the minimum and maximum number of shops for each type within the mall, and the expected annual profit (in ten thousand yuan) per store for different numbers of stores. Each store pays 20% of its annual profit as rent to the mall. Question: How many of each type of store should the mall lease to maximize total rental income?\n\nTable 5-12\n\n| Code | Store Type | Area per Shop / m² | Min | Max | 1 Store | 2 Stores | 3 Stores |\n|------|------------|--------------------|-----|-----|---------|----------|----------|\n| 1 | Jewelry | 250 | 1 | 3 | 9 | 8 | 7 |\n| 2 | Shoes & Hats | 350 | 1 | 2 | 10 | 9 | - |\n| 3 | General Merchandise | 800 | 1 | 3 | 27 | 21 | 20 |\n| 4 | Bookstore | 400 | 0 | 2 | 16 | 10 | - |\n| 5 | Catering | 500 | 1 | 3 | 17 | 15 | 12 |", "en_answer": "28", "difficulty": "Easy", "id": 82} +{"en_question": "A certain restaurant operates around the clock, and the number of waiters needed in 24 hours is shown in Table 1.1.\n\nTable 1.1\n\n| Time | Minimum Number of Waiters Needed | Time | Minimum Number of Waiters Needed |\n|:-----------:|:-------------------------------:|:-----------:|:-------------------------------:|\n| $2 \\sim 6$ | 4 | $14 \\sim 18$| 7 |\n| $6 \\sim 10$ | 8 | $18 \\sim 22$| 12 |\n| $10 \\sim 14$| 10 | $22 \\sim 2$ | 4 |\n\nEach waiter works continuously for 8 hours a day. The goal is to find the minimum number of waiters that meet the above conditions and represent this problem as a linear programming model.", "en_answer": "26.0", "difficulty": "Hard", "id": 83} +{"en_question": "A company hopes to recruit new employees for its team. The salary requirements for 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 hope 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: Doctoral degree;\nCandidate D: No degree;\nCandidate E: No degree.\nThey will select at least one candidate with a Master's or Doctoral 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 hope the total work experience of the selected candidates is no less than 12 years.\n\nDue to the equivalent professional skills of candidates A and E, the company will choose at most one from the two.\n\nThey will hire at least 2 new employees.", "en_answer": "23000.0", "difficulty": "Easy", "id": 84} +{"en_question": "A company is producing two products (X and Y). The resources required for the production of X and Y are divided into two parts: machine time for automated processing and craftsman time for manual finishing. The table below shows the number of minutes required for each product:\n\n| Item | Machine Time (minutes) | Craftsman Time (minutes) |\n| :---: | :---: | :---: |\n| X | 13 | 20 |\n| Y | 19 | 29 |\n\nThe company has 40 hours of machine time available in the next working week, but only 35 hours of craftsman time. The cost of machine time is £10 per hour, and the cost of craftsman time is £2 per hour. Idle time for machines and craftsmen incurs no cost. For each product produced (all products produced will be sold), the revenue for product X is £20, and the revenue for product Y is £30. The company has a specific contract that requires 10 units of product X to be produced for a customer each week. Formulate a model for this problem.", "en_answer": "1866.5", "difficulty": "Hard", "id": 85} +{"en_question": "Healthy Pet Foods Company produces two types of dog food: Meaties and Yummies. Each pack of Meaties contains 2 pounds of grains and 3 pounds of meat; each pack of Yummies contains 3 pounds of grains and 1.5 pounds of meat. The company believes it can sell any quantity of dog food that it can produce. Meaties sell for $2.80 per pack, and Yummies sell for $2.00 per pack. The company's production is subject to several constraints. First, a maximum of 400,000 pounds of grains can be purchased each month at a price of $0.20 per pound of grains. A maximum of 300,000 pounds of meat can be purchased each month at a price of $0.50 per pound of meat. Additionally, a special machine is required to produce Meaties, with a monthly capacity of 90,000 packs. The variable costs for mixing and packaging dog food are $0.25 per pack (Meaties) and $0.20 per pack (Yummies). Detailed information is provided in Table B-1.\n\n**Table B-1 Healthy Pet Foods Data**\n\n| | Meaties | Yummies |\n|--------------------|--------------|------------|\n| Price per pack | $2.80 | $2.00 |\n| Raw materials | | |\n| - Grains | 2.0 lbs | 3.0 lbs |\n| - Meat | 3.0 lbs | 1.5 lbs |\n| Variable cost | $0.25/pack | $0.20/pack |\n| Resources | | |\n| Meaties capacity | 90,000 packs/month | |\n| Monthly available grains | 400,000 lbs | |\n| Monthly available meat | 300,000 lbs | |\n\nAssume you are the manager of the dog food department at Healthy Pet Foods Company. Your salary is based on the department's profit, so you will try to maximize profit. How should you operate the department to maximize both the profit and your salary?", "en_answer": "77500", "difficulty": "Hard", "id": 86} +{"en_question": "A transportation company has two types of trucks, Type A and Type B. Type A trucks have 20 cubic meters of refrigerated capacity and 40 cubic meters of non-refrigerated capacity. In contrast, Type B trucks have the same total capacity, but the capacities for refrigerated and non-refrigerated cargo are equal. A grocer needs to rent trucks to transport 3000 cubic meters of refrigerated cargo and 4000 cubic meters of non-refrigerated cargo. The rental cost per kilometer for Type A trucks is £30, while the rental cost per kilometer for Type B trucks is £40. How many of each type of truck should the grocer rent to minimize the total cost?\n\nTry to formulate a model for this problem.", "en_answer": "4170", "difficulty": "Medium", "id": 87} +{"en_question": "A company uses two machines (Machine 1 and Machine 2) to produce two types of products (liquid fertilizer and solid fertilizer). To produce one unit of liquid fertilizer, it takes 50 minutes on Machine 1 and 30 minutes on Machine 2. To produce one unit of solid fertilizer, it takes 24 minutes on Machine 1 and 33 minutes on Machine 2. At the beginning of the week, there are 30 units of liquid fertilizer and 90 units of solid fertilizer in inventory. The available processing time for Machine 1 this week is expected to be 40 hours, and for Machine 2 it is expected to be 35 hours. The demand for liquid fertilizer this week is estimated at 75 units, and for solid fertilizer at 95 units. The company's policy is to maximize the total number of units of liquid fertilizer and solid fertilizer in inventory at the end of the week.\n\nFormulate a model for this problem.", "en_answer": "1.25", "difficulty": "Medium", "id": 88} +{"en_question": "A company produces product A and product B. Each unit of product A sold generates a profit of £30, while each unit of product B sold generates a profit of £10. The company can allocate a maximum of 40 hours per week for production. Producing one unit of product A requires 6 hours, while producing one unit of product B requires 3 hours. Market demand requires that the quantity of product B produced must be at least three times the quantity of product A. The storage space occupied by product A is four times that of product B, and a maximum of four units of product A can be stored per week.\n\nFormulate a model for this problem.", "en_answer": "146.667", "difficulty": "Medium", "id": 89} +{"en_question": "A store wants to clear out 200 shirts and 100 pairs of pants from last season. They decide to introduce two promotional packages, A and B. Package A includes one shirt and two pairs of pants, priced at £30. Package B includes three shirts and one pair of pants, priced at £50. The store does not want to sell fewer than 20 A packages and 10 B packages. How many of each package do they need to sell to maximize the revenue from the promotion?\n\nTry to establish a model for this problem.", "en_answer": "4000", "difficulty": "Medium", "id": 90} +{"en_question": "A company produces two products (A and B), with a profit of £3 and £5 per unit sold, respectively. Each product must be assembled on a specific machine, requiring 12 minutes of assembly time per unit for product A and 25 minutes per unit for product B. The company's estimated effective machine working time per week is only 30 hours (due to maintenance or malfunctions). Technical constraints mean that for every five units of product A produced, at least two units of product B must be produced.\n\nTry to formulate a model for this problem.", "en_answer": "6200", "difficulty": "Easy", "id": 91} +{"en_question": "A school is preparing a trip for 400 students. The transportation company has 10 buses with 50 seats each and 8 minibuses with 40 seats each, but only 9 drivers are available. The rental cost for a bus is £800, and the rental cost for a minibus is £600. Calculate how many of each type of bus should be used to achieve the lowest cost.\n\nTry to formulate a model for this problem.", "en_answer": "408.9", "difficulty": "Easy", "id": 92} +{"en_question": "A dairy processing plant uses milk to produce two dairy products, \\( A_{1} \\) and \\( A_{2} \\). One barrel of milk can be processed into 3 kg of \\( A_{1} \\) in 12 hours on Type A equipment or into 4 kg of \\( A_{2} \\) in 8 hours on Type B equipment. According to market demand, all produced \\( A_{1} \\) and \\( A_{2} \\) can be sold. The profit is 24 yuan per kilogram of \\( A_{1} \\) and 16 yuan per kilogram of \\( A_{2} \\). The processing plant can get a daily supply of 50 barrels of milk, with a total of 480 hours of labor time available from regular workers each day. The Type A equipment can process up to 100 kg of \\( A_{1} \\) per day, while the processing capacity of Type B equipment is not limited. Formulate a production plan for the plant to maximize daily profit.", "en_answer": "3360", "difficulty": "Easy", "id": 93} +{"en_question": "A company blends two types of crude oil (A and B) to produce two types of gasoline (Type I and Type II). The minimum proportion of crude oil A in gasoline Types I and II is 50% and 60%, respectively. The selling prices are 4800 yuan/t and 5600 yuan/t, respectively. The company has current inventories of 500 t of crude oil A and 1000 t of crude oil B, and they can purchase up to 1500 t of crude oil A from the market. The market price for crude oil A is: 10,000 yuan/t for purchases up to 500 t; 8,000 yuan/t for the portion exceeding 500 t but not exceeding 1000 t; 6,000 yuan/t for the portion exceeding 1000 t. How should the company plan its purchasing and processing of crude oil?", "en_answer": "4800000", "difficulty": "Medium", "id": 94} +{"en_question": "A beverage factory produces a kind of beverage to meet market demand. According to market forecasts, the sales department of the factory has determined the demand for the beverage for the next 4 weeks. The planning department, based on the actual situation of the factory, has provided the production capacity and production cost for the next 4 weeks, as shown in Table 1. When there is a surplus of beverages after meeting the demand each week, a storage cost of 0.2 thousand yuan per week per thousand boxes of beverages needs to be paid. How should the production plan be arranged to minimize the total cost (the sum of production cost and storage cost) over the four weeks while meeting the weekly market demand?\n\nTable 1 Beverage Production and Demand Data:\n\n\\begin{tabular}{c|c|c|c}\n\\hline \nWeek & Demand/1000 boxes & Production Capacity/1000 boxes & Cost per 1000 boxes/1000 yuan \\\\\n\\hline \n1 & 15 & 30 & 5.0 \\\\\n\\hline \n2 & 25 & 40 & 5.1 \\\\\n\\hline \n3 & 35 & 45 & 5.4 \\\\\n\\hline \n4 & 25 & 20 & 5.5 \\\\\n\\hline \nTotal & 100 & 135 & \\\\\n\\hline\n\\end{tabular}", "en_answer": "528", "difficulty": "Medium", "id": 95} +{"en_question": "A steel pipe retailer sources raw steel pipes from a steel pipe factory, cuts the pipes according to customer requirements, and sells them. The raw steel pipes obtained from the factory are all 1850 mm in length. A customer now needs 15 pieces of 290 mm, 28 pieces of 315 mm, 21 pieces of 350 mm, and 30 pieces of 455 mm steel pipes. To simplify the production process, it is required that no more than 4 types of cutting patterns are used. The most frequently used cutting pattern incurs an additional cost of 1/10 of the value of a raw steel pipe, the second most frequent incurs an additional cost of 2/10, and so on. Moreover, the number of cuts for each pattern cannot be too many (a single raw steel pipe can produce up to 5 products). Additionally, to minimize waste, the leftover material for each cutting pattern should not exceed 100 mm. How should the material be cut to minimize total cost, and what is the total cost in this case?", "en_answer": "19.6", "difficulty": "Medium", "id": 96} +{"en_question": "A company mixes four types of liquid raw materials with different sulfur contents (denoted as A, B, C, and D, respectively) to produce two products (denoted as \\( \\mathrm{A} \\) and \\( \\mathrm{B} \\)). According to the production process requirements, raw materials A, B, and D must first be mixed in a mixing tank, and then the mixed liquid is further mixed with raw material C to produce \\( \\mathrm{A} \\) and \\( \\mathrm{B} \\). The sulfur contents of raw materials A, B, C, and D are \\( 3\\%, 1\\%, 2\\%, 1\\% \\) respectively, and their purchase prices are 6, 16, 10, 15 (thousand yuan per ton) respectively. The sulfur content of products \\( \\mathrm{A} \\) and \\( \\mathrm{B} \\) must not exceed \\( 2.5\\% \\) and \\( 1.5\\% \\) respectively, and their selling prices are 9.15 (thousand yuan per ton). According to market information, there is no limit to the supply of raw materials A, B, and C, but the supply of raw material D is limited to a maximum of 50 tons. The market demand for products \\( \\mathrm{A} \\) and \\( \\mathrm{B} \\) is 100 tons and 200 tons respectively. How should the production be arranged?", "en_answer": "449.999999", "difficulty": "Medium", "id": 97} +{"en_question": "A company uses steel and aluminum as raw materials to produce two products (A and B). A single unit of product A requires 6 kg of steel, 8 kg of aluminum, 11 hours of labor, and yields a profit of 5000 yuan (excluding worker overtime pay). A single unit of product B requires 12 kg of steel, 20 kg of aluminum, 24 hours of labor, and yields a profit of 11000 yuan (excluding worker overtime pay). The company currently has 200 kg of steel, 300 kg of aluminum, and 300 hours of labor available. If workers need to work overtime, the overtime pay is 100 yuan per hour. Please develop a production plan to maximize the company's profit and minimize worker overtime.", "en_answer": "137500.0", "difficulty": "Medium", "id": 98} +{"en_question": "An electronic system is composed of 3 types of components. The system operates normally if all three components function properly. By installing one or more spare parts for any of the components, the reliability of the components can be improved. The system's operational reliability is the product of the reliabilities of each component, and the reliability of each component is a function of the number of spare parts installed. The first half of the table below shows the function relationship between the number of spare parts and the reliability of a specific component. The prices and weights of the 3 types of components are shown in rows 8 to 9 of the table. Given that the total budget for all spare parts is limited to 150 yuan, and the weight limit is 20 kg, how should spare parts be installed to maximize the system's operational reliability? \n\n\\begin{table}[h]\n\\centering\n\\begin{tabular}{|c|c|c|c|}\n\\hline\n\\textbf{Component Number} & \\textbf{1} & \\textbf{2} & \\textbf{3} \\\\ \\hline\n\\textbf{Number of Spares} & & & \\\\ \\hline\n0 & 0.5 & 0.6 & 0.7 \\\\ \\hline\n1 & 0.6 & 0.75 & 0.9 \\\\ \\hline\n2 & 0.7 & 0.95 & 1.0 \\\\ \\hline\n3 & 0.8 & 1.0 & 1.0 \\\\ \\hline\n4 & 0.9 & 1.0 & 1.0 \\\\ \\hline\n5 & 1.0 & 1.0 & 1.0 \\\\ \\hline\n\\textbf{Unit Price (yuan)} & 20 & 30 & 40 \\\\ \\hline\n\\textbf{Unit Weight (kg)} & 2 & 4 & 6 \\\\ \\hline\n\\end{tabular}\n\\caption{Spare Component Data Table}\n\\end{table}", "en_answer": "0.6075", "difficulty": "Hard", "id": 99} +{"en_question": "In network communication services, bandwidth plays an important role. Below is a bandwidth communication table between several communication nodes, showing the bandwidth between any two nodes. If two nodes cannot be directly connected, the corresponding bandwidth is $0$. It is required to establish a link between node $A$ and node $E$ that must pass through service node $C$ (without loops). The bandwidth of this link is defined as the minimum bandwidth value on the link. Please propose a reasonable link arrangement to maximize the bandwidth of this link and find out the maximum bandwidth.\n\n\\begin{table}[h]\n \\centering\n \\begin{tabular}{|c|c|c|c|c|c|}\n \\hline\n & A & B & C & D & E \\\\\n \\hline\n A & 0 & 90 & 85 & 0 & 65 \\\\\n \\hline\n B & 95 & 0 & 70 & 65 & 34 \\\\\n \\hline\n C & 60 & 0 & 0 & 88 & 80 \\\\\n \\hline\n D & 67 & 30 & 25 & 0 & 84 \\\\\n \\hline\n E & 0 & 51 & 0 & 56 & 0 \\\\\n \\hline\n \\end{tabular}\n\\end{table}", "en_answer": "84", "difficulty": "Hard", "id": 100}