In reply to rubendah:
Hi , I analyzed your code and I think you need to use solve before construct to make sure randomization of fixed_size happens before n_objects gets randomized. And another point I would like to mention is that size of the dynamic object array has been pre-randomized. So after randomization, we need to create objects which have not been done in this code.
And the last thing I want to know is what the following line suggests -
fixed_size == 1 → n_objects== 5;
Is it kind of an if-else condition?