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 B6B6 • SUPPLEMENT BINTRODUCTION TO OPTIMIZATIONPutting all the constraints <strong>to</strong>gether, we haveConstraintsNormally, we consolidate the entire formulation <strong>to</strong>gether in<strong>to</strong> a standard format, asfollows:Complete Formulation5C 8G 5000 (steel lb)1C 4G 1500 (labor, hr)3C 2G 1000 (machine time, hr)C, G 0 (nonnegativity)Decision variables:C number of camshafts <strong>to</strong> makeG number of gears <strong>to</strong> makeMax: 25C 18G (profit, $)Subject <strong>to</strong> (or, “s.t.”):5C 8G 5000 (steel, lb)1C 4G 1500 (labor, hr)3C 2G 1000 (machine time, hr)C, G 0 (nonnegativity) Linear program (LP)A constrained optimizationproblem in which all thefunctions involving decisionvariables are linear. Feasible solutionA specific combinationof values of the decisionvariables such that all ofthe constraints are satisfied. Infeasible solutionA specific combinationof values of the decisionvariables such that at leas<strong>to</strong>ne of the constraints isviolated. Optimal solutionThe feasible solution with thelargest (for a maximizationproblem) or smallest (for aminimization) objectivevalue.Examining the FormulationThe formulation is a concise mathematical description of the problem. It indicatesthat we want <strong>to</strong> find the values of C and G that produce the largest value of the objectivefunction while satisfying all the constraints. In this formulation all of the relationshipsamong the variables are linear. That is, all expressions involving thevariables C and G consist of a constant multiplied by the variable itself. Combinationsof variables can be added (or subtracted) <strong>to</strong> one another, but there are nononlinear expressions involving variables, such as C 2 , G/C, or C. Thus, this formulationis referred <strong>to</strong> as a linear program (LP), or an LP formulation. A linearprogram (LP) is an optimization problem in which all of the relationships amongthe decision variables are linear. LPs are much easier <strong>to</strong> solve, in general, thanproblems involving nonlinear expressions. The solver built in<strong>to</strong> Excel has the capability<strong>to</strong> solve both linear and nonlinear problems, but if your problem can be formulatedas an LP, it is best <strong>to</strong> do so because its solution algorithm is faster andmore reliable.A feasible solution <strong>to</strong> an optimization problem in general, or an LP as in this case,is a particular combination of C and G that satisfies all of the constraints. An infeasiblesolution violates at least one of the constraints. The optimal solution is the feasiblesolution with the largest (for a “max” problem) or smallest (for a “min” problem)objective function value.Consider the solution C 75, G 200. Is this solution feasible? To determine if itis, evaluate each of the constraints. The amount of steel required would be 5(75) 8(200) 1975 lb, which is less than the 5000 pounds available. Similarly, the solutionrequires 1(75) 4(200) 875 hr labor (less than the 1500 hours available), and

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

Saved successfully!

Ooh no, something went wrong!