A control unit for controlling the supply of a vehicle having at least one internal combustion engine with multiple fuels has at least one input means for supplying optimization parameters, fuel parameters, and operational data, at least one storage unit for storing the optimization parameters, the fuel parameters, and the operational data, and at least one computing unit. The control unit is adapted for being connected to at least one first supply apparatus for supplying a first fuel to the internal combustion engine and to at least one second supply apparatus for supplying a second fuel to the internal combustion engine, and of controlling a first mass flow of supplied first fuel and a second mass flow of supplied second fuel. The computing unit optimizes the ratio of first mass flow and second mass flow for all operational phases of the vehicle to fulfill the specified optimization parameters.