Embodied-Minds-Lab / BES
PublicWe propose Bidirectional Evolutionary Search (BES), a search framework that couples forward candidate evolution with backward goal decomposition.
BES (Bidirectional Evolutionary Search) is a research project that uses AI to solve complex mathematical optimization problems. The system combines two approaches: it breaks down problems into smaller goals while simultaneously generating and evolving candidate solutions. Users can run the system to solve three types of problems—packing circles in squares, packing circles in rectangles, and placing points to maximize triangle areas. The system generates programs that represent solutions, evaluates them against mathematical constraints, and uses AI to evolve better solutions over time. Results are saved as executable code that can be verified and reused.
How It Works
You hear about a research project where AI can solve complex mathematical puzzles like packing circles into shapes.
You look at the documentation and see it can tackle three challenging problems: packing circles in squares, packing circles in rectangles, and placing points to maximize triangle areas.
You set up access to an AI service by adding your account information, so the system can use AI to think and generate solutions.
With everything ready, you start the system and watch as it generates potential solutions, evaluates them, and evolves better ones.
The system breaks down the problem into smaller sub-goals to guide its search
The system generates variations and combinations of existing solutions
The system saves its best solutions as working programs, showing the circle positions and radii it discovered.
The system finds solutions that rival or exceed human performance on these mathematical challenges, like packing circles with a total radius sum of 2.632.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.