Example: air traffic controller

Part 1 Examples of optimization problems

49 Wolfgang BangerthPart 1 Examples of optimization problems50 Wolfgang BangerthLet X be a Banach space; let f : X R {+ } g: X Rne h: X Rnibe functions on X, find x X so thatQuestions: Under what conditions on X, f, g, h can we guarantee that (i) there is a solution; (ii) the solution is unique; (iii) the solution is speaking: f(x) min!g(x) = 0h(x) 0 What is an optimization problem?51 Wolfgang BangerthWhat is an optimization problem? x={u,y} is a set of design and auxiliary variables thatcompletely describe a physical, chemical, economical model; f(x) is an objective function with which we measure howgood a design is; g(x) describes relationships that have to be met exactly(for example the relationship between y and u) h(x) describes conditions that must not be exceededThen find me that x for whichQuestion: How do I find this x?

58 Wolfgang Bangerth Mathematical description: x={u,y}: u are the design parameters (e.g. the shape of the car) y is the flow field around the car f(x): the drag force that results from the flow field g(x)=y-q(u)=0: constraints that come from the fact that there is a flow field y=q(u) for each design.y may, for example, satisfy the Navier-Stokes equations

Tags:

  Eskto, Navier, Navier stokes

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Part 1 Examples of optimization problems

1 49 Wolfgang BangerthPart 1 Examples of optimization problems50 Wolfgang BangerthLet X be a Banach space; let f : X R {+ } g: X Rne h: X Rnibe functions on X, find x X so thatQuestions: Under what conditions on X, f, g, h can we guarantee that (i) there is a solution; (ii) the solution is unique; (iii) the solution is speaking: f(x) min!g(x) = 0h(x) 0 What is an optimization problem?51 Wolfgang BangerthWhat is an optimization problem? x={u,y} is a set of design and auxiliary variables thatcompletely describe a physical, chemical, economical model; f(x) is an objective function with which we measure howgood a design is; g(x) describes relationships that have to be met exactly(for example the relationship between y and u) h(x) describes conditions that must not be exceededThen find me that x for whichQuestion: How do I find this x?

2 In practice: f(x) min!g(x) = 0h(x) 052 Wolfgang BangerthWhat is an optimization problem? optimization problems are often subdivided into classes:Linear vs. Nonlinear Convex vs. NonconvexUnconstrained vs. Constrained Smooth vs. NonsmoothWith derivatives vs. Derivativefree Continuous vs. Discrete Algebraic vs. ODE/PDE Depending on which class an actual problem falls into, there are different classes of Wolfgang BangerthExamplesLinear and nonlinear functions f(x) on a domain bounded by linear inequalities54 Wolfgang BangerthExamplesStrictly convex, convex, and nonconvex functions f(x)55 Wolfgang BangerthAnother non-convex function with many (local) may want to find the one global Wolfgang BangerthOptima in the presence of (nonsmooth) Wolfgang BangerthSmooth and non-smooth nonlinear Wolfgang BangerthMathematical description:x={u,y}:u are the design parameters ( the shape of the car)y is the flow field around the carf(x):the drag force that results from the flow fieldg(x)=y-q(u)=0.

3 Constraints that come from the fact that there is a flowfield y=q(u) for each design. y may, for example, satisfythe navier -Stokes equationsApplications: The drag coefficient of a car59 Wolfgang BangerthInequality constraints:(expected sales price profit margin) - cost(u) 0volume(u) volume(me, my wife, and her bags) 0material stiffness * safety factor- max(forces exerted by y on the frame) 0legal margins(u) 0 Applications: The drag coefficient of a car60 Wolfgang BangerthAnalysis:linearity:f(x) may be linearg(x) is certainly nonlinear ( navier -Stokes equations)h(x) may be nonlinearconvexity: ??constrained: yessmooth:f(x) yesg(x) yesh(x) some yes, some noderivatives: available, but probably hard to compute in practicecontinuous:yes, not discreteODE/PDE:yes, not just algebraicApplications: The drag coefficient of a car61 Wolfgang BangerthRemark:In the formulation as shown, the objective function was of the formf(x) = cd(y)In practice, one often is willing to trade efficiency for cost, we are willing to accept a slightly higher drag coefficient if the cost is smaller.

4 This leads to objective functions of the formf(x) = cd(y) + a cost(u)orf(x) = cd(y) + a[cost(u)]2 Applications: The drag coefficient of a car62 Wolfgang BangerthApplications: Optimal oil production strategiesPermeability fieldMathematical description:x={u,y}:u are the pumping rates at injection/production wellsy is the flow field (pressures/velocities)f(x):the cost of production and injection minus sales price ofoil integrated over lifetime ofreservoir (or -NPV)g(x)=y-q(u)=0:constraints that come from the fact that there is a flowfield y=q(u) for each u. y may, for example, satisfythe multiphase porous media flow equationsOil saturation63 Wolfgang BangerthApplications: Optimal oil production strategiesInequality constraints h(x) 0:Uimax-ui 0(for all wells i):Pumps have a maximal pumping rate/pressureproduced_oil(T)/available_o il(0) c 0:Legislative requirement to produce at least a certain fractionc - water_cut(t) 0 (for all times t):It is inefficient to produce too much waterpressure d 0 (for all times and locations):Keeps the reservoir from collapsing64 Wolfgang BangerthApplications: Optimal oil production strategiesAnalysis:linearity:f(x) is nonlinearg(x) is certainly nonlinearh(x) may be nonlinearconvexity: noconstrained: yessmooth:f(x) yesg(x) yesh(x) yesderivatives.

5 Available, but probably hard to compute in practicecontinuous:yes, not discreteODE/PDE:yes, not just algebraic65 Wolfgang BangerthApplications: Switching lights at an intersectionMathematical description:x={T, ti1, ti2}:round-trip time T for the stop light system, switch-green and switch-red times for all lights if(x):number of cars that can pass the intersection perhour; Note: unknown as a function, but we can measure it66 Wolfgang BangerthApplications: Switching lights at an intersectionInequality constraints h(x) 0:300 T 0:No more than 5 minutes of round-trip time, so that peopledon't have to wait for too longt2i-t1i 5 0 (for all lights i):At least 5 seconds of green for everyonet1(i+1)-t2i 5 0:At least 5 seconds of all-red between different greens67 Wolfgang BangerthApplications: Switching lights at an intersectionAnalysis:linearity:f(x) ?

6 ?h(x) is linearconvexity: ??constrained: yessmooth:f(x) ??h(x) yesderivatives: not availablecontinuous:yes, not discreteODE/PDE:no68 Wolfgang BangerthApplications: Trajectory planningMathematical description:x={y(t),u(t)}:position of spacecraft and thrust vector at time tminimize fuel consumptionNewton's lawDo not get too close to the sunOnly limited thrust availablem y t u t =0f x = 0T u t dt y t d0 0umax u t 069 Wolfgang BangerthApplications: Trajectory planningAnalysis:linearity:f(x) is nonlinearg(x) is linearh(x) is nonlinearconvexity: noconstrained: yessmooth:yes, herederivatives: computablecontinuous:yes, not discreteODE/PDE:yesNote: Trajectory planning problems are often called optimal Wolfgang BangerthApplications: Data fitting 1 Mathematical description:x={a,b}:parameters for the model f(x)=1/N i |yi-y(ti)|2.

7 Mean square difference between predicted valueand actual measurementy t =1alogcosh abt 71 Wolfgang BangerthApplications: Data fitting 1 Analysis:linearity:f(x) is nonlinearconvexity: ?? (probably yes)constrained: nosmooth:yesderivatives: available, and easy to compute in practicecontinuous:yes, not discreteODE/PDE:no, algebraic72 Wolfgang BangerthApplications: Data fitting 2 Mathematical description:x={a,b}:parameters for the model f(x)=1/N i |yi-y(ti)|2:mean square difference betweenpredicted value and actual measurementy t =at b73 Wolfgang BangerthApplications: Data fitting 2 Analysis:linearity:f(x) is quadraticConvexity: yesconstrained: nosmooth:yesderivatives: available, and easy to compute in practicecontinuous:yes, not discreteODE/PDE:no, algebraicNote: Quadratic optimization problems (even with linear constraints) are easy to solve!

8 74 Wolfgang BangerthApplications: Data fitting 3 Mathematical description:x={a,b}:parameters for the model f(x)=1/N i |yi-y(ti)|:mean absolute difference between predictedvalue and actual measurementy t =at b75 Wolfgang BangerthApplications: Data fitting 3 Analysis:linearity:f(x) is nonlinearConvexity: yesconstrained: nosmooth:no!derivatives: not differentiablecontinuous:yes, not discreteODE/PDE:no, algebraicNote: Non-smooth problems are really hard to solve!76 Wolfgang BangerthApplications: Data fitting 3, revisitedMathematical description:x={a,b, si}:parameters for the model slack variables sif(x)=1/N i si min!si - |yi-y(ti)| 0y t =at b77 Wolfgang BangerthApplications: Data fitting 3, revisitedAnalysis:linearity:f(x) is linear, h(x) is not linearConvexity: yesconstrained: yessmooth:no!

9 Derivatives: not differentiablecontinuous:yes, not discreteODE/PDE:no, algebraicNote: Non-smooth problems are really hard to solve!78 Wolfgang BangerthApplications: Data fitting 3, re-revisitedMathematical description:x={a,b, si}:parameters for the model slack variables sif(x)=1/N i si min!si - |yi-y(ti)| 0si - (yi-y(ti)) 0si + (yi-y(ti)) 0y t =at b79 Wolfgang BangerthApplications: Data fitting 3, re-revisitedAnalysis:linearity:f(x) is linear, h(x) is now also linearConvexity: yesconstrained: yessmooth:yesderivatives: yescontinuous:yes, not discreteODE/PDE:no, algebraicNote: Linear problems with linear constraints are simple to solve!80 Wolfgang BangerthApplications: Traveling salesmanMathematical description:x={ci }:the index of the ith city on our trip, i= (x)= no city is visited twice (alternatively: )Task: Find the shortest tour through N cities with mutual distances dij.

10 (Here: the 15 biggest cities of Germany; there are 43,589,145,600 possible tours through all these cities.) idcici 1ci cj for i jcicj 181 Wolfgang BangerthApplications: Traveling salesmanAnalysis:linearity:f(x) is linear, h(x) is nonlinearConvexity: meaninglessconstrained: yessmooth:meaninglessderivatives: meaninglesscontinuous:discrete: ODE/PDE:no, algebraicNote: Integer problems (combinatorial problems ) are often exceedingly complicated to solve!x X {1,2,..,N}N82 Wolfgang BangerthPart 2 Minima, minimizers, sufficient and necessary conditions83 Wolfgang BangerthPart 3 Metrics of algorithmic complexity84 Wolfgang BangerthAll algorithms to find minima of f(x) do so iteratively:- start at a point - for k=1,2,.., : . compute an update direction . compute a step length.


Related search queries