My current changes in the code in Anylogic to adjust the problem to multiobjective:
- in Additional class code: double quality = new double;
- in Before each experiment run: quality = 0; quality = 0;
- in After simulation run: quality += root.KPI1(); quality += root.KPI2();
- in After iteration: quality = 0; quality = 0;
Is this implementation with the double array the correct way to implement the multiobjective qualities?
Futhermore I'm not sure how to change the following code in "After iteration":
commDriver.sendQuality(currentSolution, quality / replications);
How should I add the two qualities to the code?
Thanks and all the best,