Best Food - For all Patches (genetic algorithm)

  • Hi,

    I wrote a genetic algorithm that find for every Patch the best food.

    My best found Combination (94.45 SP without the 12 Basepoints) was:
    Sweet Salad
    Sweet Salad
    Elk Wellington
    Bear S U P R E M

    Have Fun =)

  • hey mate, im total idiot to python is there away u can make a video or screenshot heelp how to set it up ? so more there is not that good in python can get it 2?

  • nice script.. currently getting script warnings/errors when running it though.

    S:\eco>python SyntaxWarning: name 'ban_items' is assigned to before global declaration
    global max_food_combinations, ban_items
    C:\Python27\lib\site-packages\deap\tools_hypervolume\ ImportWarning: Falling back to the python version of hypervolume module. Expect this to be very slow.
    "module. Expect this to be very slow.", ImportWarning)
    Traceback (most recent call last):
    File "", line 93, in <module>
    data = load_data(path_to_food)
    File "", line 75, in load_data
    if(len(only_craft) == 0 or"craft") in craftstations):
    NameError: global name 'only_craft' is not defined

Log in to reply