Content deleted Content added
updated based on the assignment from class IND E 535 - University of Washington Tags: nowiki added Visual edit |
m remove nowiki |
||
(43 intermediate revisions by 25 users not shown) | |||
Line 1:
'''Simulation-based optimization''' (also known as simply '''simulation optimization''') integrates [[optimization (mathematics)|optimization]] techniques into [[computer simulation|simulation]] modeling and analysis. Because of the complexity of the simulation, the [[objective function]] may become difficult and expensive to evaluate. Usually, the underlying simulation model is stochastic, so that the objective function must be estimated using statistical estimation techniques (called output analysis in simulation methodology).
Once a system is mathematically modeled, computer-based simulations provide
In simulation experiment,
== Simulation-based optimization methods ==▼
Simulation-based optimization methods can be categorized into the following groups:<ref name=Fu>{{cite book|last=Fu|first=Michael, editor|title=Handbook of Simulation Optimization|publisher=Springer|year=2015|url=http://www.springer.com/us/book/9781493913831}}</ref><ref>Deng, G. (2007). ''Simulation-based optimization'' (Doctoral dissertation, UNIVERSITY OF WISCONSIN–MADISON).</ref>▼
Specific simulation–based optimization methods can be chosen according to Figure 1 based on the decision variable types.<ref>Jalali, Hamed, and Inneke Van Nieuwenhuyse. "[https://core.ac.uk/download/pdf/34623919.pdf Simulation optimization in inventory replenishment: a classification]." IIE Transactions 47.11 (2015): 1217-1235.</ref>
[[File:Slide1 1.jpg|thumb|Fig.1 Classification of simulation based optimization according to variable types]]
[[Optimization (computer science)|Optimization]]
''Optimization
''Optimization
▲In simulation experiment, we want to evaluate the effect of different values of input variables on a system, which is called running simulation experiments. However sometimes we are interested in finding the optimal value for input variables in terms of the system outcomes. One way could be running simulation experiments for all possible input variables. However this approach is not always practical due to several possible situations and it just makes it intractable to run experiment for each scenario. For example, there might be so many possible values for input variables, or simulation model might be so complicated and expensive to run for suboptimal input variable values. In these cases, we are interested in finding optimal values for input variables rather than trying all possible values. This process is called simulation optimization.<sup>[[User:Lpetroia/sandbox|[1]]]</sup>
▲== Simulation-based optimization methods ==
▲[[Optimization (computer science)|Optimization]] exists in two main branches of operational research:
▲
<ref>Spall, J.C. (2003). ''Introduction to Stochastic Search and Optimization: Estimation, Simulation, and Control''. Hoboken: Wiley.</ref>
=== Statistical ranking and selection methods (R/S) ===
▲''Optimization [[Parametric programming|parametric]] (static)'' – the objective is to find the values of the parameters, which are “static” for all states, with the goal of maximize or minimize a function. In this case, there is the use of mathematical programming, such as linear programing. In this scenario, simulation helps when the parameters contain noise or the evaluation of the problem would demand excess of computer time, due to its complexity.
Ranking and selection methods are designed for problems where the alternatives are fixed and known, and simulation is used to estimate the system performance.
In the simulation optimization setting, applicable methods include indifference zone approaches, optimal computing budget allocation, and knowledge gradient algorithms.
▲''Optimization [[Optimal control|control]] (dynamic)'' – used largely in computer sciences and electrical engineering, what results in many papers and projects in these fields. The optimal control is per state and the results change in each of them. There is use of mathematical programming, as well as dynamic programming. In this scenario, simulation can generate random samples and solve complex and large-scale problems.<sup>[[User:Lpetroia/sandbox|[3]]]</sup>
In [[response surface methodology]],
===
[[Heuristic (computer science)|Heuristic methods]] change accuracy by speed. Their goal is to find a good solution faster than the traditional methods, when they are too slow or fail in solving the problem. Usually they find local optimal instead of the optimal value; however, the values are considered close enough of the final solution. Examples of
▲There are five methods classifying the simulation based optimization. They are discussed below:
Metamodels enable researchers to obtain reliable approximate model outputs without running expensive and time-consuming computer simulations. Therefore, the process of model optimization can take less computation time and cost.<ref>{{Cite journal|last=Yousefi|first=Milad|last2=Yousefi|first2=Moslem|last3=Ferreira|first3=Ricardo Poley Martins|last4=Kim|first4=Joong Hoon|last5=Fogliatto|first5=Flavio S.|title=Chaotic genetic algorithm and Adaboost ensemble metamodeling approach for optimum resource planning in emergency departments|journal=Artificial Intelligence in Medicine|volume=84|pages=23–33|doi=10.1016/j.artmed.2017.10.002|pmid=29054572|year=2018}}</ref>
▲==== [[Response surface methodology|Response Surface Methodology]] (RSM) ====
▲In response surface methodology, we are trying to find the relationship between the input variables and the response variables. The process starts from trying to fit a linear regression model. If the P-value turns out to be low, then a higher degree polynomial regression, which is usually quadratic, will be implemented. The process of finding a good relationship between input and response variables will be done for each simulation test. In simulation optimization, response surface method can be used to find the best input variables that produce desired outcomes in terms of response variables.<sup>[[User:Lpetroia/sandbox|[4]]]</sup>
[[Stochastic approximation]] is used when the function cannot be computed directly, only estimated via noisy observations. In
▲Heuristic methods change accuracy by speed. Their goal is to find a good solution faster than the traditional methods, when they are too slow or fail in solving the problem. Usually they find local optimal instead of the optimal value; however, the values are considered close enough of the final solution. Examples of this kind of method is tabu search or genetic algorithm.
:<math>\underset{\text{x}\in\theta}{\min}f\bigl(\text{x}\bigr) = \underset{\text{x}\in\theta}{\min}\Epsilon[F\bigl(\text{x,y})]</math>
▲==== [[Stochastic approximation]] ====
▲Stochastic approximation is used when the function cannot be computed directly, only estimated via noisy observations. In this scenarios, this method (or family of methods) looks for the extrema of these function. The objective function would be:
:<math>y</math> is a random variable that represents the noise.
:<math>x</math> is the parameter that minimizes
:<math>\theta</math> is the ___domain of the parameter
[[Derivative-free optimization]] is a subject of mathematical optimization. This method is applied to a certain optimization problem when its derivatives are unavailable or unreliable.
For unconstrained optimization problems, it has
:<math>\underset{\text{x}\in\R^n}{\min}f\bigl(\text{x}\bigr)</math>
The limitation of derivative-free optimization:▼
1. Some methods cannot handle optimization problems with more than a few variables; the results are usually not so accurate. However, there are numerous practical cases where derivative-free methods have been successful in non-trivial simulation optimization problems that include randomness manifesting as "noise" in the objective function. See, for example, the following
<ref name=Fu/>
.<ref>Fu, M.C., Hill, S.D. Optimization of discrete event systems via simultaneous perturbation stochastic approximation. ''IIE Transactions'' 29, 233–243 (1997). https://doi.org/10.1023/A:1018523313043</ref>
2. When confronted with minimizing non-convex functions, it will show its limitation.
3. Derivative-free optimization methods
[[Dynamic programming]] deals with situations where decisions are made in
One dynamic basic model has two features:
1)
2) The cost function is additive over time.
For discrete
:<math>x_{k+1} = f_k(x_{k},u_{k},w_{k}) , k=0,1,...,N-1</math>
:<math>k</math> represents the index of discrete time.
:<math>x_k</math> is the state of the time k, it contains the past information and
:<math>u_k</math> is the control variable.
:<math>w_k</math> is the random parameter.
For the cost function, it has the form:
:<math>g_N(X_N) + \sum_{k=0}^{N-1} g_k(x_k,u_k,W_k)</math>
is the cost at the end of the process.▼
▲<math>g_N(X_N)</math> is the cost at the end of the process.
As the cost cannot be optimized meaningfully, we can use expect value:▼
Neuro-dynamic programming is the same as dynamic programming except that the former has the concept of approximation architectures. It combines artificial intelligence, simulation-base algorithms, and functional approach techniques. “Neuro” in this term origins from artificial intelligence community. It means learning how to make improved decisions for the future via built-in mechanism based on the current behavior. The most important part of neuro-dynamic programming is to build a trained neuro network for the optimal problem.▼
:<math>E\{g_N(X_N) + \sum_{k=0}^{N-1} g_k(x_k,u_k,W_k) \}</math>
=== Limitations ===▼
Simulation base optimization has some limitations<sup>[[User:Lpetroia/sandbox|[8]]]</sup>, such as the difficulty of create a model that imitates the dynamic behavior of the system in a way that is considered good enough for its representation. Other problem is how complex it is the determination of uncontrollable parameters of the real-world system and of the simulation. Moreover, only a statistical estimation of the real values can be obtained. It is not easy to determine the objective function, since it is result of measurements, what can be harmful for the solutions<sup>[[User:Lpetroia/sandbox|[9]]]</sup>.▼
====
▲Neuro-dynamic programming is the same as dynamic programming except that the former has the concept of approximation architectures. It combines [[artificial intelligence]], simulation-base algorithms, and functional approach techniques. “Neuro” in this term origins from artificial intelligence community. It means learning how to make improved decisions for the future via built-in mechanism based on the current behavior. The most important part of neuro-dynamic programming is to build a trained neuro network for the optimal problem.<ref>Van Roy, B., Bertsekas, D., Lee, Y., & [[John Tsitsiklis|Tsitsiklis, J.]] (1997). [https://web.stanford.edu/~bvr/pubs/retail.pdf Neuro-dynamic programming approach to retailer inventory management]. ''Proceedings of the IEEE Conference on Decision and Control,'' ''4'', 4052-4057.</ref>
▲Simulation
==References==
|