A model for resources scheduling and optimisation based on Linear Scheduling Method