Re: encoding problem



Oliver Gobin <200609usenet@xxxxxxxxx> writes:
I am currently working on an optimization problem consisting of 10
different variables. One important constraint is, that only one up to
four of theses variables are allowed to be active at the same time.
[ . . . ]
Can you think of different and perhaps better ways to encore such a
problem, preferably without additional contraint?

Could you modify your fitness function to include a penalty for
solutions that violate your constraint?

Regards,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc. | Large scale, mission-critical, distributed OO
| systems design and implementation.
pjm@xxxxxxx | (C++, Java, Common Lisp, Jini, middleware, SOA)
.