I try to build a cost functon of a vehicle with dynamic costs. Until now I use:
Problem: e.G. between 0-5 hours threre are costs of X, later after 5 additional costs of Y (extra charge by time).
Formula for a vehicle: fixCost + (TransportTime * dynCostPrice) + (additionalTime * extraChargePrice)
Is it possible to represent this? How?