Solver: The engine that searches for an assignment satisfying all constraints, often using backtracking plus pruning. A solver is the engine that searches for values satisfying all constraints in a problem. You describe the variables, their possible values and the rules; the solver finds a valid assignment, the best one according to a goal, or proves that none exists.
Solvers combine search, backtracking and propagation, removing impossible options early so they do not have to try every combination. Google OR-Tools, Gurobi, Choco and SAT solvers like MiniSat are examples.
What should you keep in mind with Solver?
For planning problems with many rules, such as rosters, timetables, delivery routes or production planning, a solver is usually more reliable than a hand-written algorithm. When rules change, you add or adjust a constraint instead of rewriting the search. Expect to spend most of the effort on modelling the problem correctly, not on the solving itself.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.