Skip to content

Instantly share code, notes, and snippets.

💻
Hacking

Saksham Sharma sakshamsharma

💻
Hacking
Block or report user

Report or block sakshamsharma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View knapsack.py
"""
My Python spin on this:
http://burakkanber.com/blog/machine-learning-genetic-algorithms-in-javascript-part-2/
"""
import math
import random
import sys
from copy import copy
from optparse import OptionParser
You can’t perform that action at this time.