Download Solving optimization problems
Transcript
INVERSE 3.18 6.2: Optimization And Inverse Analyses / Optimization algorithms cli ( x ) = li − xi cri ( x ) = xi − ri . (5) In standard form for definition of bound constraints in Inverse, neither lower nor upper bound on a given component of the parameter vector is considered defined if the corresponding component of the lower bound vector is larger than the corresponding component of the upper bound vector, i.e. if li > ri . In addition, a lower or uper bound is considered unspecified if absolute value of the corresponding component of the lower or upper bound vector is larger than some specified large positive number (argument bignum, denoted by B). If the corresponding components of the lower and upper bound vectors are the same, then this defines an equality constraint. To summarize, lower and upper bounds on optimization variables (parameters) are defined conditially in the following way: li < B ∧ li < ri ⇒ li < xi ri < B ∧ li < ri ⇒ xi < ri . (6) ri < B ∧ li = ri ⇒ xi = li Handling of bound constraints Two ways of handling bound constraints can be combined and are governed by arguments kpen and kconstr (if not specified, the default values taken are 1 and 0, respectively). These coefficients must be non-negative. A zero coefficient means that the corresponding method of handling bound constraints is not imposed. Coefficient kpen corresponds to transformation of parameters with addition of penaty terms for violated bound constraints. The original analysis is always performed at transformed parameters that satisfy all bound constraints (original parameters taht do not satisfy bound constraints are simply shifted on bounds). In addition, penalty terms are added to the objective function for each bound constraint that is violated by nontransformed parameters. The penalty term is zero for nonviolated constraints, and grows linearly with the magnitude of violation of a particular constraint, with factor kpen. Coefficient kconstr corresponds to conversion of bound constraints to usual constraints that are added to the original problem. Each bound constraint is represented by linear constraint function with coefficient kconstr, whose argument is a function of the difference between the parameter component and the corresponding bound (the sign is taken according to whether there is a lower or upper bound in question). The solution of the modified problem therefore satisfies the original constraints plus the bound constraints. Defining (i.e. setting non-zero) both kpen and kconstr is currently considered the best practice. Since bound constraints are convex it is recommendable that kconstr is set high enough that bound constraint functions grow more rapidly than other constraint 15