Hi,
I would like to use Vensim to model a optimization issue as the following scenario.
Each time period, the system will randomly generate a random number of project proposals which each has three characteristics, number of features, cost to implement, and how it is aligned with the organization's goal. Then I will have a simple optimization rule to pick some sub set as potential candidates for further review.
My issue is how to generate three sets of random numbers and link them together. If you are familar with C/C++ or Java, such data structure can be done through a random number generator and a multiple dementional array. I can first use the random number generator to find how many projects to propose for each period; then declare a three dimentional dynamic array; finally for each element, use the random number generator again to assign values.
Is there a way to perform this in Vensim DSS 5. 5d? If it is possible, how to loop through them when I perform the optimization later?
Thanks and appreciate your time and help.
Bin
Generate undetermined multiple sets of random values
project generator
Hi
Here is joined an example of what could be done.
Regards.
JJ
Here is joined an example of what could be done.
Regards.
JJ
- Attachments
-
- project_generator.mdl
- (3.33 KiB) Downloaded 322 times