Algebra
Topics

# How do you know when to use Linear Programming to solve a word problem?

Oct 19, 2017

#### Explanation:

Linear programming is a simple technique where we depict complex relationships through linear relations. These relations are constraints which put restrictions on values of the output, which are non-negative i.e. zero or positive. The results in such cases are generally located at points and then we find the most optimal point based on , at which the desired objective, which is again a linear relation among decision variables and is either maximised or minimised.

Hence, we use Linear Programming to solve a word problem when (i) we have linear relations; and (ii) certain function has to be maximized or minimized.

For example, let us have available $x$ hours of labour and $y$ cubic feet of wood, which we can use to make either tables or chair. A chair requires ${a}_{1}$ hours of labour and ${a}_{2}$ cubic feet of wood and a table requires ${b}_{1}$ hours of labour and ${b}_{2}$ cubic feet of wood. We have a profit of ${p}_{a}$ on chair and ${p}_{b}$ on table. How can we maximise profits.

Let the result be ${n}_{a}$ chairs and ${n}_{b}$ tables. So our constraints are

${n}_{a} \times {a}_{1} + {n}_{b} \times {b}_{1} \le x$
${n}_{a} \times {a}_{2} + {n}_{b} \times {b}_{2} \le y$

We are to maximise ${n}_{a} \times {p}_{a} + {n}_{b} \times {p}_{b}$

and non-negative outputs are ${n}_{a}$ and ${n}_{b}$.

##### Impact of this question
877 views around the world
You can reuse this answer
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 15, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8640244603157043, "perplexity": 607.2894076891414}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-29/segments/1593655902377.71/warc/CC-MAIN-20200709224746-20200710014746-00219.warc.gz"}