User:Eriksiers/Knapsack problem: Difference between revisions

Content deleted Content added
Eriksiers (talk | contribs)
created! not working! whatever!
 
Eriksiers (talk | contribs)
m clarify
Line 1: Line 1:
This is my working version of another VB solution to the [[Knapsack problem/Unbounded|unbounded knapsack problem]]. (The actual solution is [[Knapsack Problem/Visual Basic]].) I didn't base this version on the one that's posted; I wanted to do it all on my lonesome. It's significantly shorter than the actual solution, ''but...''
This is my not-quite-working version of another VB solution to the [[Knapsack problem/Unbounded|unbounded knapsack problem]]. (The actual solution is [[Knapsack Problem/Visual Basic]].) I didn't base this version on the one that's posted; I wanted to do it all on my lonesome. It's significantly shorter than the actual solution, ''but...''


I didn't put it up there because there's something not quite right here; it goes over the limits by one panacea and one gold. Also, it picks the first version that works, and doesn't list ''all'' solutions (but I think I could handle that in just a few lines.) Also also, it doesn't go through all permutations of the list.
I didn't put it up there because there's something not quite right here; it goes over the limits by one panacea and one gold. Also, it picks the first version that works, and doesn't list ''all'' solutions (but I think I could handle that in just a few lines.) Also also, it doesn't go through all permutations of the list.