> ## Documentation Index
> Fetch the complete documentation index at: https://docsv4.mile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Odd Even

> Plan routes that follow odd-even plate restrictions.

The **Odd Even** option plans routes that respect odd-even traffic rules: during set hours, only vehicles whose plate number ends in an odd (or even) digit may use certain roads, depending on whether the date is odd or even. The optimization takes each vehicle's plate type and the date into account.

<Note>
  Required permission:

  * View configuration
  * Edit configuration
  * Route optimization
</Note>

## How to use it

1. Open **Planning › Routing › Configuration** and go to **Optimization**.
2. Tick **Odd Even** (item 8 in the picture): **Respect odd–even plate restrictions during these windows.**
3. Set the time windows when the rule applies. Two windows are filled in for you, **06:00 – 10:00** and **16:00 – 21:00**. Change them to fit your needs; you can have up to two windows (**Add window**).

The change is saved as soon as you make it.
5\. In the [Vehicles](/pages/planning/routing/vehicle) table, set each vehicle's **Type**: **Odd**, **Even** or **Any**, based on its plate number.
6\. On the [Visit](/pages/planning/routing/visit#date) page, pick the **Date** the routes will be driven. The date decides whether the day is odd or even.
7\. Click **Optimize**.
8\. Look at the planned routes in [Result](/pages/planning/routing/result/introduction). Vehicles with a plate type show an **Odd Even** badge, and the summary lists the odd-even windows used.

<div align="center">
  <img src="https://mintcdn.com/mileappv4/WSCQrzxOhh4WLfZT/images/v4/planning/optimization.png?fit=max&auto=format&n=WSCQrzxOhh4WLfZT&q=85&s=282bb8e7d3cb458aaaabfa49a3ee7976" alt="Optimization options" width="600" data-path="images/v4/planning/optimization.png" />
</div>

## Notes

* The rule helps you plan routes that follow Jakarta's odd-even road policy.
* Odd-even restrictions are only applied to roads in the Jakarta province, Indonesia.
* The setting is saved in the profile for future optimizations, and you can change it at any time.
* Unticking **Odd Even** also clears its time windows.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.