Thursday, August 30, 2018

Define and solve a problem by using Solver

Solver is a Microsoft Excel add-in program you can use for what-if analysis. Use Solver to find an optimal (maximum or minimum) value for a formula in one cell — called the objective cell — subject to constraints, or limits, on the values of other formula cells on a worksheet. Solver works with a group of cells, called decision variables or simply variable cells that are used in computing the formulas in the objective and constraint cells. Solver adjusts the values in the decision variable cells to satisfy the limits on constraint cells and produce the result you want for the objective cell.
Put simply, you can use Solver to determine the maximum or minimum value of one cell by changing other cells. For example, you can change the amount of your projected advertising budget and see the effect on your projected profit amount. Or Contact Microsoft Help Phone Number +1-877-353-1149.

Define and solve a problem

  1. On the Data tab, in the Analysis group, click Solver.
    Excel  Ribbon Image
    Note: If the Solver command or the Analysis group is not available, you need to activate the Solver add-in. See: How to activate the Solver add-in.
  2. In the Set Objective box, enter a cell reference or name for the objective cell. The objective cell must contain a formula. Or Contact Microsoft Help Phone Number +1-877-353-1149.
  3. Do one of the following :
    • If you want the value of the objective cell to be as large as possible, click MaxOr Contact Microsoft Help Phone Number +1-877-353-1149.
    • If you want the value of the objective cell to be as small as possible, click Min.
    • If you want the objective cell to be a certain value, click Value of, and then type the value in the box.
    • In the By Changing Variable Cells box, enter a name or reference for each decision variable cell range. Separate the non-adjacent references with commas. The variable cells must be related directly or indirectly to the objective cell. You can specify up to 200 variable cells.
  4. In the Subject to the Constraints box, enter any constraints that you want to apply by doing the following:
    1. In the Solver Parameters dialog box, click Add.
    2. In the Cell Reference box, enter the cell reference or name of the cell range for which you want to constrain the value.
    3. Click the relationship ( <==>=intbin, or dif ) that you want between the referenced cell and the constraint.If you click intinteger appears in the Constraint box. If you click binbinary appears in the Constraint box. If you click difalldifferent appears in the Constraint box. Or Contact Microsoft Help Phone Number +1-877-353-1149.
    4. If you choose <=, =, or >= for the relationship in the Constraint box, type a number, a cell reference or name, or a formula.
    5. Do one of the following:
      • To accept the constraint and add another, click Add.
      • To accept the constraint and return to the Solver Parameters dialog box, click OK.
        Note    You can apply the intbin, and dif relationships only in constraints on decision variable cells.
        You can change or delete an existing constraint by doing the following:
    6. In the Solver Parameters dialog box, click the constraint that you want to change or delete. Or Contact Microsoft Help Phone Number +1-877-353-1149.
    7. Click Change and then make your changes, or click Delete.
  5. Click Solve and do one of the following:
    • To keep the solution values on the worksheet, in the Solver Results dialog box, click Keep Solver Solution.
    • To restore the original values before you clicked Solve, click Restore Original Values.
    • You can interrupt the solution process by pressing Esc. Excel recalculates the worksheet with the last values that are found for the decision variable cells.
    • To create a report that is based on your solution after Solver finds a solution, you can click a report type in the Reports box and then click OK. The report is created on a new worksheet in your workbook. If Solver doesn't find a solution, only certain reports or no reports are available. Or Contact  Microsoft Help Phone Number +1-877-353-1149. 
    • To save your decision variable cell values as a scenario that you can display later, click Save Scenario in the Solver Results dialog box, and then type a name for the scenario in the Scenario Name box.

Or Contact Microsoft Help Phone Number +1-877-353-1149.

No comments:

Post a Comment