PGWelch / com.opendoorlogistics

http://www.opendoorlogistics.com
GNU Lesser General Public License v3.0
80 stars 45 forks source link

Turn on jsprit fixed vehicle costs in insertion phase #15

Closed PGWelch closed 8 years ago

PGWelch commented 9 years ago

If you deal with a heterogenous fleet as described here: https://github.com/jsprit/jsprit/wiki/Heterogeneous-Fleet and you activate the fixed costs option like this: https://github.com/jsprit/jsprit/blob/master/jsprit-examples/input/algorithmConfig_considerFixedCosts.xml

fixed costs will be considered when inserting a customer (as described following the link above). Otherwise, fixed costs are not considered during insertion. However, they are considered in the objective function thus solutions tend to have less vehicles.