Knapsack problem/Continuous: Difference between revisions

Line 830:
 
 
create_constraint_N([], [], S, S, LW, LWFLW, LV, LVFLV) :-.
reverse(LW, LWF),
reverse(LV, LVF).
 
create_constraint_N([HN|TN], [(_, W, V) | TL], S1, SF, LW, LWF, LV, LVF) :-
Anonymous user