In the Advanced Custom Optimization tab (see Figures 8.3–8.7), you can create and solve your own optimization models. Knowledge of optimization modeling is required to set up your own models, but you can click on Load Example and select a sample model to run. You can use these sample models to learn how the Optimization routines can be set up. Click Run when done to execute the optimization routines and algorithms. The calculated results and charts will be presented on completion.
When setting up your own optimization model, we recommend going from one tab to another, starting with the Method (static, dynamic, or stochastic optimization); setting up the Decision Variables, Constraints, and Statistics (applicable only if simulation inputs have first been set up, and if dynamic or stochastic optimization is run); and setting the Objective function.
As far as the optimization process is concerned, PEAT’s Advanced Custom Optimization can be used to run a Static Optimization, that is, an optimization that is run on a static model, where no simulations are run. In other words, all the inputs in the model are static and unchanging. This optimization type is applicable when the model is assumed to be known and no uncertainties exist. Also, a discrete optimization can be first run to determine the optimal portfolio and its corresponding optimal allocation of decision variables before more advanced optimization procedures are applied. For instance, before running a stochastic optimization problem, a discrete optimization is first run to determine if there exist solutions to the optimization problem before a more protracted analysis is performed.
Next, Dynamic Optimization is applied when Monte Carlo simulation is used together with optimization. Another name for such a procedure is Simulation-Optimization. That is, a simulation is first run, then the results of the simulation are applied back into the model, and then an optimization is applied to the simulated values. In other words, a simulation is run for N trials, and then an optimization process is run for M iterations until the optimal results are obtained, or an infeasible set is found. That is, using PEAT’s optimization module, you can choose which forecast and assumption statistics to use and replace in the model after the simulation is run. Then, these forecast statistics can be applied in the optimization process. This approach is useful when you have a large model with many interacting assumptions and forecasts, and when some of the forecast statistics are required in the optimization. For example, if the standard deviation of an assumption or forecast is required in the optimization model (e.g., computing the Sharpe ratio in asset allocation and optimization problems where we have mean divided by standard deviation of the portfolio), then this approach should be used.
The Stochastic Optimization process, in contrast, is similar to the dynamic optimization procedure with the exception that the entire dynamic optimization process is repeated T times. That is, a simulation with N trials is run, and then an optimization is run with M iterations to obtain the optimal results. Then the process is replicated T times. The results will be a forecast chart of each decision variable with T values. In other words, a simulation is run and the forecast or assumption statistics are used in the optimization model to find the optimal allocation of decision variables. Then, another simulation is run, generating different forecast statistics, and these new updated values are then optimized, and so forth. Hence, the final decision variables will each have their own forecast chart, indicating the range of the optimal decision variables. For instance, instead of obtaining single-point estimates in the dynamic optimization procedure, you can now obtain a distribution of the decision variables and, hence, a range of optimal values for each decision variable, also known as a stochastic optimization.
Decision variables are quantities over which you have control, for example, the amount of a product to make, the number of dollars to allocate among different investments, or which projects to select from among a limited set. As an example, portfolio optimization analysis includes a go or no-go decision on particular projects. In addition, the dollar or percentage budget allocation across multiple projects also can be structured as decision variables.
Constraints describe relationships among decision variables that restrict the values of the decision variables. For example, a constraint might ensure that the total amount of money allocated among various investments cannot exceed a specified amount or, at most, one project from a certain group can be selected; budget, timing, minimum returns, or risk tolerance levels are other examples of constraints.
The Statistics subtab will be populated only if there are simulation assumptions set up.
Objectives give a mathematical representation of the model’s desired outcome, such as maximizing profit or minimizing cost, in terms of the decision variables. In financial analysis, for example, the objective may be to maximize returns while minimizing risks (maximizing the Sharpe’s ratio or returns-to-risk ratio).
Figure 8.3 – Portfolio Optimization: Method
Figure 8.4 – Portfolio Optimization: Decision Variables
Figure 8.5 – Portfolio Optimization: Constraints
Figure 8.6 – Portfolio Optimization: Statistics
Figure 8.7 – Portfolio Optimization: Objective