% http://www.cs.kuleuven.be/~dtai/events/ASP-competition/Benchmarks/OptFastFood.shtml % by Neng-Fa Zhou, April 11, 2009 :-include(lib_bp). solve(As):- findall(RK,member(restaurant(_,RK),As),RKs), % restaurant distances (member(number_depots(M),As)->true;true), length(Vars,M), % Vars=[V1,...,VM] Vi=d if the ith depot is built d away Vars :: RKs, ordered(Vars), % V1=