Scheduling Problem Optimisation using LP solvers
Yes, your program can be modelled as an integer linear programming (ILP) instance, and yes, Gurobi is an ILP solver and can be used to solve your problem once you express it as ILP.  I suggest you spend some quality time with a textbook that describes linear programming and integer linear programming.