Assessment of mathematical programming and agent-based modelling for off-line scheduling: Application to energy aware manufacturing