#Computational Essay 1

145 messages · Page 1 of 1 (latest)

visual seal
#

Kewl beans @sour shard Here is my first computational essay, or the start of it

#

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

wheat dock
#

You wrote this?

visual seal
#

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

wheat dock
#

Ok cool then start coding

visual seal
#

😭

#

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

#

😭

visual seal
#

lol

#

💀

sour shard
#

I learned a bit about this when I learned about Knapsack cryptosystems in number theory.

sour shard
#

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.

visual seal
#

lol

#

I should make sure its not done though

sour shard
#

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.

visual seal
#

Think I should quit or should I just make it unique?

#

The code doesnt need to be the same so it could work differently

sour shard
#

Where did you get this idea?

visual seal
#

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

sour shard
#

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.

visual seal
#

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

river fiber
sour shard
#

Making something unique is very hard.

visual seal
#

Thats true

#

But I feel like it should be unique

#

after spending a while on it

#

it should be good

river fiber
#

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

visual seal
#

Oh I see

#

I guess the hope is it is novel but it probably wont be

sour shard
#

I'm more familiar with it in the second form.

visual seal
#

hmmmm

#

Wait

#

mathematica is good for this

#

they have a lot of built in functions

sour shard
#

it's a fully featured language

river fiber
visual seal
#

RandomChoice, Total, Extract, and Position

#

It shouldnt be impossible for me to get somewhere

visual seal
#

lol

sour shard
#

it's a very fun language

river fiber
#

Lol

sour shard
#

i pay for it haha

visual seal
#

I dont!

#

I get if for free

#

lol

sour shard
#

i got a discount b/c im a post grad though

visual seal
#

oh

sour shard
#

and work in research

visual seal
#

Well...

sour shard
#

which is nice

visual seal
#

MINE IS FREEE

#

hehe

sour shard
#

students get it for free also

visual seal
#

oh....

#

now I am less proud of myself

#

lol

sour shard
#

i think college students haha, maybe hs students too

#

i mean of course you're gonna get it for free

#

if you work there

visual seal
#

yeah lol

#

Jacob you should work there

#

I want to work there with you

#

That would be kewl

sour shard
#

it is a dream of mine to work there haha

visual seal
#

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

sour shard
#

i see the student ambassdor program on their careers page

visual seal
#

Yeah it’s crazy

#

There are really old people in it

#

*old to me

#

Lol

sour shard
#

it's weird they don't have any research positions on their career opprotunities

#

it's all wolframalpha

#

and their cloud stuff

visual seal
#

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?

sour shard
#

they archive themselves

#

it's like a mini stackoverflow

visual seal
#

And there is still 321?!

#

Lol

#

How do you guys help so many people

#

That’s insane

sour shard
visual seal
#

I want ice cream

#

Ugh

#

I can’t eat more food

#

But I want ice cream so bad

visual seal
sour shard
#

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.

visual seal
#

Hmmm, If you have seen the second one more, the first one is more unique

#

right?

river fiber
sour shard
#

most cs students are familiar with the first

#

they literally explain the same thing though

#

it's not some transformation haha

visual seal
#

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

sour shard