Escolar Documentos
Profissional Documentos
Cultura Documentos
Decision variables: = amount that the company can bill on Partner for Job 1 = amount that the company can bill on Partner for Job 2 = amount that the company can bill on Partner for Job 3 = amount that the company can bill on Senior employee for Job 1 = amount that the company can bill on Senior employee for Job 2 = amount that the company can bill on Senior employee for Job 3 = amount that the company can bill on Junior employee for Job 2 = amount that the company can bill on Junior employee for Job 3 = the number of Partner should be hired = the number of Senior employee should be hired = the number of Junior employee should be hired
Hard constraints:
3. Solve Question 2 by using any LP package. (Example: LINDO, Spreadsheet) We will rewrite the problem using , , , , , , and variables because it is easier
to type the problem in LINGO with that notation without getting confused with the + and signs. Therefore the new problem is:
Min subject to
To solve with LINGO, we must minimize one variable at a time in the objective function. So, we will first minimize .
Min subject to
We will note the objective function is 0, and the values of and . , to the constraints as follows and this time we are
By putting follows:
, we are ensured that the first goal is met. By solving we will get a printout as
We will note the objective function is 0, and the values of and . , to the constraints as follows and this time we are
By putting as follows:
, we are ensured that the second goal is met. By solving we will get a printout
We will note the objective function is 0, and the values of and To solve for the fourth goal, we add minimizing . , to the constraints as follows and this time we are
By putting follows:
, we are ensured that the third goal is met. By solving we will get a printout as
We will note the objective function is 0, and the values of and The optimal solution is: .
Therefore, The number of employees should be hired by Halim&Lee = 1 partner + 3 senior employees + 5 junior employees = 9 employees