We want to obtain three chemical elements from the substances A and B. One kilo of A contains
Development:
Variables of the problem:
Objective Function:
The cost has to be minimized (cost
Restrictions:
-
, (the number of kilos cannot be negative). -
(at least we have to get g of the first substance). -
(at most we have to get g of the second substance). -
(at most we have to get g of the third substance). (the amount of substance A is at most twice the amount of B).
Apexes of the region of validity:
(These are the intersection points between the straight lines associated with the restrictions, which also satisfy all the inequations. Note that the restriction
-
where cross the restrictions and . -
where cross the restrictions and . -
where cross the restrictions and . where cross the restrictions and .
Objective value of the function in the apexes of the area of validity:
The function cost has a minimal value (
Solution:
To manage to minimize the cost, taking into account the restrictions of the problem,