Examples
Examples
Try the starting example
- Jobs JSON [ID,start min,end min,required mass kg,required volume m³,compatible type IDs]
- [["J1",480,540,500,3,["van"]],["J2",500,560,800,5,["van"]]]
- Vehicles JSON [ID,usable mass kg,usable volume m³,type ID,available start,end]
- [["V1",600,4,"van",450,600],["V2",1000,6,"van",450,600]]
- Assignments [job,vehicle,mass utilization %,volume utilization %]
- [["J1","V1",83.3333333333,75],["J2","V2",80,83.3333333333]]
- Unserved job IDs
- []
- Assigned job count
- 2
Try another scenario
- Jobs JSON [ID,start min,end min,required mass kg,required volume m³,compatible type IDs]
- [["J1",480,540,500,3,["van"]],["J2",500,560,800,5,["van"]]]
- Vehicles JSON [ID,usable mass kg,usable volume m³,type ID,available start,end]
- [["V1",600,4,"van",450,600]]
- Assignments [job,vehicle,mass utilization %,volume utilization %]
- [["J1","V1",83.3333333333,75]]
- Unserved job IDs
- ["J2"]
- Assigned job count
- 1
Calculation method
Calculation method
Assignments [job,vehicle,mass utilization %,volume utilization %]
Process jobs by fixed start then ID; choose smallest mass capacity then volume then ID among compatible available vehicles, respecting both capacities and no overlapping assigned jobs.
Unserved job IDs
Jobs with no feasible vehicle under greedy schedule.
Assigned job count
Count job-to-vehicle assignments.
Symbols and units
- a
- Jobs JSON [ID,start min,end min,required mass kg,required volume m³,compatible type IDs]
- b
- Vehicles JSON [ID,usable mass kg,usable volume m³,type ID,available start,end]
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Fixed job windows already include travel, loading and turnaround. Compatibility and usable capacities entirely supplied. Greedy assignment is feasible under stated constraints but not optimal routing or legal loading approval. Supported limits: 1..100 jobs/vehicles; unique IDs; capacities>0; nonnegative demands; integer 0<=start<end<=10080; known type strings.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.