Risk Solver Engine - Object-Oriented APIObject-Oriented APIRisk Solver Engine makes available a hierarchy of objects for describing Monte Carlo simulation problems, pictured to the right. This object model is a simplified subset of the object hierarchy offered by Frontline's Solver Platform SDK, which is used to build custom applications in C/C++, Visual Basic, VB.NET, Java or MATLAB.
Using Risk Solver Engine ObjectsYou use the Risk Solver Engine object model by first creating an instance of a Problem, and initializing it with the simulation model defined in your Excel workbook. Once you have an initialized Problem object, you can for example:
Below is a simple example that could be linked to a command button on the worksheet:
The first two lines create an instance of a Problem, and initialize it with the simulation model defined in your Excel workbook. The next two lines set the number of trials in the simulation to 5000, and the sampling method to Latin Hypercube. The fifth line performs a simulation. The for-loop in the next three lines will step through the Function objects - assuming, for simplicity here, that each Function object represents just one cell - and display the Mean property of the child Statistics object (the mean or average value of the function across all trials) for each one. |
Risk Solver Engine What's New in Version 10.0 Probability Management Sampling/Distributions Download Free Trial |

