#Computational Essay 1
145 messages · Page 1 of 1 (latest)
Solving the Knapsack Problem Using Genetic Algorithms
The Knapsack Problem, a classic example of computational complexity, poses a question of optimization: Given a set of objects with specified weights and values, and a maximum weight constraint, how can one select a subset of these objects to maximize the overall value while adhering to the constraint? This problem, long studied in the field of computer science, continues to intrigue researchers with its intricate mathematical structure and computational challenges.
A genetic algorithm, a heuristic optimization technique influenced by the concepts of natural evolution, can be employed to effectively tackle the Knapsack Problem. This method, inspired by the principles of natural selection and genetic mutation, iteratively refines a population of candidate solutions, referred to as 'chromosomes,' through a process of selection, crossover, and mutation.
The Knapsack Problem possesses a genetic algorithm approach, which can be implemented within Mathematica through the utilization of the following algorithmic framework:
I have failed
lol
The code....
is pending
lol
You wrote this?
After about a week of work and a thesaurus yes
But wang
I havent started coding
and I am meeting with my supervisor
THIS WEEKEND
Ok cool then start coding
😭
Think its too repetitve
I have been working on that small piece for a while to cut it down
But i think there is some repetition still
either way I need to start coding the algorithm
*implementing
😭
I learned a bit about this when I learned about Knapsack cryptosystems in number theory.
OMG
Any advice?
your intro sounds good
However, there is already stuff about this so make sure you site your sources.
I never thought of the genetic algorithm to be used for non genetic stuff though.
Makes a lot of sense why it could work.
At my lab, I work on a genetic algorithm project.
It's already been done.
I googled it and there are quite a few articles and papers about it.
Think I should quit or should I just make it unique?
The code doesnt need to be the same so it could work differently
Where did you get this idea?
From famous problems in CS and then I was just thinking about possible ways to solve it for a few days
Not sure if its worth it though
because it will take a while to do well
And people have done it
Having a solution in Mathematica would be nice.
And if you're honest about coming up with it on your own then you should continue.
I havent started coming up with it
lol
its just an idea
I need to research a lot more
also the built in functions of mathematica and seeing if I can use those to make it easier
All I actually have is an intro to an idea
hmmmm
someone has done it in mathematica
not with a genetic algorithm
Fwiw at your level of education replication and doing things that have already been done is quite appropriate.
Making something unique is very hard.
Thats true
But I feel like it should be unique
after spending a while on it
it should be good
Unique as in novel, not done before. It can be unique in the sense it was done by you in a way that made sense to you.
Two kinds of unique is what I'm saying
it's a fully featured language
Novel is what PhD's do. Takes years of experience and thinking about a topic to come upon an idea that no one has had before.
RandomChoice, Total, Extract, and Position
It shouldnt be impossible for me to get somewhere
Welp, then its not happening
lol
it's a very fun language
Lol
i pay for it haha
i got a discount b/c im a post grad though
oh
and work in research
Well...
which is nice
students get it for free also
i think college students haha, maybe hs students too
i mean of course you're gonna get it for free
if you work there
yeah lol
Jacob you should work there
I want to work there with you
That would be kewl
it is a dream of mine to work there haha
Wow
I never knew
I just applied almost randomly tbh
It was good for visualizing data at my data analytics internships
So I thought if there was a spot for me I would try for it
i see the student ambassdor program on their careers page
it's weird they don't have any research positions on their career opprotunities
it's all wolframalpha
and their cloud stuff
Student ambassador program is good for research
It’s really just a research program
And they put some extra responsibilities on it
But they want a long term research project
And monthly things
So it’s really research oriented and I think the better guys from that go to host the hackathons and stuff
@river fiber why don’t the help channels delete?
Is this true Zech? like they last forever right?
Should I aim for the first form?
I mean they explain the same thing, so from a computer science standpoint you should stick with the first explanation like you do in your introduction.
I thought they'd close automatically. Instead after 3 days they silently "archive." They look normal but they disappear from the channel list for everyone following them. Gonna make the bot actually archive them after some period of time.
i saw the second one b/c i was in a math program and it's easier to explain that way
most cs students are familiar with the first
they literally explain the same thing though
it's not some transformation haha
jacob I am so proud of myself
I crammed for the math final so badly and I still did well I think
I cant believe I did good
yeah i heard, im proud of you too