git404hub

what is solid fr?

100/solid — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2019-07-19

584PythonAudience · dataComplexity · 3/5DormantSetup · easy

tl;dr

Solid is a Python library of seven gradient-free optimization algorithms, like genetic algorithms and simulated annealing, for solving problems without clean math formulas.

vibe map

mindmap
  root((repo))
    What it does
      Gradient free optimization
      Seven algorithms
      No calculus needed
    Tech stack
      Python
    Use cases
      Hyperparameter tuning
      Schedule design
      Evolutionary search
    Audience
      Data scientists
      Researchers
    Setup
      Define fitness function
      Define variation rules
      Call run method

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Tune hyperparameters for a machine learning model without computing gradients.

VIBE 2

Solve scheduling or engineering problems with fuzzy constraints using genetic algorithms.

VIBE 3

Use simulated annealing or particle swarm optimization to search for a good-enough solution.

VIBE 4

Learn how nature-inspired optimization algorithms work by reading a readable, hackable implementation.

what's the stack?

Python

how it stacks up fr

100/solidtencent-hunyuan/unirlfacebookresearch/boxer
Stars584584580
LanguagePythonPythonPython
Last pushed2019-07-192026-06-05
MaintenanceDormantMaintained
Setup difficultyeasymoderate
Complexity3/53/5
Audiencedataresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 30min

in plain english

Solid is a Python library that helps you solve optimization problems without needing to calculate mathematical gradients. In plain terms: if you have a problem where you want to find the best solution from many possibilities, but you can't easily write out the math that describes how good each solution is, this library gives you ready-to-use tools to search for answers anyway. Most traditional optimization relies on calculus, computing slopes and directions to guide the search toward a better answer. Solid takes a different approach, offering seven different algorithms that explore the solution space more blindly but more flexibly. They include methods inspired by nature, like genetic algorithms (similar to evolution), particle swarm optimization (like a flock of birds searching together), and simulated annealing (mimicking how metal cools and settles). These methods don't need you to provide gradient information, they just need you to define what "better" means for your problem. To use Solid, you pick an algorithm, write a small class that tells it three things (how to create a starting solution, how to score how good a solution is, and how to modify solutions), and then call its run method. It does the searching and hands back the best answer it found. The example in the README shows this clearly: someone building an evolutionary algorithm that tries to evolve random letters into the word "clout" by repeatedly creating variations and keeping the ones that match better. No calculus involved, just defining the fitness function and the variation rules. This library is most useful for people solving tricky real-world problems that don't have clean mathematical formulas, like tuning hyperparameters for a machine learning model, designing optimal schedules, or engineering decisions with fuzzy constraints. It's also intentionally written to be readable and hackable, so it works well for learning how these algorithms actually work or customizing them for specific needs.

prompts (copy fr)

prompt 1
Show me how to use Solid's genetic algorithm to evolve a random string toward a target word.
prompt 2
Help me write a Solid algorithm class that defines a fitness function for tuning ML hyperparameters.
prompt 3
Explain the difference between Solid's simulated annealing and particle swarm optimization algorithms.
prompt 4
Walk me through defining the three required methods (starting solution, scoring, and variation) for a Solid algorithm.
prompt 5
Which of Solid's seven algorithms should I use for a scheduling problem with no clean mathematical formula?

Frequently asked questions

what is solid fr?

Solid is a Python library of seven gradient-free optimization algorithms, like genetic algorithms and simulated annealing, for solving problems without clean math formulas.

What language is solid written in?

Mainly Python. The stack also includes Python.

Is solid actively maintained?

Dormant — no commits in 2+ years (last push 2019-07-19).

How hard is solid to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is solid for?

Mainly data.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.