8
กกกกกก Solver กก Excel

การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

Embed Size (px)

Citation preview

Page 1: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

การใช้� Solver ใน Excel

Page 2: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

Solver• Part of a suite of commands sometimes called

what-if analysis tools • Find an optimal value for a Formula in one cell —

called the Target cell — on a worksheet. • works with a group of cells that are related, either

directly or indirectly, to the formula in the target cell.

• Adjusts the values in the Changing cells you specify — called the adjustable cells — to produce the result you specify from the target cell formula.

• can apply constraints to restrict the values

Page 3: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

Example for Solver• # Telephone survey: A marketing group

needs to contact at least 150 wives, 120 husbands, 100 male singles and 110 female singles

• Cost: $2 /day and $5 /night

• At most half of all phone calls can be in the evening

• Formulate LP for min. cost

Page 4: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

vary

Target

Constraints

Assume # of daytime and night time calls

Page 5: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula
Page 6: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

After use “Solver”

Page 7: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

Report Page

Page 8: การใช้ Solver ใน Excel. Solver Part of a suite of commands sometimes called what-if analysis tools what-if analysis Find an optimal value for a Formula

Add-Ins program SolverExcel 2003: Solver is in Menu Tools To install:Menu bar select Tools Add-Ins and check box Solver Add-Ins

Excel 2007: Solver is in the Analysis group on the Data tabTo install:• Click the Microsoft Office Button, and click Excel Options.

• Click Add-Ins, and in the Manage box, select Excel Add-ins.

• Click Go.

• In the Add-Ins available box, select the Solver Add-in check box, and then click OK. Tip If Solver Add-in is not listed in the Add-Ins available box, click Browse to locate the add-in.If you get prompted that the Solver Add-in is not currently installed on your computer, click Yes to install it.