Optimal Solution of Scheduling Problems Using Lagrange Multipliers: Part I | Synapse