Defining mix and capacity of a complex set of resources such as tankage, parking space, loading docks and others resources, balancing capex, opex and time to serve fuel trucks.