<< Chapter < Page Chapter >> Page >
Chương này trình bày cách xây dựng mô hình quy hoạch tuyến tính của những bài toán dạng đơn giản. Đây là những kiến thức quan trọng để xây dựng mô hình cho những bài toán phức tạp hơn trong thực tế sau này. Các khái niệm về ‘’ lồi’’ đuợc trình bày để làm cơ sở cho phương pháp hình học giải quy hoạch tuyến tính. Một ví dụ mở đầu được trình bày một cách trực quan để làm rõ khái niệm về phương án tối ưu của quy hoạch tuyến tính.

LÝ THUYẾT CƠ BẢN VỀ QUY HOẠCH TUYẾN TÍNH

Giới thiệu bài toán quy hoạch tuyến tính

Có thể tạm định nghĩa quy hoạch tuyến tính là lĩnh vực toán học nghiên cứu các bài toán tối ưu mà hàm mục tiêu (vấn đề được quan tâm) và các ràng buộc (điều kiện của bài toán) đều là hàm và các phương trình hoặc bất phương trình tuyến tính. Đây chỉ là một định nghĩa mơ hồ, bài toán quy hoạch tuyến tính sẽ được xác định rõ ràng hơn thông qua các ví dụ .

Các bước nghiên cứu và ứng dụng một bài toán quy hoạch tuyến tính điển hình là như sau :

a- Xác định vấn đề cần giải quyết, thu thập dữ liệu.

b- Lập mô hình toán học.

c- Xây dựng các thuật toán để giải bài toán đã mô hình hoá bằng ngôn ngữ thuận lợi cho việc lập trình cho máy tính.

d- Tính toán thử và điều chỉnh mô hình nếu cần.

e- Áp dụng giải các bài toán thực tế.

Bài toán vốn đầu tư

Người ta cần có một lượng (tối thiểu) chất dinh dưỡng i=1,2,..,m do các thức ăn j=1,2,...,n cung cấp. Giả sử :

aij là số lượng chất dinh dưỡng loại i có trong 1 đơn vị thức ăn loại j

(i=1,2,...,m) và (j=1,2,..., n)

bi là nhu cầu tối thiểu về loại dinh dưỡng i

cj là giá mua một đơn vị thức ăn loại j

Vấn đề đặt ra là phải mua các loại thức ăn như thế nào để tổng chi phí bỏ ra ít nhất mà vẫn đáp ứng được yêu cầu về dinh dưỡng. Vấn đề được giải quyết theo mô hình sau đây :

Gọi xj  0 (j= 1,2,...,n) là số lượng thức ăn thứ j cần mua .

Tổng chi phí cho việc mua thức ăn là :

z = j = 1 n c j x j = c 1 x 1 + c 2 x 2 + . . . . . . + c n x n size 12{z= Sum cSub { size 8{j=1} } cSup { size 8{n} } {c rSub { size 8{j} } x rSub { size 8{j} } } =c rSub { size 8{1} } x rSub { size 8{1} } +c rSub { size 8{2} } x rSub { size 8{2} } + "." "." "." "." "." "." +c rSub { size 8{n} } x rSub { size 8{n} } } {}

Vì chi phí bỏ ra để mua thức ăn phải là thấp nhất nên yêu cầu cần được thỏa mãn là :

min z = j = 1 n c j x j = c 1 x 1 + c 2 x 2 + . . . . . . + c n x n size 12{"min z"= Sum cSub { size 8{j=1} } cSup { size 8{n} } {c rSub { size 8{j} } x rSub { size 8{j} } } =c rSub { size 8{1} } x rSub { size 8{1} } +c rSub { size 8{2} } x rSub { size 8{2} } + "." "." "." "." "." "." +c rSub { size 8{n} } x rSub { size 8{n} } } {}

Lượng dinh dưỡng i thu được từ thức ăn 1 là : ai1x1 (i=1m)

Lượng dinh dưỡng i thu được từ thức ăn 2 là : ai2x2

.........................................................

Lượng dinh dưỡng i thu được từ thức ăn n là : ainxn

Vậy lượng dinh dưỡng thứ i thu được từ các loại thức ăn là :

ai1x1+ai2x2+...+ainxn (i=1m)

Vì lượng dinh dưỡng thứ i thu được phải thỏa yêu cầu bi về dinh dưỡng loại đó nên ta có ràng buộc sau :

ai1x1+ai2x2+...+ainxn  bi (i=1m)

Khi đó theo yêu cầu của bài toán ta có mô hình toán sau đây :

min z = j = 1 n c j x j = c 1 x 1 + c 2 x 2 + . . . . . . + c n x n size 12{"min z"= Sum cSub { size 8{j=1} } cSup { size 8{n} } {c rSub { size 8{j} } x rSub { size 8{j} } } =c rSub { size 8{1} } x rSub { size 8{1} } +c rSub { size 8{2} } x rSub { size 8{2} } + "." "." "." "." "." "." +c rSub { size 8{n} } x rSub { size 8{n} } } {}

a 11 x 1 + a 12 x 2 + . . . + a 1n x n b 1 a 21 x 1 + a 22 x 2 + . . . + a 2n x n b 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . a m1 x 1 + a m2 x 2 + . . . + a mn x n b m x j 0 ( j = 1,2, . . . ,n ) { { { { size 12{alignl { stack { left lbrace a rSub { size 8{"11"} } x rSub { size 8{1} } +a rSub { size 8{"12"} } x rSub { size 8{2} } + "." "." "." +a rSub { size 8{"1n"} } x rSub { size 8{n} }>= b rSub { size 8{1} } {} # right none left lbrace a rSub { size 8{"21"} } x rSub { size 8{1} } +a rSub { size 8{"22"} } x rSub { size 8{2} } + "." "." "." +a rSub { size 8{"2n"} } x rSub { size 8{n} }>= b rSub { size 8{2} } {} # right none left lbrace "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." "." {} #right none left lbrace a rSub { size 8{"m1"} } x rSub { size 8{1} } +a rSub { size 8{"m2"} } x rSub { size 8{2} } + "." "." "." +a rSub { size 8{"mn"} } x rSub { size 8{n} }>= b rSub { size 8{m} } {} # right none left lbrace x rSub { size 8{j} }>= "0 " \( j="1,2," "." "." "." ",n" \) {} # right no } } lbrace } {}

Bài toán lập kế hoạch sản xuất

Từ m loại nguyên liệu hiện có người ta muốn sản xuất n loại sản phẩm

Giả sử :

aij là lượng nguyên liệu loại i dùng để sản xuất 1 sản phẩm loại j

(i=1,2,...,m) và (j=1,2,..., n)

bi là số lượng nguyên liệu loại i hiện có

cj là lợi nhuận thu được từ việc bán một đơn vị sản phẩm loại j

Vấn đề đặt ra là phải sản xuất mỗi loại sản phẩm là bao nhiêu sao cho tổng lợi nhuận thu được từ việc bán các sản phẩm lớn nhất trong điều kiện nguyên liệu hiện có.

Questions & Answers

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Quy hoạch tuyến tính. OpenStax CNX. Aug 08, 2009 Download for free at http://cnx.org/content/col10903/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Quy hoạch tuyến tính' conversation and receive update notifications?

Ask