Parametric programming

Short description: Optimization using parameterization

Parametric programming is a type of mathematical optimization, where the optimization problem is solved as a function of one or multiple parameters.[1] Developed in parallel to sensitivity analysis, its earliest mention can be found in a thesis from 1952.[2] Since then, there have been considerable developments for the cases of multiple parameters, presence of integer variables as well as nonlinearities.

## Contents

* 1 Notation
* 2 Classification
* 3 Applications
* 3.1 In control theory generally and in process industries
* 3.2 In CNC programming
* 4 References

## Notation

In general, the following optimization problem is considered

[math]\displaystyle{ \begin{align} J^*(\theta) = & \min_{x\in\mathbb R^n} f(x,\theta) \\\ & \text{subject to } g(x,\theta)\leq 0.\\\ & \theta \in \Theta \subset \mathbb R^m \end{align} }[/math]

where [math]\displaystyle{ x }[/math] is the optimization variable, [math]\displaystyle{ \theta }[/math] are the parameters, [math]\displaystyle{ f(x,\theta) }[/math] is the objective function and [math]\displaystyle{ g(x,\theta) }[/math] denote the constraints. [math]\displaystyle{ J^* }[/math] denotes a function whose output is the optimal value of the objective function [math]\displaystyle{ f }[/math]. The set [math]\displaystyle{ \Theta }[/math] is generally referred to as parameter space.

The optimal value (i.e. result of solving the optimization problem) is obtained by evaluating the function with an argument [math]\displaystyle{ \theta }[/math].

## Classification

Depending on the nature of [math]\displaystyle{ f(x,\theta) }[/math] and [math]\displaystyle{ g(x,\theta) }[/math] and whether the optimization problem features integer variables, parametric programming problems are classified into different sub-classes:

* If more than one parameter is present, i.e. [math]\displaystyle{ m \gt 1 }[/math], then it is often referred to as multiparametric programming problem[3]
* If integer variables are present, then the problem is referred to as (multi)parametric mixed-integer programming problem[4]
* If constraints are affine, then additional classifications depending to nature of the objective function in (multi)parametric (mixed-integer) linear, quadratic and nonlinear programming problems is performed. Note that this generally assumes the constraints to be affine.[5]

## Applications

### In control theory generally and in process industries

The connection between parametric programming and model predictive control for process manufacturing, established in 2000, has contributed to an increased interest in the topic.[6][7] Parametric programming supplies the idea that optimization problems can be parametrized as functions that can be evaluated (similar to a lookup table). This in turns allows the optimization algorithms in optimal controllers to be implemented as pre-computed (off-line) mathematical functions, which may in some cases be simpler and faster to evaluate than solving a full optimization problem on-line. This also opens up the possibility of creating optimal controllers on chips (MPC on chip[8]). However, the off-line parametrization of optimal solutions runs into the curse of dimensionality as the number of possible solutions grows with the dimensionality and number of constraints in the problem.[citation needed]

### In CNC programming

Parametric programming in the context of CNC (computer numerical control) is defining part-cutting cycles in terms of variables with reassignable values rather than via hardcoded/hardwired instances. An archetypically simple example is writing a G-code program to machine a family of washers: there is often no need to write 15 programs for 15 members of the family with various hole diameters, outer diameters, thicknesses, and materials, when it is practical instead to write 1 program that calls various variables and reads their current values from a table of assignments. The program then instructs the machine slides and spindles to move to various positions at various velocities, accordingly, addressing not only the sizes of the part (i.e., OD, ID, thickness) but also even the speeds and feeds needed for any given material (e.g., low-carbon steel, high-carbon steel; stainless steel of whichever grade; bronze, brass, or aluminum of whichever grade; polymer of whichever type). Custom Macros are often used in such programming.[9]

## References

1. ↑ Gal, Tomas (1995). Postoptimal Analyses, Parametric Programming, and Related Topics: Degeneracy, Multicriteria Decision Making, Redundancy (2nd ed.). Berlin: W. de Gruyter. ISBN 978-3-11-087120-3.
2. ↑ Gal, Tomas; Greenberg, Harvey J. (1997). Advances in Sensitivity Analysis and Parametric Programming. International Series in Operations Research & Management Science. 6. Boston: Kluwer Academic Publishers. doi:10.1007/978-1-4615-6103-3. ISBN 978-0-7923-9917-9.
3. ↑ Gal, Tomas; Nedoma, Josef (1972). "Multiparametric Linear Programming". Management Science 18 (7): 406–422. doi:10.1287/mnsc.18.7.406.
4. ↑ Dua, Vivek; Pistikopoulos, Efstratios N. (October 1999). "Algorithms for the Solution of Multiparametric Mixed-Integer Nonlinear Optimization Problems". Industrial & Engineering Chemistry Research 38 (10): 3976–3987. doi:10.1021/ie980792u.
5. ↑ Pistikopoulos, Efstratios N.; Georgiadis, Michael C.; Dua, Vivek (2007). Multi-parametric Programming Theory, Algorithms and Applications. Weinheim: Wiley-VCH. doi:10.1002/9783527631216. ISBN 9783527316915.
6. ↑ Bemporad, Alberto; Morari, Manfred; Dua, Vivek; Pistikopoulos, Efstratios N. (2000). "The explicit solution of model predictive control via multiparametric quadratic programming". Proceedings of the 2000 American Control Conference. pp. 872. doi:10.1109/ACC.2000.876624. ISBN 0-7803-5519-9.
7. ↑ Bemporad, Alberto; Morari, Manfred; Dua, Vivek; Pistikopoulos, Efstratios N. (January 2002). "The explicit linear quadratic regulator for constrained systems". Automatica 38 (1): 3–20. doi:10.1016/S0005-1098(01)00174-1.
8. ↑ MPC on a chip—Recent advances on the application of multi-parametric model-based control | Request PDF
9. ↑ Lynch, Mike (2023-05-12). "5 Reasons Why You Should Know How to Write Custom Macros. Custom macros enhance what can be done in G-code programs, giving users the ability to code operations that were previously not possible" (in en). https://www.mmsonline.com/articles/5-reasons-why-you-should-know-how-to-write-custom-macros.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Parametric programming. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Parametric_programming&oldid=3015568"