Anonymous user
Knapsack problem/Continuous: Difference between revisions
→{{header|Prolog}}
Line 830:
create_constraint_N([], [], S, S, LW,
create_constraint_N([HN|TN], [(_, W, V) | TL], S1, SF, LW, LWF, LV, LVF) :-
|
Line 830:
create_constraint_N([], [], S, S, LW,
create_constraint_N([HN|TN], [(_, W, V) | TL], S1, SF, LW, LWF, LV, LVF) :-
|