Community

Hi, I'm wondering if there's a way to vary optimisation parameters every time an instance of a class (say Car) is added to the system. The class has 10 parameters that need to be optimised and they should be different for each instance of "Car". Should I be creating new parameters using Java code every time a Car is created? Or could the 10 parameters used be varied as the calculations are made for each Car (once the Car is created and the calculations made, the parameters don't need to be used again). Thanks, Peter
Hi Peter, It is possible to run an optimization experiment for any active object. But it should be run separately, i.e. it cannot be run from already running Simulation. If there are several parameters inside active object and e.g. it is replicated you can specify the parameter values when it is created using the following method: add_car( value1, value2, ... ).