I am interested in using NSGA2 to explore land use planning solutions given multiple objectives. I have tried to create a unique generator so that each solution represents a binary decision (0=don't buy, 1=buy) about 100 parcels. Therefore, a solution should be a string of one hundred 0's and 1's.
I also created a custom evaluator that generates fitness values based on which parcels are bought (i.e., the 1's). My fitness values are total area, total cost, and number of priority habitats included.
I have been finding this previous discussion thread particularly helpful, but I don't need the multiprocessing component: https://groups.google.com/forum/#!topic/inspyred/oH2UmnI0n5A
My current issue is that the 'Best Solutions' output is only giving one solution, rather than a bunch of them like the demo NSGA2 code does (http://aarongarrett.github.io/inspyred/examples.html#nondominated-sorting-genetic-algorithm-nsga-ii).
I've attached a working, but incorrect code. I've hard coded the spatial analysis part of the data to avoid compatibility issues. My code is usually designed to interface with the arcpy module which requires a licensed with ESRI's ArcGIS software.
My guess is the issue is in one of my custom functions, but I have exhausted my novice Python know-how at this point. Any insight would be greatly appreciated!
Sincerely,
Mauri Liberati
--
You received this message because you are subscribed to the Google Groups "Inspyred" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inspyred+unsubscribe@googlegroups.com.
To post to this group, send email to insp...@googlegroups.com.
Visit this group at https://groups.google.com/group/inspyred.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to inspyred+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to insp...@googlegroups.com.
To post to this group, send email to insp...@googlegroups.com.
Visit this group at https://groups.google.com/group/inspyred.
For more options, visit https://groups.google.com/d/optout.