The solver · technical sheet
ROSE, in detail. What the solver does, and how.
RoseLLM gives your AI assistant a complete solver. Here is which one: its family, how a problem is represented in it, the rules it accepts, its algorithms, what an answer holds, the hardware and the limits.
[ 01 ]Technical sheet
What kind of solver
ROSE is a black-box local search solver: it improves a solution by small changes, and reads its quality from a score the model computes.
- Family
- Local search and metaheuristics, black-box. The model is a program that computes the score of a solution; the solver proposes changes and keeps those that improve it. This is the family of solvers that give very good solutions in seconds on combinatorial problems.
- Next to exact solvers
- A mixed-integer linear programming (MILP) or constraint programming solver asks for the problem as equations, then proves optimality when time allows. ROSE takes over where they struggle: rules that are awkward as equations, large sizes, an answer expected in seconds. Proving optimality remains the job of exact solvers; ROSE reports the optimum when the model declares a bound and the search reaches it.
- Written in Rust
- ROSE, the Rust Optimization and Simulation Engine, is designed and developed by the author of RoseLLM. Each model is a small Rust file written by the assistant, compiled by the platform and run in a WebAssembly sandbox.
[ 02 ]Technical sheet
How a problem is represented
A solution is a list of vectors, each vector a list of items. The model decides what they mean.
- Sequences
- Order matters: a route, the jobs of a machine, a team's day. One vector per resource.
- Containers
- Order is irrelevant: batches, groups, bins, suppliers. The solver decides who goes where.
- Pool
- Optional items wait in a pool: orders to serve or postpone, objects to take or leave.
- Choices
- One value among a few for each entity: a time slot, a mode, a color, a yes or a no.
- Quantities
- Volumes or budgets to split, cut into lots that the solver moves between parties.
- Combinations
- One model mixes these shapes: sequences with a pool, containers with a choice per container. About fifteen tested reference models cover these patterns, and the assistant starts from the closest one.
[ 03 ]Technical sheet
Which rules, which objective
Any rule that can be computed goes into the model: the score is code, not an equation.
- Rules
- Capacities, time windows, precedences, compatibilities, quotas, volume commitments, changeover times, legal rest, conditional rules: each one measures by how much it is broken. Linear or not, with thresholds, tiers or lookup tables: if a program can compute it, ROSE optimizes it.
- Rules before objective
- The score has two parts, compared in order: the violation of the rules first, the objective second. A solution that respects the rules better always wins; a rule is never traded against a cost.
- Objective
- A cost to minimize or a gain to maximize, a sum of named terms: kilometers, lateness, overtime, penalties. Goals ranked by importance are arranged in tiers.
- A report rule by rule
- Every answer details the objective term by term and each rule with its breach. A solution adjusted by hand is evaluated again the same way.
[ 04 ]Technical sheet
Which algorithms
Eight search algorithms and about forty moves, assembled into a strategy. By default, the solver chooses it itself.
- Algorithms
- Descent (local search), variable neighborhood descent (VNS), late acceptance hill climbing (LAHC), simulated annealing with automatically tuned temperatures, tabu search, iterated local search (ILS), multistart, and Nelder-Mead for real-valued variables.
- Moves
- Inside a sequence: swap, relocate, or-opt, 2-opt, cycle exchanges. Between sequences: relocate, swap, cross-exchange, tail exchange (2-opt*), ejection chains. Guided by distance: the same between near neighbors. Rebuilding: remove a part of the solution and put it back at best (ruin and recreate), empty or replace a whole resource. Choices: a change aimed at the broken rules.
- Automatic search
- With no written strategy, ROSE chooses its moves and its algorithm from the structure of the problem: shapes of the vectors, sizes, distances, declared conflicts. The platform improves this policy as measures come in, and published engines benefit without being rebuilt.
- Starting point
- Each model builds its first solution, and a simple one is enough: it does not have to respect the rules. Since each rule measures by how much it is broken, the search first reduces the violation, move after move, down to a valid solution, then improves the objective. The rebuilding moves, which remove items and put each back at its best place, act as a generic constructor all along the search.
- Incremental evaluation
- At each move, only what changes is recomputed: more than a million moves per second on the lightest models. Before publication, the platform recomputes the score in full and requires the two to match.
- Stops on its own
- The search stops when it no longer improves, when it reaches the model's bound, or at the time limit. The answer says which of the three, and when the best solution came.
[ 05 ]Technical sheet
What an answer holds
A solution in the words of the business, and what it takes to check it.
- The solution
- The decisions, in the user's terms: names, quantities, times. The status says whether every rule holds (feasible) or which one is still broken (infeasible).
- The score
- The objective, the violation, and the report rule by rule.
- When a rule stays broken
- The answer carries the status infeasible, with the closest solution found and the rule at fault, measured: a diagnosis to read. A local search does not prove that no valid solution exists. When the rules of a problem may contradict each other, the model makes optional what is missing (items left in a pool, with a penalty) and the answer says what was left out.
- The search log
- The strategy followed, the number of moves evaluated and accepted per kind, why the search stopped, the model's notes.
- Starting again
- A returned solution can be changed by hand, evaluated again, or used as the start of a new search.
[ 06 ]Technical sheet
What it runs on, within which limits
Fast cores reserved for searches, in France, and limits written down in full.
- Hardware
- Searches run on a compute server with an AMD Ryzen 9 9950X processor, hosted in France: one search per core, each with a core to itself. The published benchmarks are measured on that server.
- Isolation
- Each model runs in a WebAssembly sandbox, with no network and no files. Data stays in France.
- Sizes measured
- The published benchmarks go up to 4,461 points for a tour, 1,000 objects to pack, 1,000 vertices to color, 500 jobs on 20 machines and 1,000 customers for 100 sources, in 30 seconds at most on one core.
- Limits of the free plan
- 30 seconds per search, 1,000 seconds of computing per month, 5 projects, 2 computations running at a time, 5 MB per instance, 60 API calls per minute, 100 builds per day, 30 days of retention.
- Price
- Free during the beta, with no credit card. Only the time a search actually runs is counted.
ROSE on public benchmarks, instance by instance, and next to an exact solver →Connect Claude, ChatGPT or any MCP client →