Hello everybody,
My current changes in the code in Anylogic to adjust the problem to multiobjective:
- in Additional class code: double[] quality = new double[2];
- in Before each experiment run: quality[0] = 0; quality[1] = 0;
- in After simulation run: quality[0] += root.KPI1(); quality[0] += root.KPI2();
- in After iteration: quality[0] = 0; quality[1] = 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":
try {
commDriver.sendQuality(currentSolution, quality / replications);
}
How should I add the two qualities to the code?
Thanks and all the best,
Lukas