Back

Poosarla Sai Karthik

Tech guy with a busi... • 23h

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... • 2m

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 • 10m

[This post has been deleted by the creator]

1 Reply
5
Image Description

Shuvodip Ray

 • 

YouTube • 8m

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 🧠 • 4m

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

C K Mishra

Hey I am on Medial • 1m

Hi Am Allmann Logistics (C K Group) This is International based company, we are providing the best services at all over world thanks n regards C K Mishra 9205935799

Reply
4

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