Hi Craig,
In your problem, is the fixed cost (cost per store visit) the same across all routes?
If the answer is yes, you do not need to model them in the routing problem. As long as all orders are assigned, the overall fixed cost stays the same. Therefore, it has no impact to the optimization.
If the fixed cost per store visit is different between routes, then the VRP solver cannot handle it right now. The �??fixed cost�?� field in Routes class represents a fixed monetary cost, such as vehicle rental cost that is incurred only if the route is used in a solution. It is not proportionally to the number of orders assigned to the route.
In addition, if you want to restrict the maximum number of orders assigned to a route, you can set this value through the MaxOrderCount field in Route Properties.
I hope this answers your question.
Thanks.
Anna