{"id":13736,"date":"2022-01-13T16:44:00","date_gmt":"2022-01-13T11:14:00","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/"},"modified":"2024-05-06T23:03:16","modified_gmt":"2024-05-06T17:33:16","slug":"introduction-to-linear-programming-for-data-science","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/","title":{"rendered":"Introduction to Linear Programming for Data Science"},"content":{"rendered":"\n<p>Contributed by: Sarita&nbsp;Upadhya <br>LinkedIn Profile:  <a href=\"https:\/\/www.linkedin.com\/in\/sarita-upadhya-a7b94922\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/www.linkedin.com\/in\/sarita-upadhya-a7b94922\/ <\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"introduction\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p>Data Science helps businesses to make informed and data-driven decisions. Current business situations or business scenarios can be explored further using available data, and better insights can be drawn using Descriptive Analytics. Using past data, we can predict the future. Also, the cause and effect relationship between predictors and response variables can be extracted using Predictive Analytics. Predictive models are also used to simulate a future probable outcome by changing and assigning values of the predictors. As a part of Prescriptive Analytics, business starts looking at the different alternatives available to finalise the decision. Along with the available insights, resource constraints are taken into account to get an optimum solution.<\/p>\n\n\n\n<p>Linear Programming (LP) in Operations Research is one of the scientific techniques that is used to get an optimum solution to the given business problem by taking resource scarcity and constraints into account. When decision making pertains to a continuous variable like sales, profit, cost etc. which has a linear relationship with several input variables, Linear Programming is applied to take into account the limitations or constraints associated, and arrive at the best solution. For e.g. if a business wants to maximise sales, there may be a constraint in terms of the quantum of product available for sale; the business may want to maximise the profit by increasing the production however may have a constraint in terms of the capacity of machines etc. LP provides an approach to the above problems to get an optimum solution by considering the constraints.<\/p>\n\n\n\n<p>Read More - <a href=\"https:\/\/www.mygreatlearning.com\/blog\/what-is-data-science\/\" target=\"_blank\" rel=\"noreferrer noopener\">What is Data Science?<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lp-application-requirements\"><strong>LP Application Requirements<\/strong><\/h2>\n\n\n\n<p>In order to apply <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/linear-programming-for-data-science\" target=\"_blank\" rel=\"noopener\">Linear Programming for Data Science<\/a>, the below requirements have to be met:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>We should be able to define the objective or the aim clearly in mathematical terms.&nbsp;<\/li><li>The input variables that determine the objective should be distinct and quantitative.&nbsp;<\/li><li>Limitations or constraints that have to be considered should be quantitative and measurable.<\/li><li>Relationship between the objective and the input variables has to be linear in nature.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"formulation-of-lp-problems\"><strong>Formulation of LP Problems<\/strong><\/h2>\n\n\n\n<p>Below are the steps to be followed to formulate LP Problem:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Identify the decision variables that are used to formulate and achieve the objective function<\/li><li>Define the objective function: It defines the business objective in mathematical form<\/li><li>List out the constraints or limitations using the decision variables in mathematical form<\/li><li>Identify and list out the non-negative constraints&nbsp;<\/li><\/ol>\n\n\n\n<p>Let\u2019s understand this with a few examples. Also, we will look at the 3 tools (Graphical method, Excel Solver, R) which can be used to solve LP problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"linear-programming-examples\"><strong>Linear Programming Examples<\/strong><\/h2>\n\n\n\n<p>Here are the Linear Programming Examples:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"problem-statement-1\"><strong>Problem Statement 1<\/strong><\/h3>\n\n\n\n<p>The XYZ company during the festival season combines two factors A and B to form a gift pack which must weigh 5 kg. At least 2 kg of A and not more than 4 kg of B should be used. The net profit contribution to the company is Rs. 5 per kg for A and Rs. 6 per kg for B. Formulate LP Model to find the optimal factor mix.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"lp-formulation\"><strong>LP Formulation:<\/strong><\/h4>\n\n\n\n<p><strong>Step 1: Objective Function<\/strong><\/p>\n\n\n\n<p>In the above problem, the objective of the company is to maximise the profit. We are given the net profit contribution for factor A and B.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Let x kg of factor A be used<\/li><li>Let y kg of factor B be used<\/li><li>Objective Function \u2b04 maximise z = 5x + 6y<\/li><\/ul>\n\n\n\n<p>Note: x, y are decision variables and z is the objective function<\/p>\n\n\n\n<p><strong>Step 2: Formulate the constraints<\/strong><\/p>\n\n\n\n<p>\tWeight of gift pack has to be 5 kg<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>x + y = 5<\/li><\/ul>\n\n\n\n<p>At least 2 kg of A and not more than 4 kg of B has to be used<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>x &gt;= 2<\/li><li>y &lt;= 4<\/li><\/ul>\n\n\n\n<p><strong>Step 3: Non-negative constraints<\/strong><\/p>\n\n\n\n<p> The quantity used for A and B has to be positive<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>x, y &gt;= 0<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"summarise-the-lp-problem\"><strong>Summarise the LP Problem:<\/strong><\/h4>\n\n\n\n<p>Objective: Maximise z = 5x+6y given the constraints<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>x + y = 5<\/li><li>x &gt;= 2<\/li><li>y &lt;= 4<\/li><li>x, y &gt;= 0<\/li><\/ol>\n\n\n\n<p>Let\u2019s try and solve the above LP problem graphically<br><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"graphical-solution\"><strong>Graphical Solution:<\/strong><\/h4>\n\n\n\n<p>Let us consider a 2-dimension graph with x and y-axis:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Plot the constraints formulated in the above problem.<ul><li>x + y = 5 is a line that cuts x-axis at (5,0) and y-axis at (0,5). As we have a \u201c=\u201d constraint, the feasible region lies on this line.<\/li><li>x &gt;= 2 is the line that cuts the x-axis at (2,0). As we have a \u201c&gt;=\u201d constraint, the feasible region lies to the right of this line<\/li><li>y &lt;= 4 is the line that cuts the y-axis at (0,4). As we have a \u201c&lt;=\u201d constraint, the feasible region lies to the bottom of this line<\/li><li>As x, y &gt;= 0 we have considered only the positive side of the x and y-axis.<\/li><\/ul><\/li><li>Combining all the above constraints, from the above graph the line marked in yellow is the final feasible region where all constraints are satisfied.&nbsp;<\/li><li>The 2 extreme points on this line are the possible options for consideration to maximise the profit i.e. point A (2,3) and point B (5,0).&nbsp;<\/li><li>Let us substitute these values in the objective function to find out which option gives higher profit.<ul><li>Option A (2,3): z = 5x + 6y \u2b04 z = (5*2) +(6*3) = 28<\/li><li>Option B (5,0): z = 5x + 6y \u2b04 z = (5*5) +(6*0) = 25<\/li><\/ul><\/li><li>Hence, the optimum solution is Option A i.e. 2kg of factor A and 3kg of factor B to be considered for the gift pack.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Linear Programming Using Graphical Methods | 2 Decision Variables | Tutorial | Great Learning\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wFSmQRqVYX0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"problem-statement-2\"><strong>Problem Statement 2<\/strong><\/h3>\n\n\n\n<p>A call centre requires a different number of full-time employees on different days of the week. The number of full-time employees required each day is given in the table below. Employment rules state that each full-time employee must work five days consecutively and then receive two days off. The call centre wants to meet its daily requirements using only full-time employees. Formulate an LP that the call centre can use to minimise the number of full-time employees who must be hired.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td>Days of the Week<\/td><td># of full-time employees required<\/td><\/tr><tr><td>1=Monday<\/td><td>17<\/td><\/tr><tr><td>2=Tuesday<\/td><td>13<\/td><\/tr><tr><td>3=Wednesday<\/td><td>15<\/td><\/tr><tr><td>4=Thursday<\/td><td>19<\/td><\/tr><tr><td>5=Friday<\/td><td>14<\/td><\/tr><tr><td>6=Saturday<\/td><td>16<\/td><\/tr><tr><td>7=Sunday<\/td><td>11<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"lp-formulation\"><strong>LP Formulation:<\/strong><\/h4>\n\n\n\n<p><strong>Step 1: Objective Function<\/strong><\/p>\n\n\n\n<p>In the above problem, the objective is to minimise the number of full-time employees to hire.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Let x1 be number of employees beginning shifts from Monday<\/li><li>Let x2 be number of employees beginning shifts from Tuesday<\/li><li>Let x3 be number of employees beginning shifts from Wednesday<\/li><li>Let x4 be number of employees beginning shifts from Thursday<\/li><li>Let x5 be number of employees beginning shifts from Friday<\/li><li>Let x6 be number of employees beginning shifts from Saturday<\/li><li>Let x7 be number of employees beginning shifts from Sunday<\/li><li>Objective Function \u2b04 minimise z = x1+x2+x3+x4+x5+x6+x7<\/li><\/ul>\n\n\n\n<p>Note: x1, x2\u2026x7 are decision variables and z is the objective function<\/p>\n\n\n\n<p><strong>Step 2: Formulate the constraints<\/strong><\/p>\n\n\n\n<p>From the above table, we know the number of full-time employees required each day. Constraint to be considered is that a full-time employee should work for 5 consecutive days and have 2 days off.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>x1+x4+x5+x6+x7 &gt;=17 (On Monday, employees working on Tuesday &amp; Wednesday get off)<\/li><li>x1+x2+x5+x6+x7 &gt;=13 (On Tuesday, employees working on Wednesday &amp; Thursday get off)<\/li><li>x1+x2+x3+x6+x7 &gt;=15 (On Wednesday, employees working on Thursday &amp; Friday get off)<\/li><li>x1+x2+x3+x4+x7 &gt;=19 (On Thursday, employees working on Friday &amp; Saturday get off)<\/li><li>x1+x2+x3+x4+x5 &gt;=14 (On Friday, employees working on Saturday &amp; Sunday get off)<\/li><li>x2+x3+x4+x5+x6 &gt;=16 (On Saturday, employees working on Sunday &amp; Monday get off)<\/li><li>x3+x4+x5+x6+x7 &lt;=11 (On Sunday, employees working on Monday &amp; Tuesday get off)<\/li><\/ul>\n\n\n\n<p><strong>Step 3: Non-negative constraints<\/strong><\/p>\n\n\n\n<p>\tNumber of employees working each day has to be 0 or greater than 0, hence&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>x1, x2, x3, x4, x5, x6, x7 &gt;= 0<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"summarise-the-lp-problem\"><strong>Summarise the LP Problem:<\/strong><\/h4>\n\n\n\n<p>Objective: Minimise z = x1+x2+x3+x4+x5+x6+x7 subject to constraints<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>x1+x4+x5+x6+x7 &gt;=17&nbsp;<\/li><li>x1+x2+x5+x6+x7 &gt;=13&nbsp;<\/li><li>x1+x2+x3+x6+x7 &gt;=15&nbsp;<\/li><li>x1+x2+x3+x4+x7 &gt;=19&nbsp;<\/li><li>x1+x2+x3+x4+x5 &gt;=14&nbsp;<\/li><li>x2+x3+x4+x5+x6 &gt;=16&nbsp;<\/li><li>x3+x4+x5+x6+x7 &gt;=11<\/li><li>x1, x2, x3, x4, x5, x6, x7 &gt;= 0<\/li><\/ol>\n\n\n\n<p>As we have multiple decision variables, solving this graphically will be a tedious job. Let us try to solve the above problem using Excel Solver<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"solution-using-excel-solver\"><strong><span style=\"text-decoration: underline\">Solution using Excel Solver:<\/span><\/strong><\/h4>\n\n\n\n<p>The solver is a mathematical program or software that takes required input, applies the selected algorithm and provides a mathematical solution to the problem.<\/p>\n\n\n\n<p>Ensure you have Solver add-in available in the Data tab of your Excel Workbook as shown in the figure below:<\/p>\n\n\n\n<p><strong>Step 1: List Constraints in Excel Sheet&nbsp;<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Fig 3 shows how the first 7 constraints have to be updated in the excel<\/li><li>The coefficients of each constraint are updated below the respective variables<\/li><\/ul>\n\n\n\n<p><strong>Step 2: Include the Objective Function<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Fig 4 shows how the objective function has to be included<\/li><li>Similar to the constraints include the coefficients of the objective function below the respective variables<\/li><\/ul>\n\n\n\n<p><strong>Step 3: Include a row to get the best estimate for our decision variables<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Row 11 in the above figures is the row which will give us the best estimate&nbsp;<\/li><li>Initialise it to 0<\/li><li>Once the solver finds the solution the row will be updated with best estimates<\/li><\/ul>\n\n\n\n<p><strong>Step 4: Include sumproduct() of each constraint with output row (Row 11) to formulate constraints&nbsp;<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Observe the \u201cfx\u201d cell at the top in Fig6<\/li><li>Column H has the sumproduct() of each row with the best estimate row i.e. row 11<\/li><li>Cells marked in green will display the values of each constraint after solver finds a solution<\/li><li>The cell marked in red is the output of the objective function i.e. the optimum output will be displayed once the solution is found<\/li><\/ul>\n\n\n\n<p><strong>Step 5: Invoke Solver and add the constraints<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>From the figure above, observe the cell inputs to be given to the Solver<\/li><li>Select \u201cSimplex LP\u201d as the \u201cSolving Method\u201d<\/li><li>Click \u201cSolve\u201d<\/li><\/ul>\n\n\n\n<p><strong>Step 6: Get the optimum solution<\/strong><\/p>\n\n\n\n<p>Click on \u2018Solve\u2019 to get the optimum solution<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>From the above image, we see that the optimum solution is to get 23 full-time employees for the job considering the given constraints (cell H10)<\/li><li>Values in Row 11 which are marked in yellow are the best estimates for each decision variable<\/li><li>Values in green confirm to us that the constraints have been satisfied<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Linear Programming (LP) With Excel Solver - Hands-On | MS Excel Tutorial | Great Learning\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/tJkHxpoX3kU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"problem-statement-3\"><strong>Problem Statement 3<\/strong><\/h3>\n\n\n\n<p>John has a diet chart which gives calories, protein, carbohydrate and fat content for 4 food items. John wants a diet with minimum cost. The diet chart is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><br><\/td><td>Item1<\/td><td>Item2<\/td><td>Item3<\/td><td>Item4<\/td><td>Required<\/td><\/tr><tr><td>Calories (gms)<\/td><td>400<\/td><td>200<\/td><td>150<\/td><td>500<\/td><td>500<\/td><\/tr><tr><td>Proteins (gms)<\/td><td>3<\/td><td>2<\/td><td>0<\/td><td>0<\/td><td>6<\/td><\/tr><tr><td>Carbohydrates (gms)<\/td><td>2<\/td><td>2<\/td><td>4<\/td><td>4<\/td><td>10<\/td><\/tr><tr><td>Fat (gms)<\/td><td>2<\/td><td>4<\/td><td>1<\/td><td>5<\/td><td>8<\/td><\/tr><tr><td>Cost&nbsp;<\/td><td>0.5$<\/td><td>0.2$<\/td><td>0.3$<\/td><td>0.8$<\/td><td><br><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"lp-formulation\"><strong>LP Formulation:<\/strong><\/h4>\n\n\n\n<p><strong>Step 1: Objective Function<\/strong><\/p>\n\n\n\n<p>In the above problem, the objective is to buy food items at minimum cost but meeting the dietary needs.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Let x1 be number of Item1 to be bought<\/li><li>Let x2 be number of Item2 to be bought<\/li><li>Let x3 be number of Item3 to be bought<\/li><li>Let x4 be number of Item4 to be bought<\/li><li>Objective Function \u2b04 minimise z = 0.5x1+0.2x2+0.3x3+0.8x4<\/li><\/ul>\n\n\n\n<p>Note: x1, x2, x3, x4 are decision variables and z is the objective function<\/p>\n\n\n\n<p><strong>Step 2: Formulate the constraints<\/strong><\/p>\n\n\n\n<p>\tCalories required 500<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>400x1 + 200x2+ 150x3+ 500x4 &gt;= 500<\/li><\/ul>\n\n\n\n<p>Proteins required 6<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>3x1 + 2x2 &gt;= 6<\/li><\/ul>\n\n\n\n<p>Carbohydrates required 10<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>2x1 + 2x2 +4x3 + 4x4 &gt;= 10<\/li><\/ul>\n\n\n\n<p>Fat required 8<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>2x1 + 4x2 +x3 + 5x4 &gt;= 8<\/li><\/ul>\n\n\n\n<p><strong>Step 3: Non negative constraints<\/strong><\/p>\n\n\n\n<p>\tItems bought have to be positive<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>x1, x2, x3, x4 &gt;= 0<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"summarise-the-lp-problem\"><strong>Summarise the LP Problem:<\/strong><\/h4>\n\n\n\n<p>Objective: Minimise z = 0.5x1+0.2x2+0.3x3+0.8x4 given the constraints<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>400x1 + 200x2+ 150x3+ 500x4 &gt;= 500<\/li><li>3x1 + 2x2 &gt;= 6<\/li><li>2x1 + 2x2 +4x3 + 4x4 &gt;= 10<\/li><li>2x1 + 4x2 +x3 + 5x4 &gt;= 8<\/li><li>x1, x2, x3, x4 &gt;= 0<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"solution-using-r\"><strong>Solution using R:&nbsp;<\/strong><\/h4>\n\n\n\n<p>R is a programming language which has a package and relevant function defined to solve the LP problem. The package name is \u2018lpSolve\u2019 and the program to solve the above problem is given below:<\/p>\n\n\n\n<p>install.packages(\"IpSolve\") library(IpSolve)<br>#Setting the objective function.<br>objective.in=c(0.5,0.2,0.3,0.4)<br>#Constraint Matrix<br>const.mat-matrix(c(400,200,150,500,3,2,0,0,2,2,4,4,2,4,1,5), nrow = 4, byrow = T)<br>#defining constraints<br>const_1=500<br>const_2=6<br>const_3=10<br>const_4=8<br>#RHS for constraints<br>const.rhs c(const 1,const_2,const_3,const_4)<br>#Direction for constraints<br>const.dir=c(\"&gt;=\", \"&gt;=\",\"&gt;=\",\"&gt;=\")<br>#Finding the optimum solution<br>opt=lp(direction = \"min\",objective.in,const.mat,const.dir,const.rhs)<br>#Objective values of x1,x2,x3 and x4<br>opt$solution<br>#Value of objective function at optimal point<br>optSobival<\/p>\n\n\n\n<p>From the above we have got the best estimates, 3 - Item2 and 1- Item3 has to be bought to get required nutrients at a minimum cost of 0.9$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advantages-of-linear-programming\"><strong>Advantages of Linear Programming<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>LP is useful for the business as the decision-maker can obtain an optimum solution by considering the effective use of scarce resources<\/li><li>It is a structured technique and helps in making informed data-driven decisions<\/li><li>It provides alternate solutions which the decision-maker can analyse further and finalise based on subjective matters that also need to be considered<\/li><li>LP can also be used for changing situations. Changed constraints or additional constraints can be included in the model to get revised output.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"application-of-linear-programming\"><strong>Application of Linear Programming<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>LP is widely used in Production to decide on Production mix, in <a href=\"https:\/\/www.mygreatlearning.com\/blog\/production-management-functions\/\" target=\"_blank\" rel=\"noreferrer noopener\">Production Planning<\/a>, Assembly line balancing etc.<\/li><li>Oil industries use LP to get optimum quality of oil by blending the right proportion of different crude oils, octane etc.<\/li><li>In finance, decisions have to be taken on where the money should be spent and from where the company needs to get the money from to ensure that they maximise the returns keeping the risks under acceptable control. Buying and selling bonds, managing corporate finances, making financial decisions.<\/li><li>Media selection, plant location, reducing travelling salesman\u2019s cost are some of the areas where LP is used in the sales and marketing space.<\/li><li>In call-centres and hospitals, LP is used for scheduling the shifts for employees.<\/li><li>Defence makes use of LP to decide on the optimum level of force deployment to a particular place considering the different situations and constraints.<\/li><\/ul>\n\n\n\n<p>If you wish to learn more concepts in Data Science for a successful career in the domain, sign up for our <a href=\"https:\/\/www.mygreatlearning.com\/data-science\/courses\" target=\"_blank\" rel=\"noreferrer noopener\">data science online course<\/a> and upskill today. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"reference-books\"><strong>Reference Books<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>\u2018Quantitative Techniques for Decision Making in Business\u2019 by Trueman, R.E. Half Saunders, New York, 1981&nbsp;<\/li><li>\u2018Quantitative Techniques for Decision Making\u2019 by Anand Sharma (IIT Delhi)<\/li><\/ul>\n\n\n\n<div style=\"background-color: #efefef;border: 1px solid #000;padding: 8px\"><p><b>Find  Data Science Course in Top Cities in India<\/b><\/p> \n    <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-course-in-chennai\" title=\"Data Science Course in Chennai\">Chennai<\/a> | \n    <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-course-in-bangalore\" title=\"Data Science Course in Bangalore\">Bangalore<\/a> | \n    <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-course-in-hyderabad\" title=\"Data Science Course in Hyderabad\">Hyderabad<\/a> | \n    <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-course-in-pune\" title=\"Data Science Course in Pune\">Pune<\/a> | \n    <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-course-in-mumbai\" title=\"Data Science Course in Mumbai\">Mumbai<\/a> | \n    <a href=\"https:\/\/www.mygreatlearning.com\/pg-program-data-science-course-in-delhi-ncr\" title=\"Data Science Course in Delhi NCR\">Delhi NCR<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Contributed by: Sarita&nbsp;Upadhya LinkedIn Profile: https:\/\/www.linkedin.com\/in\/sarita-upadhya-a7b94922\/ Introduction Data Science helps businesses to make informed and data-driven decisions. Current business situations or business scenarios can be explored further using available data, and better insights can be drawn using Descriptive Analytics. Using past data, we can predict the future. Also, the cause and effect relationship between predictors [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":13737,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[],"content_type":[],"class_list":["post-13736","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-science"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Introduction to Linear Programming for Data Science<\/title>\n<meta name=\"description\" content=\"This is an introduction to linear programming techniques used in the field of data science for intelligent decision making, explained well with examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to Linear Programming for Data Science\" \/>\n<meta property=\"og:description\" content=\"This is an introduction to linear programming techniques used in the field of data science for intelligent decision making, explained well with examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-13T11:14:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T17:33:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/d1m75rqqgidzqn.cloudfront.net\/wp-data\/2020\/03\/27161944\/shutterstock_1022557681.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Introduction to Linear Programming for Data Science\",\"datePublished\":\"2022-01-13T11:14:00+00:00\",\"dateModified\":\"2024-05-06T17:33:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/\"},\"wordCount\":2369,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/shutterstock_1022557681.jpg\",\"articleSection\":[\"Data Science and Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/\",\"name\":\"Introduction to Linear Programming for Data Science\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/shutterstock_1022557681.jpg\",\"datePublished\":\"2022-01-13T11:14:00+00:00\",\"dateModified\":\"2024-05-06T17:33:16+00:00\",\"description\":\"This is an introduction to linear programming techniques used in the field of data science for intelligent decision making, explained well with examples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/shutterstock_1022557681.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/shutterstock_1022557681.jpg\",\"width\":1000,\"height\":667,\"caption\":\"linear programming\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/introduction-to-linear-programming-for-data-science\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Science and Analytics\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/data-science\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Introduction to Linear Programming for Data Science\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Introduction to Linear Programming for Data Science","description":"This is an introduction to linear programming techniques used in the field of data science for intelligent decision making, explained well with examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/","og_locale":"en_US","og_type":"article","og_title":"Introduction to Linear Programming for Data Science","og_description":"This is an introduction to linear programming techniques used in the field of data science for intelligent decision making, explained well with examples.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2022-01-13T11:14:00+00:00","article_modified_time":"2024-05-06T17:33:16+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/d1m75rqqgidzqn.cloudfront.net\/wp-data\/2020\/03\/27161944\/shutterstock_1022557681.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Introduction to Linear Programming for Data Science","datePublished":"2022-01-13T11:14:00+00:00","dateModified":"2024-05-06T17:33:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/"},"wordCount":2369,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg","articleSection":["Data Science and Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/","url":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/","name":"Introduction to Linear Programming for Data Science","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg","datePublished":"2022-01-13T11:14:00+00:00","dateModified":"2024-05-06T17:33:16+00:00","description":"This is an introduction to linear programming techniques used in the field of data science for intelligent decision making, explained well with examples.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg","width":1000,"height":667,"caption":"linear programming"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/introduction-to-linear-programming-for-data-science\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Data Science and Analytics","item":"https:\/\/www.mygreatlearning.com\/blog\/data-science\/"},{"@type":"ListItem","position":3,"name":"Introduction to Linear Programming for Data Science"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",1000,667,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681-300x200.jpg",300,200,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681-768x512.jpg",768,512,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",1000,667,false],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",1000,667,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",1000,667,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",640,427,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",96,64,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/03\/shutterstock_1022557681.jpg",150,100,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Contributed by: Sarita&nbsp;Upadhya LinkedIn Profile: https:\/\/www.linkedin.com\/in\/sarita-upadhya-a7b94922\/ Introduction Data Science helps businesses to make informed and data-driven decisions. Current business situations or business scenarios can be explored further using available data, and better insights can be drawn using Descriptive Analytics. Using past data, we can predict the future. Also, the cause and effect relationship between predictors&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/13736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=13736"}],"version-history":[{"count":17,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/13736\/revisions"}],"predecessor-version":[{"id":97918,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/13736\/revisions\/97918"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/13737"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=13736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=13736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=13736"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=13736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}