totalCostResponse

open override fun totalCostResponse(basis: CostBasis): ResponseCIfc(source)

The total cost in the requested CostBasis — the Response an optimization objective should reference.

Both denominations are dimensionally consistent. Ask for CostBasis.PerReplication for dollars over the observed window, or CostBasis.PerUnitTime for dollars per unit time, which is the one to compare runs of unequal length with.