Hello all,
I'd like to know if it's possible to add constraint values to the calibration process. For instance, I expect "a" to be smaller than "b" (a<b), but the Powell optimization find optimum values for "a" and "b", where a>b. If it is possible, how do I add these constraints?
Thanks in advance.
Regards,
Alaize.
Constraint values in Calibration/Optimization
Re: Constraint values in Calibration/Optimization
This is similar to creating a prior on a parameter value.
1. Create a variable something like:
ab constraint = INITIAL( excess a penalty*MAX(0,a-b)^2 )
whether this should be positive or negative, and the scale, depends on whether you are maximizing or minimizing the rest of your payoff.
2. Add this term to your payoff as a Policy item, and set the timing to Initial or Final (not Always).
1. Create a variable something like:
ab constraint = INITIAL( excess a penalty*MAX(0,a-b)^2 )
whether this should be positive or negative, and the scale, depends on whether you are maximizing or minimizing the rest of your payoff.
2. Add this term to your payoff as a Policy item, and set the timing to Initial or Final (not Always).
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/