10.07.2015 Views

Introduction to Optimization Introduction to Optimization

Introduction to Optimization Introduction to Optimization

Introduction to Optimization Introduction to Optimization

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ancmat02.qxd 11/16/06 3:25 PM Page B4B4 • SUPPLEMENT BINTRODUCTION TO OPTIMIZATIONALGEBRAIC FORMULATION FormulationA formal, algebraic statemen<strong>to</strong>f a constrained optimizationproblem.The text description of the problem is fine for communicating a general understanding,but in order <strong>to</strong> address the problem using optimization we need <strong>to</strong> develop a formalalgebraic description, called a formulation. A formulation contains explicitdefinitions of the decision variables, an algebraic expression of the objective function,and algebraic statements of the constraints. This is not as hard as it sounds, but it is acrucial step if you hope <strong>to</strong> develop a high-quality spreadsheet model that Solver cansuccessfully solve.A diagram of the situation can help <strong>to</strong> structure the problem so that the algebraicformulation can be written down more easily. A well-constructed diagram is also avaluable communication <strong>to</strong>ol. In this situation, three resources are combined <strong>to</strong> producetwo products. Specific amounts of each resource are needed, and each productgenerates a known profit. See Figure B-2 for one way <strong>to</strong> show this. One of the importantpoints is that the <strong>to</strong>tal amount of each resource available must be shared betweenthe two products (assuming both are <strong>to</strong> be produced).A diagram, coupled with a text-based formulation, often serves as a valuable steppings<strong>to</strong>ne <strong>to</strong> a formal algebraic formulation. In this situation, a text-based formulationcan be stated as follows:Text-Based Formulation● Decision variables: Number of camshafts <strong>to</strong> make, number of gears <strong>to</strong> make● Objective function: Maximize profit● Constraints: Must not exceed our resource availability in steel, labor, and machinehoursThe text-based formulation helps <strong>to</strong> structure the problem. The next step is <strong>to</strong>write the algebraic formulation. The algebraic formulation states the decision variables,objective function, and constraints in algebraic terms. The decision variablescorrespond <strong>to</strong> the quantities of camshafts and gears <strong>to</strong> make. We do not know aheadof time the best values for these (that’s what we’re trying <strong>to</strong> determine), so we create avariable <strong>to</strong> represent each quantity, as follows:FIGURE B-2DJJ Enterprises diagramRawMaterialsLaborMachineTime5 lb8 lb1 hr 3 hr 4 hr 2 hrCamshafts($25/unit)Gears($18/unit)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!