Hello,
I want to use Integer type in NSGA2 genome, this would allow me to make a much smaller parameter space, is it possible ? I’m using the following script on Open Mole 7.1 and can’t get it to work :
//model inputs
val x = Val[Int]
val y = Val[Int]
//model outputs
val o1 = Val[Int]
val o2 = Val[Int]
val model =
ScalaTask(“val o1 = x; val o2 = y”) set (
inputs += (x, y),
outputs += (o1, o2)
)
val evolution =
SteadyStateEvolution(
algorithm =
NSGA2(
mu = 100,
genome = Seq(x in (0, 10), y in (0, 10)),
objectives = Seq(o1, o2)
),
evaluation = model – DeltaTask(o1 -> 7, o2 -> 42),
parallelism = 10,
termination = 100
)
I’m suspecting that maybe this line has to be modified : x in (0, 10), y in (0, 10), but I can’t cast it nor find a way to express it as an interval of integer values.