DNA//evolutions
JOpt.TourOptimizer · Feature Spotlight

AutoFilter.
Your result plan is always usable.
Even when the input has problems.

Not higher penalties. Structural removal of the nodes that make the problem infeasible.

Real dispatch problems are over-constrained. Too many tasks, too few resources, too tight time windows. A handful of problematic nodes can destabilize the entire schedule. The optimizer spends its budget exploring infeasible regions, and the result is unusable.

AutoFilter changes this. It continuously analyzes which nodes cause violations across many parallel solution candidates, identifies the systematic offenders, and removes them from the optimization. The result is a high-quality, feasible plan for the remaining nodes, plus a transparent list of excluded tasks with reasons.

To our best knowledge, no other route optimization engine provides this capability as a built-in feature.

Multi-solution
Analysis across parallel candidates
Structural
Removal, not penalty increase
Transparent
Every exclusion reported with reasons
Infeasibility is not the exception.
It is the norm.

In production dispatch, perfect inputs are rare. A customer is too far away for its time window. Five technicians are available but seven are needed. A certification expired yesterday. Data from the ERP has a wrong postal code. These are not edge cases.

Most optimizers handle this poorly. They increase penalty weights, hoping the solver will "try harder." But if the problem is genuinely infeasible, the solver oscillates between different sets of violations without converging. A small number of outlier nodes contaminate the solution for everyone else. The dispatcher receives a schedule full of violations and starts fixing it by hand.

AutoFilter was built for this reality. It produces a usable plan even when the input is not perfectly feasible.

“AutoFilter continuously analyzes which nodes caused violations in each generated solution and filters out nodes whose violation pattern becomes dominant. It is infeasibility management, not a cost-function tweak.”

JOpt.TourOptimizer Documentation
A multi-universe penalty system
that finds the real offenders.

During the optimization run, JOpt creates a massive number of parallel solution candidates. AutoFilter analyzes each one, tracking which nodes cause violations and which do not. Nodes accumulate penalty points for violations and anti-penalty credit for clean solutions. The ratio determines whether a node is a systematic problem or just occasionally unlucky.

Infeasibility often "moves around." In one solution, Node D is late. In another permutation, Node A is. A single-solution analysis would blame whichever node happens to be the violator in the current schedule. AutoFilter observes many parallel universes and identifies nodes that are consistently responsible.

A node that violates in 80% of solutions is a different problem than one that violates in 5%. AutoFilter distinguishes between the two. It removes the systematic offenders and lets the optimizer produce a feasible, high-quality plan for the rest.

Why penalty costs do not solve this

Increasing penalties for violations causes the solver to oscillate: it stops being late at Node A by being late at Node B instead. The plan never converges. A small set of infeasible outliers prevents a good plan for the feasible majority. Penalty tuning becomes fragile, scenario-specific, and operationally risky. AutoFilter operates on a different principle: it removes the node entirely.

Smart, not blunt

Before removing a node, AutoFilter tries to resolve the problem by reordering the route. It prefers removing low-priority nodes over high-priority ones, substituting where possible to protect important tasks. It checks whether removing a subset is sufficient instead of all candidates. Filtering is a last resort, not a first response.

The key difference

AutoFilter does not increase costs. It changes the effective problem instance by removing nodes that are structurally incompatible with the current constraints. The excluded nodes are reported with reasons so the business can take action.

Penalty-based approachJOpt AutoFilter
× Increases cost, solver oscillates✓ Removes node, solver converges
× Outliers contaminate the whole plan✓ Outliers excluded, plan stays clean
× Single-solution analysis✓ Multi-solution statistical analysis
× No reporting on why tasks failed✓ Every exclusion with reason codes
× Penalty weights fragile per scenario✓ Behavior stable across scenarios

What the business gets

A feasible, optimized plan for the tasks that can be scheduled. Plus a diagnostic list of excluded tasks with the violation category, the severity, and the recommendation (relax time window, add a resource, defer to next day).

Full control

Choose which violation categories trigger filtering (late, overtime, capacity, skill mismatch). Set tolerance margins per category. Protect high-priority nodes from being filtered. Apply filtering rules to specific nodes only. Every configuration is explicit, auditable, and explainable.

See it in action.

Run AutoFilterLateExample.java in a Docker sandbox. Create an over-constrained instance and watch AutoFilter identify and remove the structural outliers.

Documentation  ·  Contact  ·  GitHub