Binary limitations

7 views
Skip to first unread message

Nelda Liebenberg

unread,
Sep 10, 2018, 8:11:46 AM9/10/18
to Inspyred
Hi,

I was looking through Aaron Garrett's example of an Inspyred NSGA-II problem (see attached file) on forest optimization and was wondering, can you limit the binary outputs successes (i.e. 1's)?

Example you only want the 5 best locations out of the 100 options so your string of outputs will only consist of 5 1's and 95 0's?

Thanks
forest_optimization.py
Reply all
Reply to author
Forward
0 new messages