How to use the Excel Solver
- Prepare your spreadsheet model.
- Enter data in matrix format.
- For convenience, mark the cells which represent the decision variables.
- Create the formulae for the left-hand sides of the constraints.
- From the Tools tab select Solver.
- Set target cell to the cell containing the objective function value.
- Under "Equal to:" select "Max" for maximization problems, "Min" for minimization.
- Set "By changing cells:" to the cells containing your decision variables.
- Add constraints: set the appropriate cell ranges for the left- and right-hand side, and select <=, >= or =.
- (optional) Go to "Options", check the box "Assume linear".
- If all your variables are supposed to be non-negative, check "Assume non-negative". Otherwise add non-negativity as a constraint for the nonnegative variables.
- (optional) Set "Tolerance" to 0.01%.
- Click OK to exit Options, press Solve.