Examples

Worked, end-to-end examples for the FieldGenius VRP API. Each page shows a complete OptimizationRequest, the resulting OptimizationResponse, and an explanation of why the solver made the choices it made. All examples use realistic vehicle and job IDs and either a plain distance/time matrix or coordinates confined to the Belgium bounding box that the zone validator accepts.

What you'll learn
  • How to structure a minimal request with just resources, jobs, and a travel matrix.
  • How hard vs. soft time windows change solver behavior.
  • How multiple depots and multi-day planning fit together, including the num_days placement gotcha.
  • How shipments link pickup and delivery onto the same vehicle.
  • How named capacities and skill proficiency combine to filter eligible vehicles.
  • How to re-optimize a route mid-day with /optimize/replan.
  • How recurring weekly patterns get injected into a normal solve.

All examples

Next steps

FieldGenius VRP API documentation. Generated from the engineering source of truth (.tex docs and app/ source).

On this page