Solved Problems

  1. Solved Problem 10-1 Consider the 0–1 integer programming problem that follows:

    Maximize50X1+45X2+48X3subject to19X1+27X2+34X38022X1+13X2+12X340X1,X2,X3must be either 0 or 1

    Now reformulate this problem with additional constraints so that no more than two of the three variables can take on a value equal to 1 in the solution. Further, make sure that if X1=1, then X2=1 also. Then solve the new problem using Excel.

    Solution

    Excel can handle all-integer, mixed-integer, and 0–1 integer problems. Program 10.12 shows two new constraints to handle the reformulated problem. These constraints are

    X1+X2+X32

    and

    X1X20

    The optimal solution is X1=1, X2=1, X3=0, with an objective function value of 95.

    Screenshot of an Excel titled solved problem 10-1.

    Program 10.12 Excel 2016 Solution for Solved Problem 10.1

    Solver Parameter Inputs and Selections Key Formulas
    Set Objective: E5

    An image shows the formula equals SUMPRODUCT($B$4 colon $D$4, B5 colon D5).

    Copy E5 to E8:E11

    By Changing cells: B4:D4
    To: Max
    Subject to the Constraints:
    E8:E11 <= G8:G11
    B4:D4 = binary
    Solving Method: Simplex LP
    ☑ Make Variables Non-Negative
  2. Solved Problem 10-2 Recall the Harrison Electric Company goal programming problem seen in Section 10.4. Its LP formulation was

    Maximize profit =$7X1+$6X2subject to2X1+3X212(wiring hours)6X1+5X230(assembly hours)X1,X2 0

    where

    X1= number of chandeliers produced

    X2= number of ceiling fans produced

    Reformulate Harrison Electrical as a goal programming model with the following goals:

    • Priority 1: Produce at least 4 chandeliers and 3 ceiling fans.

    • Priority 2: Limit overtime in the assembly department to 10 hours and in the wiring department to 6 hours.

    • Priority 3: Maximize profit.

    Solution

    MinimizeP1(d1+d2)+P2(d3++d4+)+P3d5subject to X1+d1d1+=4X2+d2d2+=3}Priority12X1+3X2+d3d3+=186X1+5X2+d4d4+=40}Priority27X1+6X2+d5d5+=99,999}Priority3

    In the priority 3 goal constraint, the 99,999 represents an unrealistically high profit. It is just a mathematical trick to use as a target so that we can get as close as possible to the maximum profit.

  3. Solved Problem 10-3 In Chapter 5, the exponential smoothing method for forecasting time series was presented. Program 10.13A provides an example of this, with the smoothing constant (α) selected to be 0.1. The forecast in time period 1 is assumed to be perfect, so the error and the absolute value of the error are both 0. The mean absolute deviation (MAD) is the measure of accuracy, and the first time period error is not used in computing this, since it was simply assumed to be perfect. The MAD is very dependent on the value of α. Use Excel to find the value of α that will minimize the MAD. Hint: Instead of writing the entire objective function, simply use the cell already developed in Excel for the MAD. Remember, α must be between 0 and 1.

    Excel sheet of the solved problem 10.3.

    Program 10.13A Excel 2016 Spreadsheet for Solved Problem 10.3

    Key Formulas
    A formula in the cells C6, D6, and E6  are “equal to C5 plus dollar sign B dollar sign 3 asterisks D5, equal to B6 minus C6, and equal to ABS open parens B6 minus C6 close parens” respectively.
    Copy C6:E6 to C7:E11
    The formula under column E of a table in the twelfth row reads: equal to AVERAGE open parens E6 colon E11 close parens.

    Solution

    The MAD is a nonlinear function, so Solver in Excel can be used to solve this. There is only one constraint: the smoothing constant, α, must be less than or equal to 1. This can be entered directly into the Change Constraint window in Solver, with a 1 entered on the right-hand side of the inequality. Program 10.13B provides the information and the final solution for this. The value for α that minimizes the MAD is 0.3478, and this yields a MAD of 16.70.

    Excel sheet of the solved problem 10.3.

    Program 10.13B Excel 2016 Spreadsheet Solution for Solved Problem 10.3

    Solver Parameter Inputs and Selections Key Formulas
    Set Objective: E12

    The formula in the cells C6, D6, and E6  are “equal to C5 plus dollar sign B dollar sign 3 asterisks D5, equal to B6 minus C6, and equal to ABS open parens B6 minus C6 close parens” respectively.

    Copy C6:E6 to C7:E11

    The formula under column E of a table in the twelfth row reads: equal to AVERAGE open parens E6 colon E11 close parens.

    By Changing cells: B3
    To: Min
    Subject to the Constraints:
    B3 <= 1
    Solving Method: GRG Nonlinear
    ☑ Make Variables Non-Negative

    Note: Solver can be used in a similar manner to find the best weights to use in a weighted moving average forecast.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset