



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




These notes can be freely reproduced for any non-commercial purpose; please acknowledge the author if you do so.
In turn, I would like to thank Robert M. Freund, from whose courses 15.084: Nonlinear Program- ming and 15.094: Systems Optimization: Models and Computation at MIT these notes borrow in many ways.
A mathematical programming problem or, simply, a mathematical program is a mathematical for- mulation of an optimization problem.
Unconstrained Problem:
(P) minx f (x) s.t. x ∈ X,
where x = (x 1 ,... , xn )T^ ∈ R n^ , f (x) : R n^ → R, and X is an open set (usually X = R n^ ).^1
Constrained Problem:
(P) minx f (x) s.t. gi (x) ≤ 0 i = 1,... , m h (^) i (x) = 0 i = 1,... , l x ∈ X,
where g 1 (x),... , g (^) m (x), h 1 (x),... , h (^) l (x) : R n^ → R.
Let g(x) = (g 1 (x),... , g (^) m (x))T^ : R n^ → R m^ , h(x) = (h 1 (x),... , h (^) l (x))T^ : R n^ → R l^. Then (P) can be written as (P) minx f (x) s.t. g(x) ≤ 0 h(x) = 0 x ∈ X.
(^1) BSS uses (·)t (^) notation for transpose.
Some terminology: Function f (x) is the objective function. Restrictions “h (^) i (x) = 0” are referred to as equality constraints, while “g (^) i (x) ≤ 0” are inequality constraints. Notice that we do not use constraints in the form “gi (x) < 0”!
A point x is feasible for (P) if it satisfies all the constraints. (For an unconstrained problem, x ∈ X.) The set of all feasible points forms the feasible region, or feasible set (let us denote it by F). The goal of an optimization problem in minimization form, as above, is to find a feasible point ¯x such that f (¯x) ≤ f (x) for any other feasible point x.
Suppose one has the opportunity to invest in n assets. Their future returns are represented by random variables, R 1 ,... , R (^) n , whose expected values and covariances, E[R (^) i ], i = 1,... , n and Cov(R (^) i , Rj ), i, j = 1,... , n, respectively, can be estimated based on historical data and, possibly, other considerations. At least one of these assets is a risk-free asset.
Suppose xi , i = 1,... , n, are the fractions of your wealth allocated to each of the assets (that is, x ≥ 0 and
∑n i=1 xi^ = 1).^ The return of the resulting portfolio is a random variable^
∑n i=1 xi^ R^ i with mean
∑n i=1 xi^ E[R^ i^ ] and variance^
∑n i=
∑n j=1 xi^ xj^ Cov(R^ i^ , Rj^ ).^ A portfolio is usually chosen to optimize some measure of a tradeoff between the expected return and the risk, such as
max
∑n i=1 xi^ E[R^ i^ ]^ −^ μ^
∑n i=
∑n j=1 xi^ xj^ Cov(R^ i^ , Rj^ ) s.t.
∑n i=1 xi^ = 1 x ≥ 0 ,
where μ > 0 is a (fixed) parameter reflecting the investor’s preferences in the above tradeoff. Since it is hard to assess anybody’s value of μ, the above problem can (and should) be solved for a variety of values of μ, thus generating a variety of portfolios on the efficient frontier.
Applications in model constructions, statistics (e.g., linear regression), neural networks, etc.
We consider a linear measurement model, i.e., we stipulate that an (output) quantity of interest y ∈ R can be expressed as a linear function y ≈ aT^ x of input a ∈ R n^ and model parameters x ∈ R n^. Our goal is to find the vector of parameters x which provide the “best fit” for the available set of input-output pairs (ai , yi ), i = 1,... , m. If “fit” is measured by sum of squared errors between estimated and measured outputs, solution to the following optimization problem
min
∑m i=1 (vi^ ) (^2) = minx∈R n^ ∑m i=1 (y^ i^ −^ a T i x) (^2) = minx∈R n ‖Ax − y‖ 2 2 , x ∈ R n s.t. vi = y (^) i − aTi x, i = 1,... , m
provides the best fit. Here, A is the matrix with rows aTi.
Consider a family of probability distributions p (^) x (·) on R, parameterized by vector x ∈ R n^. When considered as a function of x for a particular observation of a random variable y ∈ R, the function
Consider the design of a cantilever beam of length l and density ρ whose height x 1 ≥ 0 .1 inch and width x 2 ≥ 0 .1 inch are to be selected to minimize total volume, which is proportional to lx 1 x 2. The displacement of the beam under load P should not exceed a pre-specified amount δ. The displacement is given by 4 P l^ 3 Y x 1 x 32 , where^ Y >^ 0 is the Young’s modulus of the material. Therefore, the design problem can be formulated as follows:
minx 1 , x 2 lx 1 x 2 s.t. δ 4 Yl 3 x 1 x^32 − P ≥ 0 x 1 ≥ 0. 1 , x 2 ≥ 0. 1.
In practice, however, Y (property of the material) and P (load on the beam) are not known a priori, or exactly. One common way to account for this uncertainty in the model is to view these parameters as random variables. Then the displacement of the beam is also a random variable, and the constraint “displacement of the beam does not exceed δ” is replaced with “with high probability, displacement of the beam does not exceed δ. This leads to the following optimization problem, which is commonly referred to as the chance-constrained problem:
min lx 1 x 2 s.t. Pr.
( (^) δY 4 l 3 x^1 x
3 2 −^ P^ ≥^0
≥ α x 1 ≥ 0. 1 , x 2 ≥ 0. 1 ,
where α ∈ [0, 1] is a parameter selected by the designer to indicate the desired reliability. (Higher values of α correspond to greater probability that the condition on displacement will be met.)
Reddy, Grandhi and Hopkins^2 analyze this problem with
Let us define random variable R(x) = δ 4 Yl 3 x 1 x^32 − P. Then R(x) is Gaussian with mean and vari- ance
μ(x) = δμY 4 l 3
x 1 x^32 − μP , σ(x)^2 = δ 2 σ (^) Y^2 16 l 6
x^21 x^62 + σ (^) P^2.
Substituting parameter values into these expressions, we obtain:
μ(x) =
(5x 1 x^32 − 48), σ(x) =
25 x^21 x^62 + (144)^2.
We also define
ρ(x) =
μ(x) σ(x)
5 x 1 x^32 − 48 √ 25 x^21 x^62 + (144) 2
(^2) Mahidhar V. Reddy, Ramana V. Grandhi, and Dale A. Hopkins. Reliability based structural optimization – A simplified safety index approach. Comput. Struct., 53(6):1407-1418, 1994.
The chance constraint of the above formulation can be re-written as
Pr .{R(x) ≥ 0 } ≥ α ⇔ Φ(ρ(x)) ≥ α ⇔ ρ(x) ≥ Φ −^1 (α).
Here, Φ(·) is the CDF of a standard Gaussian random variable, and the second equivalence follows by its monotonicity. Let β := Φ −^1 (α). Since we are interested in large values of α, β is going to assume positive values. Therefore, by squaring the expression of ρ(x) given in the previous paragraph, we can re-state the chance constraint as the following two inequalities:
μ(x) ≥ 0 , μ(x)^2 − β 2 σ(x)^2 ≥ 0.
Substituting expressions for μ(x) and σ(x), and letting γ = β 2 /100, these become:
5 x 1 x^32 − 48 ≥ 0 , 25(1 − γ)x^21 x^62 − 480 x 1 x^32 +
482 − 144 2 γ
Thus, the chance-constrained optimization model of the cantilever beam design problem can be re-stated as the following nonlinear optimization problem:
min lx 1 x 2 s.t. 5 x 1 x^32 − 48 ≥ 0 25(1 − γ)x^21 x^62 − 480 x 1 x^32 +
482 − 1442 γ
x 1 ≥ 0. 1 , x 2 ≥ 0. 1.