1. A method of managing the energy consumed by an automotive vehicle, for a given route between a point of departure A and a point of arrival B, wherein said method uses at least: a simulation unit implemented by an onboard computer incorporating a vehicle model predicting a behavior of said vehicle and a driver model predicting a behavior of the driver of said vehicle, said driver model receiving at its input a speed setpoint to be attained and a speed of said vehicle measured at successive instants, and supplying a motor torque setpoint to said vehicle model which is a function of said speeds and of the modelled driver behavior; and an optimization algorithm implemented by the onboard computer interacting with said simulation unit; said method including a set of trajectories composed of a trajectory of said speed setpoint and at least a trajectory of a setpoint for controlling an item of auxiliary equipment, the trajectory of a setpoint describing a variation of said setpoint as a function of a position of the vehicle, said trajectories being calculated with respect to given objectives according to said optimization algorithm whose variables are formed from said setpoints, said method including a preliminary step comprising: a sub-step of storing an approximate profile of said route in a form of segments of straight lines in the onboard computer, forming a first sequences of sampled positions XL(k) along the route, a sampled position XL(k) corresponding to a movement from one segment to the next segment; and a sub-step of sampling with the onboard computer said profile according to a spatial interval Xe, forming a second sequence of sampled positions Xe(j) along the route, the sampled positions Xe(j) being located within the segments; wherein the trajectories of said setpoints being recalculated with the onboard computer at each sampled position XL(k) of the first sequence according to the optimization algorithm, a simulation predicting the energy environment of the vehicle and the behavior of said driver up to the point of arrival B as a function of said setpoints and at least of the approximate profile of the remaining route, the optimization algorithm recognizing the result of the simulation for a calculation of the trajectories of said setpoints, said driver model being a speed corrector of a proportional integral (PID) type, including a correction representative of an anticipatory action of the driver in response to a type of event.