Sorry if I may sound a little unknowledgeable; for all I know there is an easy fix for this.
I’ve only been playing with jsprit for a few weeks, and had a quick question:
If I define a service as such:
<service id="51" type="services">
<locationId>51</locationId>
<coord x="35.66878024" y="-97.00010672"/>
<capacity-demand>0</capacity-demand>
<duration>1386</duration>
<priority>1</priority>
<timeWindows>
<timeWindow>
<start>0</start>
<end>1.7976931348623157E308</end>
</timeWindow>
</timeWindows>
</service>
and a Vehicle type as such:
<type>
<id>Bill_type</id>
<capacity>99999</capacity>
<costs>
<fixed>1</fixed>
<distance>0.3</distance>
<time>0.005</time>
</costs>
</type>
How do I implement a cost(0.005) per duration (1386)
From what I can tell the time cost defined in the vehicle type only considers travel time.
Any help would be greatly appreciated!