Maybe I'm missing something.
If all you want is a function of x to return 3 values (Y, Z, W), why would you want a GA?
That seems to me like a simple function returning an array.
If you're talking about creating a population of functions that return these values, why, exactly, would you need to "find" them? Why not just code the function directly?
You could create a population of individuals that have multiple fitness functions, or a fitness function that returns multiple values for each individual. Is that what you mean? I'm having trouble understanding why you need any heuristics at all in this context.
I'm sure I must be missing something, though.
Please give use more details about your problem, possibly a real-world example to work with, and why you think using a GA may be appropriate.
manolakis wrote:
Hi there!!!
If there is a function (like in the MathProlem) that has multiple outcomes,
ex: f(X) => Y = X, and Z = 2*X, and W = 3*X
is it possible to use a GP to find such function?
Can anyone please give a small snippet of code?
Thanks for your time
manolakis