Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are 14 food ingredients available. They can be classified into seven groups. it is required to mix them into a minimum cost diet satisfying

There are 14 food ingredients available. They can be classified into seven groups. it is required to mix them into a minimum cost diet satisfying the following constraints:

(i) Protein content should be at least 20%;

(ii) fat content should be at least 3%;

(iii) fiber content should be at most 12%;

(iv) Ca content should be between 1% and 2%;

(v) Ph content should be between 0.6% and 2%;

(vi) Ca content should be greater than or equal to the Ph content. Data and other constraints are given below.

Percent of Nutrient Content
GroupFood IngredientProteinFatFiberCaPhCost per TonRange of Ingredient (%)Range of Group (%)
11Dried beet pulp90.5200.70.05644 to 205 to 20
2Dried citrus pulp631620.1351 to 20
23Ground yellow corn8.542.50.020.25551 to 2520 to 35
4Ground oats124.5120.10.4541 to 25
35Corn molasses3.50.60.1195 to 145 to 14
46Wheat middling's16480.10.9645 to 3010 to 30
7Wheat bran16410.50.11.2625 to 30
58Distiller grains268.590.150.6775 to 152 to 25
9Corn gluten feed24280.30.65661 to 25
610Cottonseed meal411.5130.11.2741 to 353 to 35
11Linseed oil meal34180.350.8851 to 35
12Soybean oil meal450.56.50.20.61081 to 35
713Ground limestone360.5100 to 2
14Ground phosphate3214661 to 2

Write a code in any language to solve the following LP problem based on the following guidelines using simplex method:

1.If your LP model is not in the standard form, you can just manually convert them into the standard form before inputting to computers. For larger problems, however, you may need to design a routine to do the conversion in your code.

2. Your code needs to be able to detect if the LP at hand is feasible or not.

3. (Regardless if your problem matrix has redundancy or not) Your code needs to be able to detect if the coefficient matrix associated with the standard form of the LP has full row rank; and if not, how to remove the redundant constraints. (Note just checking if the coefficient matrix has full rank or not, such as using the MATLAB function “rref”, is not sufficient. Your code needs to be able to reduce redundant constraints regardless if the specific LP problem you chose has redundant constraints or not.)

4. How to start the simplex method if an initial basis is not readily available. (Your code needs to check if a basic feasible solution (BFS) with the identity matrix as the corresponding basis is readily available. If yes, you can just go ahead to use the BFS to start your simplex method; otherwise, it is strongly recommended for you to use the methods we learned in class to start your simplex with an identity matrix as the initial basis.

5. Your code needs to implement one rule to prevent the simplex method from cycling.

6. Termination: your code needs to be able to handle both cases at termination – a finite optimal solution or unbounded (since you don’t know before hand if the LP at hand has an optimal solution or is unbounded).

Step by Step Solution

3.46 Rating (146 Votes )

There are 3 Steps involved in it

Step: 1

Sal O Psotein Centent should be atleast 20 Disti ller groai... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Separation process principles

Authors: J. D. Seader

2nd Edition

471464805, 978-0471464808

More Books

Students also viewed these Mathematics questions