Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Advanced Simulation Methods > Optimization

Examples of Optimization Control Files

Scroll Prev Top Next More

Example 1

NORM_QUALITY

In this example Vensim will try to find the value of norm quality that maximizes the payoff function.  The first and last points of the search will be reported, and a value for NORM_QUALITY will appear in runname.out.

Example 2

:SENSITIVITY=PAYOFF_VALUE

4 <= WORK_SPEED_BASE <= 10

5 <= NORM_QUALITY <= 1

In this example, Vensim will search for the best values of WORK_SPEED_BASE between 4 and 10, and NORM_QUALITY between .5 and 1.  Once these values have been found, 95% confidence bounds will be computed for these two values and reported in sensitivity.tab.

Example 3

:MULTIPLE_START=GRID

:OPTIMIZE=OFF

4 <= WORK_SPEED_BASE <= 10

5 <= NORM_QUALITY <= 1

In this example, a grid search will be performed over the two parameters WORK_SPEED_BASE and NORM_QUALITY.The payoffs at all points will be reported in the files startpoint.dat and startpoint.tab.  No optimizations will be performed from these startpoints.  If any payoff found is an improvement over the normal values for WORK_SPEED_BASE and NORM_QUALITY, it will be recorded and the best values reported in runname.out