Back

Poosarla Sai Karthik

Tech guy with a busi...ย โ€ขย 2m

Collapse Theory: Knapsack in a smarter way :) Just came across a fascinating idea that rethinks how we approach optimization, especially the classic Knapsack Problem. In short, youโ€™re packing items with different weights and values into a limited space. The goal is to get maximum value without exceeding the limit. Traditionally, solving this takes O(nยฒ) time. Collapse Theory offers a new route. It uses the golden ratio (ฯ† = 1.618โ€ฆ) and Fibonacci sequences to assign a โ€œcollapse scoreโ€ to each item: ฮถ(i) = 1 / |ฯ† trace(i)|^0.5 That score measures how much complexity an item introduces. Instead of brute force combinations, it ranks items based on this entropy based score. Items are encoded using Zeckendorf representation, which is Fibonacci based. The payoff is that you get around 78.6 percent of the optimal value in O(n log n) time. And it works for bounded, unbounded, and multi dimensional knapsack problems. Whatโ€™s deeper is the idea that complex systems collapse into simpler efficient forms. This pattern shows up in markets, neural networks, team dynamics, and even evolution. Collapse Theory doesnโ€™t just speed things up, it aligns with how real systems behave. P.S. I saw this diversion coming from X.

1 Reply
4
Replies (1)

More like this

Recommendations from Medial

Mayappa baban edake

PoweRevolution Finan...ย โ€ขย 5m

I have developed the website app which automatically shows the financial fitness score. and based on that financial fitness score the app is automatically suggest each and every individual and non individual to right plan to upgrade his financial sco

See More
Reply
1

Yash Pratap

csoc.inย โ€ขย 1y

[This post has been deleted by the creator]

1 Reply
5
Image Description

Shuvodip Ray

ย โ€ขย 

YouTubeย โ€ขย 10m

Swash generally receives favorable ratings, with an impressive average score of 4.8 out of 5 on the Chrome Web Store based

1 Reply
4
10

Prince Singh Chouhan

Front-end Developerย โ€ขย 1y

Fisher-Yates algorithm shuffles an array by iterating from the end, swapping each element with a randomly selected one preceding it. This ensures each element has an equal chance of ending up anywhere. Time complexity is O(n).

Reply
7

Dhruv Prajapati

Think Different ๐Ÿง ย โ€ขย 7m

Elon Muskโ€™s Vision of the Future Humanity as a Multiplanetary Species Core Belief: Musk sees the future of humanity tied to space colonization, particularly Mars. He believes itโ€™s essential for survival (e.g., avoiding extinction from Earth-based c

See More
Reply
4

Sarthak Pandey

Wake UP V. I. O. N. ...ย โ€ขย 7h

Hey Everyone, I m Sarthak Pandey from Noida, UttarPradesh. I am working on my dream project "V.I.O.N.A." (Virtual Interactive Omni-Networked Assistant) Just imagine you are busy and you want to send any file Or PDF on your boss email and you just

See More
Reply
1

Download the medial app to read full posts, comements and news.