{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "optim-solana-gateway-production-up-railway-app-solve-routing",
  "title": "Optim \u00b7 Vehicle Routing Problem Solver",
  "url": "https://optim-solana-gateway-production.up.railway.app/solve/routing",
  "category": "compute",
  "summary": "Computes optimal vehicle routes given depot location, customer demands, fleet capacity, and distance matrix.",
  "seo": {
    "title": "VRP Optimization API | Optim x402 Solana",
    "description": "Solve vehicle routing problems with distance matrix and capacity constraints. Pay 0.2 USDC per call on Solana. Returns optimized routes for logistics fleets."
  },
  "use_cases": [
    "Optimize last-mile delivery routes",
    "Solve capacitated vehicle routing for logistics fleets",
    "Minimize total distance with time window constraints",
    "Generate routing plans for dynamic dispatch systems"
  ],
  "ideal_buyer": "Logistics operators, delivery platforms, and fleet management systems requiring algorithmic route optimization.",
  "example_prompt": "Solve a VRP for 50 customer locations with 5 vehicles of capacity 100, depot at location 0, and given distance matrix.",
  "example_request_body": {
    "depot_id": "0",
    "vehicles": [
      {
        "capacity": 100,
        "vehicle_id": "v1"
      }
    ],
    "locations": [
      {
        "id": "1",
        "lat": 40.7,
        "lng": -74,
        "demand": 10
      }
    ],
    "distance_matrix": [
      {
        "to_id": "1",
        "from_id": "0",
        "distance": 5.2
      }
    ]
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive_outlier",
    "ratio": 20,
    "median_category_atomic": 10000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana",
      "pay_to": "HJ1szpSUkTXkBMsSnAjf6dkj9dgJtCcrEZKxA6GnL1Mh",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "max_amount_required_atomic": "200000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "depot_id",
              "locations",
              "vehicles",
              "distance_matrix"
            ],
            "properties": {
              "depot_id": {
                "type": "string"
              },
              "vehicles": {
                "type": "array",
                "description": "Fleet with vehicle_id and capacity"
              },
              "locations": {
                "type": "array",
                "description": "Customer locations with demand and optional time windows"
              },
              "distance_matrix": {
                "type": "array",
                "description": "Array of {from_id, to_id, distance} triples"
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "routes": [
              {
                "stops": [
                  "depot",
                  "A",
                  "B",
                  "depot"
                ],
                "vehicle_id": "V1",
                "total_distance": 37
              }
            ],
            "status": "optimal"
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "tools-cl-549da9deaa80",
  "origin": {
    "slug": "optim-solana-gateway-production-up-railway-app",
    "host": "optim-solana-gateway-production.up.railway.app",
    "title": "Optim Solana Gateway",
    "description": "A production gateway service on Railway, likely providing Solana blockchain infrastructure or API access for agents requiring on-chain operations.",
    "url": "https://optim-solana-gateway-production.up.railway.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/optim-solana-gateway-production-up-railway-app-solve-routing",
    "url": "https://x402all.com/resource/optim-solana-gateway-production-up-railway-app-solve-routing",
    "name": "Optim \u00b7 Vehicle Routing Problem Solver",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/optim-solana-gateway-production-up-railway-app-solve-routing",
      "@type": "Offer",
      "price": "0.2",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.200000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "solana"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
        }
      ]
    },
    "sameAs": "https://optim-solana-gateway-production.up.railway.app/solve/routing",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/optim-solana-gateway-production-up-railway-app",
      "url": "https://optim-solana-gateway-production.up.railway.app",
      "name": "Optim Solana Gateway",
      "@type": "Organization"
    },
    "identifier": "optim-solana-gateway-production-up-railway-app-solve-routing",
    "description": "Solve vehicle routing problems with distance matrix and capacity constraints. Pay 0.2 USDC per call on Solana. Returns optimized routes for logistics fleets.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=optim-solana-gateway-production-up-railway-app-solve-routing",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "compute"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=optim-solana-gateway-production-up-railway-app-solve-routing"
}
